avatar_container_normal.xml 1013 Bytes
Newer Older
1 2
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 4 5
    android:layout_width="@dimen/avatar_image_size_normal"
    android:layout_height="@dimen/avatar_image_size_normal"
    >
6

7 8 9 10 11 12
  <FrameLayout
      android:id="@+id/avatar_color"
      android:layout_width="@dimen/avatar_image_size_normal"
      android:layout_height="@dimen/avatar_image_size_normal"
      android:layout_gravity="center"
      >
13

14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
    <TextView
        android:id="@+id/avatar_initials"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:textSize="@dimen/avatar_text_size_normal"
        />
  </FrameLayout>

  <ImageView
      android:id="@+id/avatar_img"
      android:layout_width="@dimen/avatar_image_size_normal"
      android:layout_height="@dimen/avatar_image_size_normal"
      android:scaleType="centerInside"
      android:src="@drawable/ic_default_avatar"
      />
30 31

</FrameLayout>