Fixing library selector

This commit is contained in:
Jay 2020-03-15 15:24:23 -07:00
parent 2e4af629c6
commit 7087e4ce9f
2 changed files with 8 additions and 9 deletions

View File

@ -2,20 +2,20 @@
<ripple xmlns:android="http://schemas.android.com/apk/res/android" <ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/fullRippleColor"> android:color="@color/fullRippleColor">
<item android:id="@android:id/mask" <item android:id="@android:id/mask"
android:top="4dp" android:top="6dp"
android:bottom="0dp" android:bottom="2dp"
android:left="2dp" android:left="6dp"
android:right="2dp"> android:right="6dp">
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<corners android:radius="4dp" /> <corners android:radius="4dp" />
<solid android:color="@color/fullRippleColor" /> <solid android:color="@color/fullRippleColor" />
</shape> </shape>
</item> </item>
<item <item
android:top="4dp" android:top="6dp"
android:bottom="0dp" android:bottom="2dp"
android:left="2dp" android:left="6dp"
android:right="2dp"> android:right="6dp">
<selector> <selector>
<item android:state_selected="true"> <item android:state_selected="true">
<shape android:shape="rectangle"> <shape android:shape="rectangle">

View File

@ -35,7 +35,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:foreground="?android:attr/selectableItemBackground"
android:background="?android:attr/colorBackground" android:background="?android:attr/colorBackground"
android:maxHeight="250dp" android:maxHeight="250dp"
tools:background="?android:attr/colorBackground" tools:background="?android:attr/colorBackground"