-
Notifications
You must be signed in to change notification settings - Fork 18
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
Showing
34 changed files
with
140 additions
and
40 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
app/src/main/kotlin/de/bigboot/watch4payswitch/AccessibilityService.kt
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
4 changes: 2 additions & 2 deletions
4
app/src/main/kotlin/de/bigboot/watch4payswitch/MainActivity.kt
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
4 changes: 2 additions & 2 deletions
4
app/src/main/kotlin/de/bigboot/watch4payswitch/SelectPredefinedAdapter.kt
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
9 changes: 9 additions & 0 deletions
9
app/src/main/res/drawable/activity_select_predefined_item_background.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,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:top="-2dp" android:left="-2dp" android:right="-2dp"> | ||
<shape android:shape="rectangle"> | ||
<stroke android:width="1dp" android:color="#BFBFBF" /> | ||
<solid android:color="#00000000" /> | ||
</shape> | ||
</item> | ||
</layer-list> |
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,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector | ||
android:height="108dp" | ||
android:width="108dp" | ||
android:viewportHeight="108" | ||
android:viewportWidth="108" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="#2a9af3" | ||
android:pathData="M0,0h108v108h-108z"/> | ||
</vector> |
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,18 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="108dp" | ||
android:height="108dp" | ||
android:viewportWidth="108" | ||
android:viewportHeight="108"> | ||
<path | ||
android:pathData="m 34.769738,35.694011 -1.450214,8.741522 C 30.482163,46.66271 28.667741,50.110068 28.667741,54 c 0,3.874677 1.814422,7.33729 4.651783,9.564466 l 1.450214,8.741523 h 12.202605 l 1.450212,-8.741523 c 1.067745,-0.838122 1.989572,-1.851995 2.725568,-2.996182 l 0.313634,0.133226 c 0.368442,0.155948 0.790507,-0.01458 0.946455,-0.383023 l 0.849311,-2.008094 c 0.155949,-0.368442 -0.01458,-0.790506 -0.383022,-0.946454 L 52.628866,57.259856 C 52.917514,56.221129 53.074338,55.129053 53.074338,54 c 0,-1.283652 -0.200743,-2.518226 -0.567595,-3.677574 l 0.202614,-0.0902 c 0.365145,-0.163519 0.527112,-0.588248 0.363594,-0.953394 L 52.182006,47.288775 C 52.018489,46.92363 51.593758,46.761662 51.228613,46.925181 l -0.324737,0.145715 c -0.692955,-0.995774 -1.526862,-1.886163 -2.481321,-2.635363 l -1.450212,-8.741522 z m 6.101996,9.1523 A 9.1527802,9.1527802 0 0 1 50.024034,54 9.1527802,9.1527802 0 0 1 40.871734,63.1523 9.1527802,9.1527802 0 0 1 31.718045,54 9.1527802,9.1527802 0 0 1 40.871734,44.846311 Z" | ||
android:fillColor="#FFFFFF" | ||
android:fillType="nonZero" | ||
android:strokeWidth="1" | ||
android:strokeColor="#00000000"/> | ||
<path | ||
android:pathData="m 74.75467,56.752716 4.577588,3.424925 -4.577588,3.423349 V 61.679096 H 70.2692 c -1.829776,0 -3.469016,-0.821194 -4.576801,-2.111643 -1.108574,1.290449 -2.747813,2.111643 -4.577589,2.111643 h -5.808199 v -3.149355 h 5.806625 c 1.594361,0 2.892683,-1.296748 2.892683,-2.892684 v -2.680889 c 0,-1.593574 -1.297535,-2.891109 -2.892683,-2.891109 h -5.806625 v -3.149355 h 5.806625 c 1.830562,0 3.469802,0.821194 4.577588,2.110856 1.108573,-1.289662 2.747813,-2.110856 4.577588,-2.110856 h 4.483896 v -1.626643 l 4.577588,3.424925 -4.577588,3.424924 v -2.073063 h -4.483896 c -1.594361,0 -2.892683,1.296747 -2.892683,2.891109 v 2.681676 c 0,1.593574 1.29596,2.892683 2.892683,2.892683 h 4.483896 v -1.777811 h 0.0024 z" | ||
android:fillColor="#FFFFFF" | ||
android:fillType="nonZero" | ||
android:strokeWidth="1" | ||
android:strokeColor="#00000000"/> | ||
</vector> |
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,5 @@ | ||
<vector android:height="12dp" | ||
<vector android:height="12dp" android:tint="#FFFFFF" | ||
android:viewportHeight="24" android:viewportWidth="24" | ||
android:width="12dp" xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="#ffffff" android:pathData="M18,2H6c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z"/> | ||
<path android:fillColor="@android:color/white" android:pathData="M17,3H7c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3V5c0,-1.1 -0.9,-2 -2,-2z"/> | ||
</vector> |
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,14 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<androidx.wear.widget.BoxInsetLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".SelectPredefinedActivity"> | ||
tools:context=".SelectPredefinedActivity" | ||
android:padding="@dimen/box_inset_layout_padding" | ||
tools:deviceIds="wear"> | ||
|
||
<androidx.wear.widget.WearableRecyclerView | ||
android:id="@+id/recycler_view" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:accessibilityHeading="false" /> | ||
</FrameLayout> | ||
</androidx.wear.widget.BoxInsetLayout> |
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,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/ic_launcher_adaptive_back"/> | ||
<foreground android:drawable="@mipmap/ic_launcher_adaptive_fore"/> | ||
<background android:drawable="@drawable/ic_launcher_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | ||
</adaptive-icon> |
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@drawable/ic_launcher_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | ||
</adaptive-icon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,25 +1,23 @@ | ||
<resources> | ||
<string name="app_name">Watch 4 PaySwitch</string> | ||
<string name="app_name">GW4 Remap</string> | ||
|
||
<string name="accessibility_service_label">Watch 4 PaySwitch</string> | ||
<string name="accessibility_service_description">Watch 4 PaySwitch Service</string> | ||
<string name="accessibility_service_enabled">Watch 4 PaySwitch enabled</string> | ||
<string name="accessibility_service_label">GW4 Remap</string> | ||
<string name="accessibility_service_description">GW4 Remap Service</string> | ||
<string name="accessibility_service_enabled">GW4 Remap enabled</string> | ||
|
||
<string name="activity_rules">Rules</string> | ||
<string name="add_rule">Add rule</string> | ||
<string name="predefined_sources">Predefined sources</string> | ||
<string name="predefined_targets">Predefined targets</string> | ||
|
||
<string name="source_package_name">com.samsung.android.samsungpay.gear</string> | ||
<string name="target_package_name">com.google.android.apps.walletnfcrel</string> | ||
<string name="target_activity">com.google.commerce.tapandpay.android.wearable.cardlist.WearPayActivity</string> | ||
|
||
<string name="target_google_pay">Google Pay</string> | ||
<string name="target_google_assistant_go">Google Assistant Go</string> | ||
<string name="target_ultimate_alexa">Ultimate Alexa</string> | ||
|
||
<string name="source_samsung_pay">Samsung Pay</string> | ||
<string name="source_bixby">Bixby</string> | ||
<string name="source_power_menu">Power Menu</string> | ||
|
||
<string name="activity_source">Source</string> | ||
<string name="activity_target">Target</string> | ||
</resources> |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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