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

65 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:id="@+id/cvContent"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
android:id="@+id/fm_add"
android:background="@drawable/diy_edit_add"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<androidx.cardview.widget.CardView
android:id="@+id/cvContainer"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:cardCornerRadius="@dimen/shape_20"
app:cardElevation="0dp">
<ImageView
android:id="@+id/imgDiyLogo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
<TextView
android:textColor="@color/txt_fffdfd"
android:gravity="center"
android:id="@+id/tvDiyState"
android:background="@drawable/diy_state_finish"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp16"
android:text="@string/diy_state"/>
<ProgressBar
android:layout_gravity="bottom"
android:id="@+id/pgDiyProgress"
android:layout_width="match_parent"
android:layout_height="4dp"
android:max="100"
android:progress="45"
android:progressDrawable="@drawable/progressbar"
style="?android:attr/progressBarStyleHorizontal"/>
<ImageView
android:layout_gravity="right"
android:id="@+id/img_select"
android:background="@drawable/diy_select_delete"
android:layout_width="@dimen/diy_index_select_height"
android:layout_height="@dimen/diy_index_select_height"
android:layout_margin="@dimen/diy_index_select_height_left"/>
</androidx.cardview.widget.CardView>
<TextView
android:textSize="@dimen/diy_index_text_size"
android:textColor="@color/bg_white"
android:ellipsize="end"
android:gravity="bottom|left"
android:id="@+id/tvDiyName"
android:paddingLeft="4dp"
android:paddingBottom="8dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_10"
android:lines="1"/>
</LinearLayout>