mirror of https://github.com/TeamNewPipe/NewPipe
46 lines
1.7 KiB
XML
46 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="64dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
app:cardBackgroundColor="?attr/card_item_background_color">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/dashed_border"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:padding="4dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="14dp"
|
|
android:layout_height="14dp"
|
|
android:layout_gravity="center"
|
|
android:scaleType="centerInside"
|
|
app:srcCompat="@drawable/ic_add"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:maxLines="1"
|
|
android:text="@string/feed_create_new_group_button_title"
|
|
android:textAllCaps="true"
|
|
android:textColor="?attr/colorAccent"
|
|
android:textSize="10sp"
|
|
android:textStyle="bold"
|
|
tools:ignore="SmallSp" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|