Use icon instead of question mark for avatars

This commit is contained in:
Moez Bhatti
2017-11-23 13:57:40 -05:00
parent 087e8b1564
commit a1ef3bb918
3 changed files with 27 additions and 3 deletions
+10
View File
@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:background="@color/tools_theme"
tools:parentTag="com.moez.QKSMS.presentation.view.AvatarView">
<TextView
@@ -14,8 +15,17 @@
android:gravity="center"
android:textAllCaps="true"
android:textColor="@color/textPrimaryLight"
android:textSize="20sp"
tools:text="M" />
<ImageView
android:id="@+id/icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center"
android:src="@drawable/ic_person_black_24dp"
android:tint="@color/white" />
<ImageView
android:id="@+id/photo"
android:layout_width="match_parent"