Fixed avatar display
This commit is contained in:
parent
f9a8586701
commit
beb92a545a
2 changed files with 8 additions and 6 deletions
|
@ -113,6 +113,7 @@
|
|||
android:id="@+id/message_sender_avatar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_alignTop="@id/background">
|
||||
|
||||
<include layout="@layout/contact_avatar"/>
|
||||
|
|
|
@ -3,23 +3,23 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/avatar_layout"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center"
|
||||
android:layout_centerHorizontal="true">
|
||||
android:layout_height="35dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:src="@drawable/avatar"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mask"
|
||||
android:src="@drawable/avatar_mask"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:adjustViewBounds="true"/>
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/generated_avatar"
|
||||
|
@ -28,7 +28,8 @@
|
|||
android:background="@drawable/generated_avatar_bg"
|
||||
style="@style/font25"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"/>
|
||||
android:maxLines="1"
|
||||
android:layout_alignParentLeft="true"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/security_level"
|
||||
|
|
Loading…
Reference in a new issue