From 06a01083ddc80a599f08647b14a00cbebdd9bd56 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Tue, 1 Mar 2016 15:44:03 +0100 Subject: [PATCH] Crop display name too long / fix bubble notification in landscape --- res/layout-land/chatlist_cell.xml | 5 +---- res/layout-land/main.xml | 22 ++++++++++++++-------- res/layout-sw533dp-land/chatlist_cell.xml | 5 +---- res/layout-sw533dp/chatlist_cell.xml | 4 +--- res/layout/chatlist_cell.xml | 4 +--- res/layout/history_cell.xml | 5 +---- res/layout/history_detail.xml | 3 +-- 7 files changed, 20 insertions(+), 28 deletions(-) diff --git a/res/layout-land/chatlist_cell.xml b/res/layout-land/chatlist_cell.xml index 0ffda4749..f8caec810 100644 --- a/res/layout-land/chatlist_cell.xml +++ b/res/layout-land/chatlist_cell.xml @@ -74,10 +74,7 @@ + android:visibility="gone" + android:layout_marginTop="15dp" + android:layout_marginRight="5dp" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true"/> @@ -184,11 +187,14 @@ android:id="@+id/missed_chats" android:background="@drawable/history_chat_indicator" style="@style/font18" - android:layout_width="25dp" - android:layout_height="25dp" - android:layout_margin="12dp" + android:layout_width="20dp" + android:layout_height="20dp" android:gravity="center" - android:visibility="gone" /> + android:visibility="gone" + android:layout_marginTop="15dp" + android:layout_marginRight="5dp" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true"/> diff --git a/res/layout-sw533dp-land/chatlist_cell.xml b/res/layout-sw533dp-land/chatlist_cell.xml index 0d9ee3e44..a4addf588 100644 --- a/res/layout-sw533dp-land/chatlist_cell.xml +++ b/res/layout-sw533dp-land/chatlist_cell.xml @@ -73,10 +73,7 @@ -