mirror of https://github.com/TeamNewPipe/NewPipe
45 lines
1.7 KiB
XML
45 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="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_margin="4dp"
|
|
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:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center"
|
|
android:padding="8dp"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/ic_add"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<org.schabi.newpipe.views.NewPipeTextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:padding="10dp"
|
|
android:text="@string/feed_create_new_group_button_title"
|
|
android:textAllCaps="true"
|
|
android:textColor="?attr/colorAccent"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|