jimu-decompiled/resources/res/layout/adapter_album.xml
2025-05-13 19:24:51 +02:00

61 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@android:color/black"
android:descendantFocusability="blocksDescendants"
android:layout_width="match_parent"
android:layout_height="120dp">
<ImageView
android:id="@+id/adapter_gallery_item_img_snapshoot"
android:background="@color/colorItem"
android:layout_width="match_parent"
android:layout_height="120dp"
android:src="@mipmap/camera"
android:scaleType="centerInside"/>
<TextView
android:textSize="18sp"
android:textColor="@android:color/white"
android:layout_gravity="center"
android:id="@+id/tvCapture"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/imgMask"
android:background="@color/video_mask"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:gravity="center"
android:layout_gravity="bottom"
android:orientation="horizontal"
android:id="@+id/llVideo"
android:background="@drawable/shap_mask"
android:paddingLeft="5dp"
android:paddingRight="6dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/video_record"
android:layout_centerVertical="true"/>
<TextView
android:textColor="@android:color/white"
android:id="@+id/tvDuration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="00:00"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
<CheckBox
android:layout_gravity="end|top"
android:id="@+id/adapter_gallery_item_cb_selected"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginRight="2dp"
style="@style/img_select_check"/>
</androidx.cardview.widget.CardView>