-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rohit Jindal
committed
Mar 17, 2016
1 parent
537f880
commit f6ac74c
Showing
32 changed files
with
292 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.payu.custombrowser" | ||
android:versionCode="12" | ||
android:versionName="5.3.7" > | ||
android:versionCode="13" | ||
android:versionName="6.0.0" > | ||
|
||
<uses-sdk | ||
android:minSdkVersion="9" | ||
android:targetSdkVersion="23" /> | ||
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | ||
<uses-permission | ||
android:name="android.permission.RECEIVE_SMS" | ||
android:protectionLevel="signature" /> | ||
|
||
<application> | ||
<activity | ||
android:name="com.payu.custombrowser.CBActivity" | ||
android:screenOrientation="portrait" | ||
android:windowSoftInputMode="stateAlwaysHidden" > | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
### Integration of Custom Browser (Latest version 5.3.6) | ||
|
||
Note: If you are using an older version of CB please update to the latest version 5.3.6 for improved performance and better success rates | ||
|
||
Visit the associated [**wiki**](https://github.com/payu-intrepos/Android-Custom-Browser/wiki/v5.2.2) for the latest documentation | ||
### Integration of Custom Browser (Latest version 6.0) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<set android:fillAfter="true"> | ||
|
||
<scale | ||
android:fromXScale="1.0" | ||
android:toXScale="1.0" | ||
android:fromYScale="1.0" | ||
android:toYScale="1.0" | ||
android:pivotX="50%" | ||
android:pivotY="50%" | ||
android:duration="100" | ||
android:repeatMode="reverse" | ||
android:repeatCount="infinite"/> | ||
<alpha | ||
android:fromAlpha="0.5" | ||
android:fillAfter="true" | ||
android:toAlpha="2.0" | ||
android:interpolator="@android:anim/accelerate_interpolator" | ||
android:duration="100" | ||
android:repeatMode="reverse" | ||
android:repeatCount="infinite"/> | ||
</set> | ||
|
||
|
||
</set><!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/anim/cb_animation.xml --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:fillEnabled="true" | ||
> | ||
<translate xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:interpolator="@android:anim/accelerate_interpolator" | ||
android:fromYDelta="0.0" | ||
android:toYDelta="70%" | ||
android:duration="500" /> | ||
|
||
</set><!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/anim/cb_translate.xml --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_enabled="false" android:color="@color/cb_otpDisabledTextColor" /> | ||
<item android:color="@android:color/white"/> | ||
</selector><!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/color/otp_approve_button_color.xml --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > | ||
|
||
<solid android:color="#59000000"/> | ||
<corners | ||
android:radius="0dp"/> | ||
</shape><!-- From: file:/Users/shoaib/projects/android-sdk-test-project/CustomBrowser/res/drawable/background_drawable.xml --> | ||
|
||
</shape><!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/drawable/background_drawable.xml --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,100 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" android:layout_width="wrap_content" | ||
android:layout_height="wrap_content"> | ||
<ImageView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:contentDescription="@string/cb_top_arrow" | ||
android:layout_gravity="center" | ||
android:id="@+id/arrow"/> | ||
<FrameLayout | ||
android:id="@+id/help_view" | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<WebView | ||
android:id="@+id/webview" | ||
android:focusable="true" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
|
||
<RelativeLayout | ||
<LinearLayout | ||
android:id="@+id/magic_retry_container" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_centerInParent="true" | ||
android:orientation="vertical"/> | ||
|
||
<ProgressBar | ||
android:id="@+id/cb_progressbar" | ||
style="@android:style/Widget.ProgressBar.Horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="4dp" | ||
android:layout_alignParentTop="true" | ||
android:max="100" | ||
android:progress="50" | ||
android:progressDrawable="@drawable/cb_progress_bar"> | ||
</ProgressBar> | ||
|
||
<LinearLayout | ||
android:id="@+id/trans_overlay" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@drawable/background_drawable" | ||
android:orientation="vertical"/> | ||
|
||
<LinearLayout | ||
android:id="@+id/parent" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:visibility="gone" | ||
android:id="@+id/view" | ||
android:background="@color/cb_background"> | ||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:layout_alignParentTop="true" | ||
android:background="@color/cb_border"/> | ||
<LinearLayout | ||
android:layout_alignParentBottom="true" | ||
android:orientation="vertical"> | ||
|
||
<ImageView | ||
android:id="@+id/arrow" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:contentDescription="@string/cb_top_arrow" | ||
android:layout_gravity="center" /> | ||
|
||
<FrameLayout | ||
android:id="@+id/help_view" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<RelativeLayout | ||
android:id="@+id/view" | ||
android:layout_width="match_parent" | ||
android:layout_height="30dp"> | ||
<TextView | ||
android:layout_height="wrap_content" | ||
android:background="@color/cb_background" | ||
android:orientation="vertical" | ||
android:visibility="gone"> | ||
|
||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textColor="@color/cb_textColor" | ||
android:textSize="@dimen/cb_sixteenScaled" | ||
android:layout_marginTop="@dimen/cb_eight" | ||
android:layout_marginBottom="@dimen/cb_eight" | ||
android:drawableTop="@drawable/slider" | ||
android:gravity="center"/> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> | ||
</LinearLayout><!-- From: file:/Users/shoaib/projects/android-sdk-test-project/CustomBrowser/res/layout/bank.xml --> | ||
|
||
android:layout_height="1dp" | ||
android:layout_alignParentTop="true" | ||
android:background="@color/cb_border" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="30dp"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="@dimen/cb_eight" | ||
android:layout_marginTop="@dimen/cb_eight" | ||
android:drawableTop="@drawable/slider" | ||
android:gravity="center" | ||
android:textColor="@color/cb_textColor" | ||
android:textSize="@dimen/cb_sixteenScaled" /> | ||
</LinearLayout> | ||
|
||
<!-- <ImageView | ||
android:layout_gravity="right|center_vertical" | ||
android:padding="5dp" | ||
android:layout_height="30dp" | ||
android:layout_width="30dp" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerHorizontal="true" | ||
android:src="@drawable/arrow_cb"> | ||
</ImageView>--> | ||
|
||
</RelativeLayout> | ||
</LinearLayout> | ||
</RelativeLayout> | ||
<!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/layout/bank.xml --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
<ImageView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:contentDescription="@string/cb_top_arrow" | ||
android:layout_gravity="center" | ||
android:id="@+id/arrow"/> | ||
<FrameLayout | ||
android:id="@+id/help_view" | ||
android:visibility="visible" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
|
||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:visibility="gone" | ||
android:id="@+id/view" | ||
android:background="@color/cb_background"> | ||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:layout_alignParentTop="true" | ||
android:background="@color/cb_border"/> | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="30dp"> | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textColor="@color/cb_textColor" | ||
android:textSize="@dimen/cb_sixteenScaled" | ||
android:layout_marginTop="@dimen/cb_eight" | ||
android:layout_marginBottom="@dimen/cb_eight" | ||
android:drawableTop="@drawable/slider" | ||
android:gravity="center"/> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> | ||
</LinearLayout><!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/layout/bankold.xml --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!--<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent">--> | ||
|
||
<FrameLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/main_frame" | ||
android:visibility="visible" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"/> | ||
|
||
|
||
<!-- <WebView | ||
android:id="@+id/webview" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"/>--> | ||
<!-- | ||
</RelativeLayout>--> | ||
<!-- From: file:/Users/Minie/AndroidStudioProjects/AndroidStudioProjects/Analytics_merged/Analytics/android-sdk-test-project/CustomBrowser/res/layout/cb_payments.xml --> |
Oops, something went wrong.