mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Change item background according to the theme (#3480)
* Change item background according to the theme * Change background colour of item on being selected * Change background colors using XML selectors
This commit is contained in:
parent
81c7281d3a
commit
34a016d49d
5 changed files with 28 additions and 10 deletions
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@color/opak_middle_grey" />
|
||||
<item android:drawable="@color/black" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@color/divider_grey" />
|
||||
<item android:drawable="@color/white" />
|
||||
</selector>
|
||||
Loading…
Add table
Add a link
Reference in a new issue