-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
69 lines
2.6 KiB
XML
69 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:id="@id/HLRelativeLayout1"
|
|
android:background="@drawable/vkim_white_btn"
|
|
android:paddingLeft="16.0dip"
|
|
android:paddingRight="16.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<TextView
|
|
android:textSize="16.0sp"
|
|
android:textColor="#ff99a2ad"
|
|
android:ellipsize="marquee"
|
|
android:gravity="center"
|
|
android:id="@id/vkim_doc_item_type"
|
|
android:background="@drawable/vkim_bg_doc"
|
|
android:padding="5.0dip"
|
|
android:layout_width="64.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:layout_marginTop="8.0dip"
|
|
android:layout_marginBottom="8.0dip"
|
|
android:singleLine="true"
|
|
android:layout_alignParentTop="true"
|
|
android:textAllCaps="true"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:layout_marginEnd="8.0dip"
|
|
android:layout_alignParentStart="true" />
|
|
|
|
<LinearLayout
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="4.0dip"
|
|
android:layout_toEndOf="@id/vkim_doc_item_type">
|
|
|
|
<TextView
|
|
android:textSize="16.0sp"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="marquee"
|
|
android:id="@id/vkim_docs_item_title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
android:textSize="14.0sp"
|
|
android:textColor="?text_secondary"
|
|
android:ellipsize="marquee"
|
|
android:id="@id/vkim_docs_item_info"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3.0dip"
|
|
android:singleLine="true" />
|
|
</LinearLayout>
|
|
|
|
<com.vk.im.ui.views.FrescoImageView
|
|
android:id="@id/vkim_docs_item_thumb"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignTop="@id/vkim_doc_item_type"
|
|
android:layout_alignBottom="@id/vkim_doc_item_type"
|
|
android:layout_alignStart="@id/vkim_doc_item_type"
|
|
android:layout_alignEnd="@id/vkim_doc_item_type"
|
|
app:vkim_cornerRadius="2.0dip"
|
|
app:vkim_scaleType="center_crop" />
|
|
</RelativeLayout> |