diff options
author | BrianBlade <n.gelbertz@gmail.com> | 2015-04-04 08:32:07 +0200 |
---|---|---|
committer | BrianBlade <n.gelbertz@gmail.com> | 2015-04-04 08:54:29 +0200 |
commit | 32e64c68694f364209a0a268c7e349995aa24371 (patch) | |
tree | b82cbaf15ed12f2ed33d00916eafd7c9438c56ef /src/main/res/layout | |
parent | ba58a426ac15c0051ea164fffd26fbb3a360f8ba (diff) |
Re-enable selectableItemBackground
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/conversation_list_row.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml index 3656528c..de04780f 100644 --- a/src/main/res/layout/conversation_list_row.xml +++ b/src/main/res/layout/conversation_list_row.xml @@ -1,18 +1,23 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="@color/divider"> + android:descendantFocusability="blocksDescendants"> <View android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@color/divider"/> - <RelativeLayout + <FrameLayout android:id="@+id/swipeable_item" android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:background="@color/primarybackground"> + + <RelativeLayout + android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="@color/primarybackground" + android:background="?android:selectableItemBackground" android:orientation="horizontal" android:padding="8dp" > @@ -77,4 +82,5 @@ android:textSize="?attr/TextSizeInfo" /> </RelativeLayout> </RelativeLayout> + </FrameLayout> </FrameLayout>
\ No newline at end of file |