diff --git a/vector/src/main/res/layout/activity.xml b/vector/src/main/res/layout/activity.xml index f403fcff82..19b058a7aa 100644 --- a/vector/src/main/res/layout/activity.xml +++ b/vector/src/main/res/layout/activity.xml @@ -13,7 +13,6 @@ android:id="@+id/toolbar" 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_bug_report.xml b/vector/src/main/res/layout/activity_bug_report.xml index 69d4d11862..241577265e 100644 --- a/vector/src/main/res/layout/activity_bug_report.xml +++ b/vector/src/main/res/layout/activity_bug_report.xml @@ -9,8 +9,7 @@ + android:layout_height="wrap_content" /> diff --git a/vector/src/main/res/layout/activity_filtered_rooms.xml b/vector/src/main/res/layout/activity_filtered_rooms.xml index 310ad2bfa4..7c99a2992d 100644 --- a/vector/src/main/res/layout/activity_filtered_rooms.xml +++ b/vector/src/main/res/layout/activity_filtered_rooms.xml @@ -13,7 +13,6 @@ android:id="@+id/filteredRoomsToolbar" android:layout_width="0dp" android:layout_height="?attr/actionBarSize" - android:elevation="4dp" app:contentInsetStart="0dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/activity_search.xml b/vector/src/main/res/layout/activity_search.xml index cba8b01f34..5ccfdcc96b 100644 --- a/vector/src/main/res/layout/activity_search.xml +++ b/vector/src/main/res/layout/activity_search.xml @@ -13,7 +13,6 @@ android:id="@+id/searchToolbar" android:layout_width="0dp" android:layout_height="?attr/actionBarSize" - android:elevation="4dp" app:contentInsetStart="0dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/activity_vector_settings.xml b/vector/src/main/res/layout/activity_vector_settings.xml index ecd53171af..5edc2ce808 100755 --- a/vector/src/main/res/layout/activity_vector_settings.xml +++ b/vector/src/main/res/layout/activity_vector_settings.xml @@ -1,5 +1,6 @@ @@ -9,13 +10,14 @@ android:layout_height="match_parent" android:orientation="vertical"> - + + tools:navigationIcon="@drawable/ic_back_24dp" + tools:title="Title" /> diff --git a/vector/src/main/res/layout/fragment_attachments_preview.xml b/vector/src/main/res/layout/fragment_attachments_preview.xml index 2eeffb65e1..f6a6e4360f 100644 --- a/vector/src/main/res/layout/fragment_attachments_preview.xml +++ b/vector/src/main/res/layout/fragment_attachments_preview.xml @@ -20,6 +20,7 @@ android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="#40000000" + android:elevation="0dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" diff --git a/vector/src/main/res/layout/fragment_contacts_book.xml b/vector/src/main/res/layout/fragment_contacts_book.xml index b4248514eb..25ed53382a 100644 --- a/vector/src/main/res/layout/fragment_contacts_book.xml +++ b/vector/src/main/res/layout/fragment_contacts_book.xml @@ -14,7 +14,6 @@ android:id="@+id/phoneBookToolbar" android:layout_width="0dp" android:layout_height="?actionBarSize" - android:elevation="4dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml b/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml index 574a191e55..e768b2a829 100644 --- a/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml +++ b/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml @@ -14,7 +14,6 @@ android:id="@+id/createRoomToolbar" android:layout_width="0dp" android:layout_height="?actionBarSize" - android:elevation="4dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/layout/fragment_create_room.xml b/vector/src/main/res/layout/fragment_create_room.xml index 6288273d8c..80c6312c78 100644 --- a/vector/src/main/res/layout/fragment_create_room.xml +++ b/vector/src/main/res/layout/fragment_create_room.xml @@ -15,7 +15,6 @@ android:id="@+id/createRoomToolbar" android:layout_width="0dp" android:layout_height="?actionBarSize" - android:elevation="4dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/layout/fragment_home_detail.xml b/vector/src/main/res/layout/fragment_home_detail.xml index 7ddffb2a77..df21c6af80 100644 --- a/vector/src/main/res/layout/fragment_home_detail.xml +++ b/vector/src/main/res/layout/fragment_home_detail.xml @@ -10,7 +10,6 @@ android:id="@+id/groupToolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:elevation="4dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/layout/fragment_login_web.xml b/vector/src/main/res/layout/fragment_login_web.xml index 46a3796e22..116b341006 100644 --- a/vector/src/main/res/layout/fragment_login_web.xml +++ b/vector/src/main/res/layout/fragment_login_web.xml @@ -10,7 +10,6 @@ android:id="@+id/loginWebToolbar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:elevation="4dp" tools:subtitle="https://www.example.org" tools:title="@string/auth_login" /> diff --git a/vector/src/main/res/layout/fragment_public_rooms.xml b/vector/src/main/res/layout/fragment_public_rooms.xml index 2569a8a092..99a6a25e88 100644 --- a/vector/src/main/res/layout/fragment_public_rooms.xml +++ b/vector/src/main/res/layout/fragment_public_rooms.xml @@ -24,7 +24,6 @@ android:id="@+id/publicRoomsToolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:elevation="4dp" android:minHeight="0dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/fragment_recyclerview_with_search.xml b/vector/src/main/res/layout/fragment_recyclerview_with_search.xml index f40c4352d9..a379e7bb9d 100644 --- a/vector/src/main/res/layout/fragment_recyclerview_with_search.xml +++ b/vector/src/main/res/layout/fragment_recyclerview_with_search.xml @@ -26,7 +26,6 @@ android:id="@+id/addRoomToSpaceToolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:elevation="4dp" android:minHeight="0dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/fragment_room_detail.xml b/vector/src/main/res/layout/fragment_room_detail.xml index ae7494894c..5c0c220aa6 100644 --- a/vector/src/main/res/layout/fragment_room_detail.xml +++ b/vector/src/main/res/layout/fragment_room_detail.xml @@ -10,7 +10,6 @@ android:id="@+id/roomToolbar" android:layout_width="0dp" android:layout_height="?actionBarSize" - android:elevation="4dp" android:transitionName="toolbar" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/fragment_room_directory_picker.xml b/vector/src/main/res/layout/fragment_room_directory_picker.xml index 28c3c4d184..17ff4c0c34 100644 --- a/vector/src/main/res/layout/fragment_room_directory_picker.xml +++ b/vector/src/main/res/layout/fragment_room_directory_picker.xml @@ -38,7 +38,6 @@ android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:elevation="4dp" app:layout_collapseMode="pin" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/fragment_room_preview_no_preview.xml b/vector/src/main/res/layout/fragment_room_preview_no_preview.xml index 2fd7644a76..f8e031694e 100644 --- a/vector/src/main/res/layout/fragment_room_preview_no_preview.xml +++ b/vector/src/main/res/layout/fragment_room_preview_no_preview.xml @@ -14,8 +14,7 @@ + android:layout_height="?actionBarSize"> diff --git a/vector/src/main/res/layout/fragment_room_uploads.xml b/vector/src/main/res/layout/fragment_room_uploads.xml index 3c598a2ac2..332b4f7558 100644 --- a/vector/src/main/res/layout/fragment_room_uploads.xml +++ b/vector/src/main/res/layout/fragment_room_uploads.xml @@ -18,7 +18,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/transparent" - android:elevation="4dp" app:layout_collapseMode="pin"> diff --git a/vector/src/main/res/layout/fragment_user_directory.xml b/vector/src/main/res/layout/fragment_user_directory.xml index d8bb517685..601ec21198 100644 --- a/vector/src/main/res/layout/fragment_user_directory.xml +++ b/vector/src/main/res/layout/fragment_user_directory.xml @@ -14,7 +14,6 @@ android:id="@+id/userDirectoryToolbar" android:layout_width="0dp" android:layout_height="?actionBarSize" - android:elevation="4dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/layout/fragment_user_list.xml b/vector/src/main/res/layout/fragment_user_list.xml index 9b4b19ca7f..028ab4fb8d 100644 --- a/vector/src/main/res/layout/fragment_user_list.xml +++ b/vector/src/main/res/layout/fragment_user_list.xml @@ -13,7 +13,6 @@ android:id="@+id/userListToolbar" android:layout_width="0dp" android:layout_height="?actionBarSize" - android:elevation="4dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/values/colors.xml b/vector/src/main/res/values/colors.xml index 385f367873..951ffedbac 100644 --- a/vector/src/main/res/values/colors.xml +++ b/vector/src/main/res/values/colors.xml @@ -42,6 +42,9 @@ @color/element_background_dark @color/element_system_dark + + + diff --git a/vector/src/main/res/values/styles_riot.xml b/vector/src/main/res/values/styles_riot.xml index 56f7f95d87..f5b39c2c74 100644 --- a/vector/src/main/res/values/styles_riot.xml +++ b/vector/src/main/res/values/styles_riot.xml @@ -3,14 +3,6 @@ - - - - - - - - - @@ -74,40 +52,6 @@ 0dp - - - - - - - - - - - - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vector/src/main/res/values/theme_black.xml b/vector/src/main/res/values/theme_black.xml index cb7381843f..e0df15b65b 100644 --- a/vector/src/main/res/values/theme_black.xml +++ b/vector/src/main/res/values/theme_black.xml @@ -20,6 +20,7 @@ @color/vctr_reaction_background_off_black @color/vctr_reaction_background_on_black #FF4D4D4D + @color/element_background_black @android:color/black diff --git a/vector/src/main/res/values/theme_dark.xml b/vector/src/main/res/values/theme_dark.xml index 040e73501a..3904ac5b45 100644 --- a/vector/src/main/res/values/theme_dark.xml +++ b/vector/src/main/res/values/theme_dark.xml @@ -32,6 +32,7 @@ @color/vctr_bottom_nav_icon_color_dark @color/vctr_waiting_background_color_dark @color/vctr_chat_effect_snow_background_dark + @color/element_system_dark #61708B @@ -65,7 +66,7 @@ @style/VectorButtonStyle - @style/VectorToolbarStyle + @style/VectorToolbar @style/VectorAlertDialogStyleDark @@ -89,13 +90,6 @@ sans - - @style/Vector.Styled.ActionBar - @style/Vector.Styled.ActionBar - - - @style/Vector.ActionBarTheme - @null diff --git a/vector/src/main/res/values/theme_light.xml b/vector/src/main/res/values/theme_light.xml index 9469b0f5e6..61e7242c94 100644 --- a/vector/src/main/res/values/theme_light.xml +++ b/vector/src/main/res/values/theme_light.xml @@ -32,6 +32,7 @@ @color/vctr_bottom_nav_icon_color_light @color/vctr_waiting_background_color_light @color/vctr_chat_effect_snow_background_light + @color/element_background_light #61708B @@ -65,7 +66,7 @@ @style/VectorButtonStyle - @style/VectorToolbarStyle + @style/VectorToolbar @style/VectorAlertDialogStyleLight @@ -89,13 +90,6 @@ sans - - @style/Vector.Styled.ActionBar - @style/Vector.Styled.ActionBar - - - @style/Vector.ActionBarTheme - @null