-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
64 lines
2.3 KiB
XML
64 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:background="?selectableItemBackground"
|
|
android:paddingTop="4.0dip"
|
|
android:paddingBottom="4.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16.0dip"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<com.vk.im.ui.views.avatars.AvatarView
|
|
android:id="@id/vkim_avatar"
|
|
android:layout_width="44.0dip"
|
|
android:layout_height="44.0dip"
|
|
android:layout_centerVertical="true" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:paddingStart="12.0dip"
|
|
android:paddingEnd="16.0dip"
|
|
android:layout_toStartOf="@id/vkim_checkbox"
|
|
android:layout_toEndOf="@id/vkim_avatar">
|
|
|
|
<TextView
|
|
android:textSize="16.0sp"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="marquee"
|
|
android:id="@id/vkim_username"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:fontFamily="@string/fontRobotoMedium" />
|
|
|
|
<TextView
|
|
android:textSize="13.0sp"
|
|
android:textColor="?im_item_foreground_caption"
|
|
android:ellipsize="marquee"
|
|
android:id="@id/vkim_subtitle"
|
|
android:paddingTop="1.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@id/online"
|
|
android:layout_width="12.0dip"
|
|
android:layout_height="16.0dip"
|
|
android:layout_alignBottom="@id/vkim_avatar"
|
|
android:contentDescription="@null"
|
|
android:layout_alignEnd="@id/vkim_avatar" />
|
|
|
|
<CheckBox
|
|
android:id="@id/vkim_checkbox"
|
|
android:visibility="gone"
|
|
android:layout_width="40.0dip"
|
|
android:layout_height="40.0dip"
|
|
android:text=""
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="16.0dip"
|
|
android:layout_alignParentEnd="true" />
|
|
</RelativeLayout> |