Loading app/src/main/res/drawable-v21/grid_item_background_selector.xml 0 → 100644 +19 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted"> <!-- :selected --> <item> <selector> <item android:state_selected="true"> <color android:color="@color/bg_highlighted" /> </item> <item android:state_activated="true"> <color android:color="@color/bg_highlighted" /> </item> <item> <color android:color="@android:color/transparent" /> </item> </selector> </item> </ripple> No newline at end of file app/src/main/res/drawable-v21/list_item_background_selector.xml +0 −2 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted"> <!-- :selected --> <item> <selector> <item android:state_selected="true"> Loading app/src/main/res/drawable/grid_item_background_selector.xml 0 → 100644 +6 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- :selected --> <item android:drawable="@color/bg_highlighted" android:state_selected="true" /> <item android:drawable="@android:color/transparent" /> </selector> app/src/main/res/layout/item_notes_list_note_item_grid.xml +2 −3 Original line number Diff line number Diff line Loading @@ -8,12 +8,13 @@ android:focusable="true"> <LinearLayout android:id="@+id/wrapper" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/grid_item_background_selector" android:orientation="vertical" android:paddingBottom="@dimen/spacer_1x"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" Loading Loading @@ -57,7 +58,6 @@ android:layout_marginBottom="@dimen/spacer_1x" android:textAppearance="?attr/textAppearanceHeadline5" android:textColor="@color/fg_default" android:textIsSelectable="true" android:theme="@style/textViewStyle" tools:maxLength="50" tools:text="@tools:sample/lorem/random" /> Loading Loading @@ -102,7 +102,6 @@ android:layout_marginBottom="@dimen/spacer_1x" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/fg_default" android:textIsSelectable="true" android:theme="@style/textViewStyle" tools:maxLength="200" tools:text="@tools:sample/lorem/random" /> Loading Loading
app/src/main/res/drawable-v21/grid_item_background_selector.xml 0 → 100644 +19 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted"> <!-- :selected --> <item> <selector> <item android:state_selected="true"> <color android:color="@color/bg_highlighted" /> </item> <item android:state_activated="true"> <color android:color="@color/bg_highlighted" /> </item> <item> <color android:color="@android:color/transparent" /> </item> </selector> </item> </ripple> No newline at end of file
app/src/main/res/drawable-v21/list_item_background_selector.xml +0 −2 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/bg_highlighted"> <!-- :selected --> <item> <selector> <item android:state_selected="true"> Loading
app/src/main/res/drawable/grid_item_background_selector.xml 0 → 100644 +6 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- Selector is used for Background Colors in List Items --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- :selected --> <item android:drawable="@color/bg_highlighted" android:state_selected="true" /> <item android:drawable="@android:color/transparent" /> </selector>
app/src/main/res/layout/item_notes_list_note_item_grid.xml +2 −3 Original line number Diff line number Diff line Loading @@ -8,12 +8,13 @@ android:focusable="true"> <LinearLayout android:id="@+id/wrapper" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/grid_item_background_selector" android:orientation="vertical" android:paddingBottom="@dimen/spacer_1x"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" Loading Loading @@ -57,7 +58,6 @@ android:layout_marginBottom="@dimen/spacer_1x" android:textAppearance="?attr/textAppearanceHeadline5" android:textColor="@color/fg_default" android:textIsSelectable="true" android:theme="@style/textViewStyle" tools:maxLength="50" tools:text="@tools:sample/lorem/random" /> Loading Loading @@ -102,7 +102,6 @@ android:layout_marginBottom="@dimen/spacer_1x" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/fg_default" android:textIsSelectable="true" android:theme="@style/textViewStyle" tools:maxLength="200" tools:text="@tools:sample/lorem/random" /> Loading