mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
create separate avatarviews for showing single or multiple contacts
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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"
|
||||
android:background="@color/textSecondary"
|
||||
android:orientation="vertical"
|
||||
tools:parentTag="com.moez.QKSMS.ui.view.AvatarView">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/photo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/initial"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
tools:text="M" />
|
||||
|
||||
</merge>
|
||||
Reference in New Issue
Block a user