From 8067e8773c59b540a5693f3768aeaa727ca71167 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Tue, 23 Feb 2016 17:58:45 +0100 Subject: [PATCH] Fix chatlist row --- res/layout-land/chatlist_cell.xml | 10 +- res/layout-sw533dp-land/chatlist_cell.xml | 30 +++--- res/layout-sw533dp/chatlist_cell.xml | 112 ++++++++++++++++++++++ res/layout/chatlist_cell.xml | 4 +- 4 files changed, 133 insertions(+), 23 deletions(-) create mode 100644 res/layout-sw533dp/chatlist_cell.xml diff --git a/res/layout-land/chatlist_cell.xml b/res/layout-land/chatlist_cell.xml index 3b02ab4ff..0ffda4749 100644 --- a/res/layout-land/chatlist_cell.xml +++ b/res/layout-land/chatlist_cell.xml @@ -18,7 +18,7 @@ android:adjustViewBounds="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" - android:visibility="invisible" /> + android:visibility="invisible" android:layout_alignParentTop="true"/> + android:layout_alignParentEnd="true" android:layout_alignParentTop="true"/> + android:visibility="invisible" android:layout_alignParentTop="true"/> + + - - diff --git a/res/layout-sw533dp/chatlist_cell.xml b/res/layout-sw533dp/chatlist_cell.xml new file mode 100644 index 000000000..692be473b --- /dev/null +++ b/res/layout-sw533dp/chatlist_cell.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/chatlist_cell.xml b/res/layout/chatlist_cell.xml index 054d8f639..0d9ee3e44 100644 --- a/res/layout/chatlist_cell.xml +++ b/res/layout/chatlist_cell.xml @@ -12,13 +12,12 @@ android:id="@+id/delete_chatroom" android:button="@drawable/checkbox" android:contentDescription="@string/content_description_delete" - android:paddingRight="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" - android:visibility="invisible" /> + android:visibility="invisible" android:layout_alignParentTop="true"/>