NewPipe/app/src/main/res/layout/mission_item_linear.xml

81 lines
2.9 KiB
XML
Raw Normal View History

2020-10-09 18:24:02 +00:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
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">
<RelativeLayout
android:id="@+id/item_bkg"
android:layout_width="match_parent"
2020-10-09 18:24:02 +00:00
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:background="@color/bluegray">
<ImageView
android:id="@+id/item_icon"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_centerVertical="true"
2020-10-09 18:24:02 +00:00
android:contentDescription="TODO"
android:gravity="center"
android:padding="15dp"
2021-03-29 18:35:00 +00:00
android:scaleType="fitXY"
app:tint="?attr/actionColor" />
<TextView
android:id="@+id/item_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/item_more"
android:layout_toRightOf="@id/item_icon"
android:ellipsize="end"
android:padding="6dp"
android:text="XXX.xx"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold" />
<TextView
android:id="@+id/item_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/item_name"
2020-10-09 18:24:02 +00:00
android:layout_toRightOf="@id/item_icon"
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" />
<TextView
android:id="@+id/item_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/item_name"
android:layout_marginLeft="6dp"
android:layout_marginRight="5dp"
android:layout_toLeftOf="@+id/item_more"
android:layout_toRightOf="@id/item_size"
android:padding="6dp"
android:singleLine="true"
android:text="0%"
android:textColor="@color/white"
2020-10-09 18:24:02 +00:00
android:textSize="12sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/item_more"
2020-10-09 18:24:02 +00:00
style="?attr/buttonBarButtonStyle"
android:layout_width="49dp"
android:layout_height="49dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="4dp"
2020-10-09 18:24:02 +00:00
android:contentDescription="TODO"
android:scaleType="centerInside"
2021-03-29 18:35:00 +00:00
app:srcCompat="@drawable/ic_more_vert"
app:tint="?attr/actionColor" />
</RelativeLayout>
</RelativeLayout>