From 53dd9c34273ed4c02fa689c44d2d30c1fdbfe734 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 11 Jun 2019 16:48:48 +0200 Subject: [PATCH] Keys backup fix some issue on layout --- .../core/ui/list/GenericItemViewHolder.kt | 2 +- vector/src/main/res/layout/activity.xml | 2 ++ vector/src/main/res/layout/activity_login.xml | 7 +++---- .../main/res/layout/dialog_export_e2e_keys.xml | 8 ++++++-- .../main/res/layout/dialog_import_e2e_keys.xml | 6 ++++-- .../fragment_keys_backup_restore_from_key.xml | 9 +++++---- ...ment_keys_backup_restore_from_passphrase.xml | 10 ++++++---- .../fragment_keys_backup_restore_success.xml | 8 ++++---- .../layout/fragment_keys_backup_settings.xml | 2 +- .../layout/fragment_keys_backup_setup_step1.xml | 17 +++++++++++++---- .../layout/fragment_keys_backup_setup_step2.xml | 11 ++++++++--- .../layout/fragment_keys_backup_setup_step3.xml | 10 +++++++--- .../fragment_sas_verification_display_code.xml | 8 +++++--- ...agment_sas_verification_incoming_request.xml | 10 ++++++++-- .../layout/fragment_sas_verification_start.xml | 13 ++++++------- .../fragment_sas_verification_verified.xml | 5 ++++- ...ment_settings_notifications_troubleshoot.xml | 5 +++-- vector/src/main/res/layout/item_error_retry.xml | 3 ++- .../src/main/res/layout/item_generic_list.xml | 14 +++++--------- .../item_keys_backup_settings_button_footer.xml | 4 ++-- .../layout/item_notification_troubleshoot.xml | 4 +++- .../src/main/res/layout/vector_invite_view.xml | 4 ++-- .../src/main/res/layout/view_button_state.xml | 2 +- .../main/res/layout/view_keys_backup_banner.xml | 3 ++- vector/src/main/res/layout/view_state.xml | 5 +++-- vector/src/main/res/values/text_appearances.xml | 4 ++-- 26 files changed, 108 insertions(+), 68 deletions(-) diff --git a/vector/src/main/java/im/vector/riotredesign/core/ui/list/GenericItemViewHolder.kt b/vector/src/main/java/im/vector/riotredesign/core/ui/list/GenericItemViewHolder.kt index ca8f1c10a5..a083d7e97b 100644 --- a/vector/src/main/java/im/vector/riotredesign/core/ui/list/GenericItemViewHolder.kt +++ b/vector/src/main/java/im/vector/riotredesign/core/ui/list/GenericItemViewHolder.kt @@ -63,7 +63,7 @@ class GenericItemViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) titleText.text = item.title when (item.style) { - GenericRecyclerViewItem.STYLE.BIG_TEXT -> titleText.textSize = 18f + GenericRecyclerViewItem.STYLE.BIG_TEXT -> titleText.textSize = 18f GenericRecyclerViewItem.STYLE.NORMAL_TEXT -> titleText.textSize = 14f } diff --git a/vector/src/main/res/layout/activity.xml b/vector/src/main/res/layout/activity.xml index 56bad419d8..9a5c32e4f2 100644 --- a/vector/src/main/res/layout/activity.xml +++ b/vector/src/main/res/layout/activity.xml @@ -10,6 +10,7 @@ style="@style/VectorToolbarStyle" android:layout_width="match_parent" android:layout_height="wrap_content" + android:elevation="4dp" app:layout_constraintTop_toTopOf="parent" /> diff --git a/vector/src/main/res/layout/activity_login.xml b/vector/src/main/res/layout/activity_login.xml index fa5bed90b3..164c3097fc 100644 --- a/vector/src/main/res/layout/activity_login.xml +++ b/vector/src/main/res/layout/activity_login.xml @@ -111,15 +111,14 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" /> -