2020-10-09 18:24:02 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-06 19:07:16 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2020-04-06 19:07:16 +00:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/item_bkg"
|
|
|
|
android:layout_width="match_parent"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:layout_margin="2dp"
|
|
|
|
android:background="@color/bluegray">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/item_title_line"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginTop="2dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/item_status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="6dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="0%"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp" />
|
2020-04-06 19:07:16 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/item_more"
|
2020-10-09 18:24:02 +00:00
|
|
|
style="?attr/buttonBarButtonStyle"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:layout_width="49dp"
|
|
|
|
android:layout_height="49dp"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginRight="1dp"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:contentDescription="TODO"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:scaleType="center"
|
2021-03-29 18:35:00 +00:00
|
|
|
app:srcCompat="@drawable/ic_more_vert"
|
|
|
|
app:tint="?attr/actionColor" />
|
2020-04-06 19:07:16 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/item_icon"
|
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
|
|
|
android:layout_below="@id/item_title_line"
|
|
|
|
android:layout_centerHorizontal="true"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:contentDescription="TODO"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:padding="10dp"
|
2021-03-29 18:35:00 +00:00
|
|
|
android:scaleType="fitXY"
|
|
|
|
app:tint="?attr/actionColor" />
|
2020-04-06 19:07:16 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/item_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/item_icon"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:padding="6dp"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:scrollHorizontally="true"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:singleLine="true"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:text="XXX.xx"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:textColor="@color/white"
|
2020-04-06 19:07:16 +00:00
|
|
|
android:textSize="16sp"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:textStyle="bold" />
|
2020-04-06 19:07:16 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/item_size"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/item_name"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="100.00MB"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="12sp" />
|
2020-04-06 19:07:16 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2020-10-09 18:24:02 +00:00
|
|
|
|
2016-04-21 23:28:01 +00:00
|
|
|
</RelativeLayout>
|