aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-24 21:25:14 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-24 21:25:14 +0200
commit00439c9923911cafb0ed06398c1a65a1871e921e (patch)
tree6b133dc8ac4678fb3d8ee647d3d5a4f85938baef /src/main/res/layout
parentdb4ab7177d5e550dcd04ea3617cdd231d4923aa9 (diff)
migrate the RecyclerView
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/activity_share_with.xml2
-rw-r--r--src/main/res/layout/conversation_list_row.xml6
-rw-r--r--src/main/res/layout/fragment_conversations_overview.xml10
3 files changed, 6 insertions, 12 deletions
diff --git a/src/main/res/layout/activity_share_with.xml b/src/main/res/layout/activity_share_with.xml
index 9fce48a61..15545ef31 100644
--- a/src/main/res/layout/activity_share_with.xml
+++ b/src/main/res/layout/activity_share_with.xml
@@ -8,7 +8,7 @@
<include layout="@layout/toolbar" />
- <ListView
+ <android.support.v7.widget.RecyclerView
android:id="@+id/choose_conversation_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml
index c85d668a9..3ce42ad58 100644
--- a/src/main/res/layout/conversation_list_row.xml
+++ b/src/main/res/layout/conversation_list_row.xml
@@ -4,13 +4,7 @@
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
- <View
- android:layout_width="fill_parent"
- android:layout_height="match_parent"
- android:background="?attr/color_background_primary" />
-
<FrameLayout
- android:id="@+id/swipeable_item"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/color_background_primary">
diff --git a/src/main/res/layout/fragment_conversations_overview.xml b/src/main/res/layout/fragment_conversations_overview.xml
index ddcc6ac14..8abdd606f 100644
--- a/src/main/res/layout/fragment_conversations_overview.xml
+++ b/src/main/res/layout/fragment_conversations_overview.xml
@@ -1,14 +1,14 @@
<layout xmlns:android="http://schemas.android.com/apk/res/android">
- <FrameLayout
+ <android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/color_background_secondary">
- <ListView
+ <android.support.v7.widget.RecyclerView
android:id="@+id/list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="?attr/color_background_secondary"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
@@ -21,5 +21,5 @@
android:layout_gravity="end|bottom"
android:layout_margin="16dp"
android:src="@drawable/ic_chat_white_24dp" />
- </FrameLayout>
+ </android.support.design.widget.CoordinatorLayout>
</layout> \ No newline at end of file