From c0f92f024dbab0ddc789a7f02db28bda7aa8c825 Mon Sep 17 00:00:00 2001 From: Alpar Szotyori Date: Tue, 6 Feb 2024 11:23:37 +0100 Subject: [PATCH 01/10] feat(health-sdk): Update example app icon and main screen Fix example app's main screen to show all content in landscape and fix colors of the page indicator which is shown after using the "Take Photo" button. IPC-108 --- .../src/main/res/drawable/dot_unselected.xml | 2 +- .../src/main/res/drawable/gini_logo.xml | 14 ++ .../src/main/res/layout/activity_main.xml | 180 ++++++++++++------ .../res/mipmap-anydpi-v26/ic_launcher.xml | 4 +- .../mipmap-anydpi-v26/ic_launcher_round.xml | 4 +- .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3593 -> 1984 bytes .../mipmap-hdpi/ic_launcher_foreground.png | Bin 0 -> 3173 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 5339 -> 3985 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2636 -> 1384 bytes .../mipmap-mdpi/ic_launcher_foreground.png | Bin 0 -> 1940 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 3388 -> 2530 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4926 -> 2886 bytes .../mipmap-xhdpi/ic_launcher_foreground.png | Bin 0 -> 4706 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 7472 -> 5846 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 7909 -> 4700 bytes .../mipmap-xxhdpi/ic_launcher_foreground.png | Bin 0 -> 8139 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 11873 -> 9516 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 10652 -> 6811 bytes .../mipmap-xxxhdpi/ic_launcher_foreground.png | Bin 0 -> 12149 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 16570 -> 14080 bytes .../src/main/res/values/colors.xml | 5 +- .../src/main/res/values/strings.xml | 4 +- .../src/main/res/values/styles.xml | 4 + 23 files changed, 148 insertions(+), 69 deletions(-) create mode 100644 health-sdk/example-app/src/main/res/drawable/gini_logo.xml create mode 100644 health-sdk/example-app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png create mode 100644 health-sdk/example-app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png create mode 100644 health-sdk/example-app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png create mode 100644 health-sdk/example-app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png create mode 100644 health-sdk/example-app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png diff --git a/health-sdk/example-app/src/main/res/drawable/dot_unselected.xml b/health-sdk/example-app/src/main/res/drawable/dot_unselected.xml index ea29e86649..da05cc5d85 100644 --- a/health-sdk/example-app/src/main/res/drawable/dot_unselected.xml +++ b/health-sdk/example-app/src/main/res/drawable/dot_unselected.xml @@ -7,7 +7,7 @@ android:shape="ring" android:thickness="@dimen/indicator_size" android:useLevel="false"> - + \ No newline at end of file diff --git a/health-sdk/example-app/src/main/res/drawable/gini_logo.xml b/health-sdk/example-app/src/main/res/drawable/gini_logo.xml new file mode 100644 index 0000000000..6629120b64 --- /dev/null +++ b/health-sdk/example-app/src/main/res/drawable/gini_logo.xml @@ -0,0 +1,14 @@ + + + + diff --git a/health-sdk/example-app/src/main/res/layout/activity_main.xml b/health-sdk/example-app/src/main/res/layout/activity_main.xml index ad592e6969..07e0f6946f 100644 --- a/health-sdk/example-app/src/main/res/layout/activity_main.xml +++ b/health-sdk/example-app/src/main/res/layout/activity_main.xml @@ -7,76 +7,132 @@ android:padding="@dimen/gc_medium" tools:context="net.gini.android.health.sdk.exampleapp.MainActivity"> - + app:layout_constraintTop_toTopOf="parent"> - + -