LibreTube/app/src/main/res/layout/app_icon_item.xml

30 lines
1.1 KiB
XML
Raw Normal View History

2022-11-21 20:42:21 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2022-11-21 20:42:21 +05:30
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-11-21 20:53:59 +05:30
android:layout_marginHorizontal="10dp"
2022-11-21 20:42:21 +05:30
android:background="@drawable/rounded_ripple"
android:orientation="vertical"
2022-11-21 20:53:59 +05:30
android:paddingVertical="10dp">
2022-11-21 20:42:21 +05:30
<com.google.android.material.imageview.ShapeableImageView
2022-11-21 20:42:21 +05:30
android:id="@+id/iconIV"
2022-11-21 20:53:59 +05:30
android:layout_width="75dp"
android:layout_height="75dp"
2022-11-21 20:42:21 +05:30
android:layout_gravity="center"
2022-11-21 20:53:59 +05:30
android:padding="10dp"
app:shapeAppearance="@style/CircleImageView"
2022-11-21 20:42:21 +05:30
tools:src="@mipmap/ic_gradient" />
<TextView
android:id="@+id/iconName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:ellipsize="end"
2022-11-21 20:53:59 +05:30
android:maxLines="1"
android:textSize="11sp" />
2022-11-21 20:42:21 +05:30
</LinearLayout>