1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-30 17:13:19 +00:00
NewPipe/app/src/main/res/layout/feed_group_add_new_item.xml

46 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2020-10-09 18:24:02 +00:00
<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"
2020-10-09 18:24:02 +00:00
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"
2021-03-27 14:45:49 +00:00
app:srcCompat="@drawable/ic_add"
2020-10-09 18:24:02 +00:00
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-10-09 18:24:02 +00:00
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"
2020-10-09 18:24:02 +00:00
tools:ignore="SmallSp" />
</LinearLayout>
2020-10-09 18:24:02 +00:00
</androidx.cardview.widget.CardView>