Fix views landscape

This commit is contained in:
Margaux Clerc 2016-03-03 17:17:25 +01:00
parent a15f81217e
commit 4e8da73745
2 changed files with 21 additions and 15 deletions

View file

@ -5,10 +5,10 @@
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:layout_marginTop="20dp" android:gravity="center"
android:layout_gravity="center_horizontal" android:layout_marginBottom="20dp"
android:orientation="vertical"> android:orientation="vertical">
<ImageView <ImageView

View file

@ -71,7 +71,7 @@
android:id="@+id/fragmentContainer" android:id="@+id/fragmentContainer"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="0.63" android:layout_weight="1"
android:orientation="horizontal" /> android:orientation="horizontal" />
<LinearLayout <LinearLayout
@ -79,7 +79,7 @@
android:visibility="gone" android:visibility="gone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="0.37" android:layout_weight="1"
android:orientation="horizontal"> android:orientation="horizontal">
<View <View
@ -126,11 +126,14 @@
android:id="@+id/missed_calls" android:id="@+id/missed_calls"
android:background="@drawable/history_chat_indicator" android:background="@drawable/history_chat_indicator"
style="@style/font18" style="@style/font18"
android:layout_width="25dp" android:layout_width="20dp"
android:layout_height="25dp" android:layout_height="20dp"
android:layout_margin="12dp"
android:gravity="center" android:gravity="center"
android:visibility="gone"/> android:layout_marginRight="5dp"
android:visibility="gone"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"/>
</RelativeLayout> </RelativeLayout>
@ -206,11 +209,14 @@
android:id="@+id/missed_chats" android:id="@+id/missed_chats"
android:background="@drawable/history_chat_indicator" android:background="@drawable/history_chat_indicator"
style="@style/font18" style="@style/font18"
android:layout_width="25dp" android:layout_width="20dp"
android:layout_height="25dp" android:layout_height="20dp"
android:layout_margin="12dp"
android:gravity="center" android:gravity="center"
android:visibility="gone" /> android:layout_marginRight="5dp"
android:visibility="gone"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"/>
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>