137 lines
4.7 KiB
XML
137 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
tools:ignore="RtlSymmetry">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:background="@drawable/dr_item_img_frame">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/dr_placeholder_bg"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:src="@drawable/file_document" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/tvFileImg"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/collectState"
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:background="@drawable/dr_collect_state_bg"
|
|
android:padding="2dp"
|
|
android:src="@drawable/collected_white" />
|
|
|
|
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/lock_layout"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:background="@drawable/dr_item_lock_bg"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/lock" />
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tvFileName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="middle"
|
|
style="@style/TextViewFont_PopSemiBold"
|
|
android:maxLines="1"
|
|
android:text="@string/app_name"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/tvFileDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/TextViewFont_PopMedium"
|
|
android:text="2月27,2025"
|
|
android:textColor="@color/black_60"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvFileSize"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
style="@style/TextViewFont_PopMedium"
|
|
android:text="8.1MB"
|
|
android:textColor="@color/black_60"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/moreBtn"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/more" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="@color/line_color" />
|
|
|
|
</LinearLayout>
|