Created
November 25, 2016 15:06
-
-
Save pbednarz/2dea025c4a368aa9675b6b8e8edcd0c4 to your computer and use it in GitHub Desktop.
Revisions
-
pbednarz created this gist
Nov 25, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" android:enterFadeDuration="200" android:exitFadeDuration="200"> <item android:state_pressed="true"> <shape android:shape="rectangle"> <corners android:radius="5dp"/> <solid android:color="@color/selected_blue"/> <stroke android:width="2dp" android:color="@color/selected_blue"/> </shape> </item> <item> <shape android:shape="rectangle"> <corners android:radius="5dp"/> <solid android:color="@color/transparent"/> <stroke android:width="2dp" android:color="@color/blue"/> </shape> </item> </selector>