Files
vtosters/smali/res/layout/attach_edit_doc_thumb.xml
T
gdlbo b50f56a5d4 Oh, fixes?
-Added styles list for dark and light themes
-Updated libs
-Auto refactored resources for easy editing
-Improved amoled theme
2022-04-23 21:36:08 +03:00

70 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="96.0dip"
android:layout_height="72.0dip"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fresco="http://schemas.android.com/apk/res-auto">
<com.vk.imageloader.view.VKImageView
android:id="@id/attach_thumb"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
fresco:actualImageScaleType="centerCrop"
fresco:roundedCornerRadius="2.0dip" />
<TextView
android:textSize="12.0dip"
android:textColor="#ffffffff"
android:ellipsize="end"
android:gravity="center"
android:id="@id/attach_title"
android:background="@drawable/bg_doc_label"
android:paddingLeft="8.0dip"
android:paddingRight="8.0dip"
android:layout_width="wrap_content"
android:layout_height="24.0dip"
android:layout_marginLeft="8.0dip"
android:layout_marginRight="8.0dip"
android:layout_marginBottom="8.0dip"
android:text="JPG 900 kb"
android:singleLine="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:fontFamily="@string/font_family_medium" />
<ProgressBar
android:id="@id/attach_progress"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="1.0dip"
android:layout_marginRight="1.0dip"
android:layout_marginBottom="2.0dip"
android:indeterminate="false"
android:indeterminateOnly="false"
android:layout_centerVertical="true" />
<TextView
android:textSize="15.0dip"
android:textColor="#ffffffff"
android:gravity="center"
android:id="@id/attach_error"
android:background="#50000000"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="1.0dip"
android:layout_marginRight="1.0dip"
android:layout_marginBottom="2.0dip"
android:text="@string/error"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
<ImageView
android:id="@id/attach_remove"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-8.5dip"
android:layout_marginRight="-8.5dip"
android:src="@drawable/ic_deattach_28"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true" />
</RelativeLayout>