Add foreground attribute

This commit is contained in:
Benoit Marty 2019-06-10 15:35:05 +02:00
parent 933e06a7ef
commit 4eab0a3704
6 changed files with 7 additions and 1 deletions

View File

@ -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">

<TextView

View File

@ -3,6 +3,7 @@
android:id="@+id/itemNoResultText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?riotx_background"
android:gravity="center"
android:padding="16dp"
android:text="@string/no_result_placeholder" />

View File

@ -9,6 +9,7 @@
android:background="?riotx_background"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
android:minHeight="97dp">

<ImageView

View File

@ -7,7 +7,8 @@
android:layout_height="wrap_content"
android:background="?riotx_background"
android:clickable="true"
android:focusable="true">
android:focusable="true"
android:foreground="?attr/selectableItemBackground">

<ImageView
android:id="@+id/roomAvatarImageView"

View File

@ -13,6 +13,7 @@
android:paddingLeft="@dimen/layout_horizontal_margin"
android:paddingTop="@dimen/layout_vertical_margin"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:foreground="?attr/selectableItemBackground"
android:paddingRight="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">


View File

@ -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">