Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MerchantConnector example app
- Loading branch information
Matt Willson
committed
Nov 29, 2018
1 parent
bfd5c9e
commit 73087e5
Showing
16 changed files
with
106 additions
and
152 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
merchantexample/MerchantExample/src/main/res/layout/activity_main.xml
This file was deleted.
Oops, something went wrong.
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,37 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
repositories { | ||
jcenter() | ||
google() | ||
} | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
google() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.3.0' | ||
classpath 'com.android.tools.build:gradle:3.2.1' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 27 | ||
buildToolsVersion '22.0.1' | ||
|
||
defaultConfig { | ||
minSdkVersion 17 | ||
targetSdkVersion 27 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.clover.sdk:clover-android-sdk:210.1' | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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,75 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:padding="16dp" | ||
android:orientation="vertical" | ||
android:background="@android:color/white" | ||
tools:context="com.clover.example.merchantexample.MainActivity"> | ||
|
||
<ProgressBar | ||
android:id="@+id/progressBar" | ||
android:layout_width="wrap_content" | ||
android:layout_height="fill_parent" | ||
android:layout_gravity="center"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_name" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_id" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_address1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_address2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_address3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_city" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_state" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_zip" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_country" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
|
||
<TextView | ||
android:id="@+id/merchant_phone" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
style="@android:style/TextAppearance.DeviceDefault.Medium.Inverse"/> | ||
</LinearLayout> |
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