Files
quik/qksms/src/main/res/layout/avatar_view.xml
T
2017-09-29 14:20:13 -04:00

25 lines
833 B
XML

<?xml version="1.0" encoding="utf-8"?>
<merge android:id="@+id/avatar"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:background="@color/list_separator"
tools:parentTag="com.moez.QKSMS.presentation.view.AvatarView">
<TextView
android:id="@+id/initial"
style="@style/TextPrimary"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:textAllCaps="true"
tools:text="M" />
<ImageView
android:id="@+id/photo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
</merge>