From 0be1b15346d7b274d6be32a109e5ab2cae3411f9 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 9 Sep 2020 18:53:05 +0200 Subject: [PATCH] Set icons for TAN image size and flicker code frequency, reduced label 'Geschwindigkeit' zu 'Geschw.' --- .../android/views/ChipTanFlickerCodeView.kt | 4 ++-- .../ic_baseline_directions_run_24.xml | 10 ++++++++ .../ic_baseline_directions_walk_24.xml | 10 ++++++++ .../res/drawable/ic_baseline_pause_24.xml | 10 ++++++++ .../drawable/ic_baseline_play_arrow_24.xml | 10 ++++++++ .../res/drawable/ic_baseline_zoom_in_24.xml | 13 +++++++++++ .../res/drawable/ic_baseline_zoom_out_24.xml | 10 ++++++++ .../src/main/res/layout/view_flicker_code.xml | 17 +++++++------- .../layout/view_tan_image_size_controls.xml | 23 ++++++++++--------- .../src/main/res/values-de/strings.xml | 6 +---- .../src/main/res/values/strings.xml | 4 ---- 11 files changed, 87 insertions(+), 30 deletions(-) create mode 100644 ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_run_24.xml create mode 100644 ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_walk_24.xml create mode 100644 ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_pause_24.xml create mode 100644 ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_play_arrow_24.xml create mode 100644 ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_in_24.xml create mode 100644 ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_out_24.xml diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/views/ChipTanFlickerCodeView.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/views/ChipTanFlickerCodeView.kt index f3f6b489..bb01f0e3 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/views/ChipTanFlickerCodeView.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/views/ChipTanFlickerCodeView.kt @@ -200,11 +200,11 @@ open class ChipTanFlickerCodeView @JvmOverloads constructor( open fun togglePauseFlickerCode() { if (isFlickerCodePaused == false) { animator.pause() - btnPauseFlickerCode.setImageResource(android.R.drawable.ic_media_play) + btnPauseFlickerCode.setImageResource(R.drawable.ic_baseline_play_arrow_24) } else { animator.resume() - btnPauseFlickerCode.setImageResource(android.R.drawable.ic_media_pause) + btnPauseFlickerCode.setImageResource(R.drawable.ic_baseline_pause_24) } isFlickerCodePaused = !!! isFlickerCodePaused diff --git a/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_run_24.xml b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_run_24.xml new file mode 100644 index 00000000..160dd540 --- /dev/null +++ b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_run_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_walk_24.xml b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_walk_24.xml new file mode 100644 index 00000000..0be5a50d --- /dev/null +++ b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_directions_walk_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_pause_24.xml b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_pause_24.xml new file mode 100644 index 00000000..13d6d2ec --- /dev/null +++ b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_pause_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_play_arrow_24.xml b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_play_arrow_24.xml new file mode 100644 index 00000000..13c137a9 --- /dev/null +++ b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_play_arrow_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_in_24.xml b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_in_24.xml new file mode 100644 index 00000000..3149411a --- /dev/null +++ b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_in_24.xml @@ -0,0 +1,13 @@ + + + + diff --git a/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_out_24.xml b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_out_24.xml new file mode 100644 index 00000000..22c3cd03 --- /dev/null +++ b/ui/BankingAndroidApp/src/main/res/drawable/ic_baseline_zoom_out_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/BankingAndroidApp/src/main/res/layout/view_flicker_code.xml b/ui/BankingAndroidApp/src/main/res/layout/view_flicker_code.xml index 5c8eee1d..b467ac79 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/view_flicker_code.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/view_flicker_code.xml @@ -1,6 +1,7 @@ -