From 4eab0a3704ab438dc5d59b7c3b648c2aa1b4cfcf Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 10 Jun 2019 15:35:05 +0200 Subject: [PATCH] Add foreground attribute --- vector/src/main/res/layout/item_error_retry.xml | 1 + vector/src/main/res/layout/item_no_result.xml | 1 + vector/src/main/res/layout/item_public_room.xml | 1 + vector/src/main/res/layout/item_room.xml | 3 ++- vector/src/main/res/layout/item_room_category.xml | 1 + vector/src/main/res/layout/item_room_directory.xml | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/vector/src/main/res/layout/item_error_retry.xml b/vector/src/main/res/layout/item_error_retry.xml index dd3eb0a4..f49beaea 100644 --- a/vector/src/main/res/layout/item_error_retry.xml +++ b/vector/src/main/res/layout/item_error_retry.xml @@ -5,6 +5,7 @@ android:id="@+id/progressBar" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?riotx_background" android:padding="16dp"> diff --git a/vector/src/main/res/layout/item_public_room.xml b/vector/src/main/res/layout/item_public_room.xml index 6970e100..5c28baad 100644 --- a/vector/src/main/res/layout/item_public_room.xml +++ b/vector/src/main/res/layout/item_public_room.xml @@ -9,6 +9,7 @@ android:background="?riotx_background" android:clickable="true" android:focusable="true" + android:foreground="?attr/selectableItemBackground" android:minHeight="97dp"> + android:focusable="true" + android:foreground="?attr/selectableItemBackground"> diff --git a/vector/src/main/res/layout/item_room_directory.xml b/vector/src/main/res/layout/item_room_directory.xml index 6babf515..64679f7b 100644 --- a/vector/src/main/res/layout/item_room_directory.xml +++ b/vector/src/main/res/layout/item_room_directory.xml @@ -6,6 +6,7 @@ android:id="@+id/itemRoomDirectoryLayout" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?riotx_background" android:clickable="true" android:focusable="true" android:foreground="?attr/selectableItemBackground">