This repository was archived by the owner on May 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-6
lines changed
material_preferences_library/src/main/res Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change
1
+ <ripple
2
+ xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ android : color =" #a5a5a5" >
4
+ <item >
5
+ <shape
6
+ android : shape =" rectangle" >
7
+ <solid android : color =" @android:color/transparent" />
8
+ </shape >
9
+ </item >
10
+ </ripple >
Original file line number Diff line number Diff line change 1
- <ripple
2
- xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : tools =" http://schemas.android.com/tools"
4
- android : color =" #a5a5a5"
5
- tools : targetApi =" lollipop" >
1
+ <selector
2
+ xmlns : android =" http://schemas.android.com/apk/res/android" >
6
3
<item >
7
4
<shape
8
5
android : shape =" rectangle" >
9
6
<solid android : color =" @android:color/transparent" />
10
7
</shape >
11
8
</item >
12
- </ripple >
9
+ <item android : state_pressed =" true" >
10
+ <shape
11
+ android : shape =" rectangle" >
12
+ <solid android : color =" @android:color/transparent" />
13
+ </shape >
14
+ </item >
15
+ <item android : state_focused =" true" >
16
+ <shape
17
+ android : shape =" rectangle" >
18
+ <solid android : color =" @android:color/transparent" />
19
+ </shape >
20
+ </item >
21
+ </selector >
You can’t perform that action at this time.
0 commit comments