Smaller header for chat

This commit is contained in:
Sylvain Berfini 2012-07-25 17:48:48 +02:00
parent b2260267ad
commit 717ef64ff5
2 changed files with 6 additions and 6 deletions

View file

@ -2,19 +2,19 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:linphone="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="100dp"
android:orientation="horizontal" >
<ImageView
android:layout_width="25dp"
android:layout_height="100dp"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/avatar_shadow_left" />
<ImageView
android:id="@+id/picture"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:contentDescription="@string/content_description_contact_picture"
android:scaleType="fitEnd"
@ -22,7 +22,7 @@
<ImageView
android:layout_width="25dp"
android:layout_height="100dp"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/avatar_shadow_right" />

View file

@ -9,7 +9,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="20dp"
android:paddingTop="10dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:gravity="center"
@ -18,7 +18,7 @@
<org.linphone.ui.AvatarWithShadow
android:id="@+id/contactPicture"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="100dp"
linphone:picture="@drawable/unknown_small" />
<TextView