wulkanowy-mod/app/src/main/res/layout/item_about.xml
Mateusz Idziejczak af0787c0b1
Add support for BIG font (#989)
Co-authored-by: Faierbel <RafalBO99@outlook.com>
2020-10-10 02:53:25 +02:00

48 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="72dp"
android:background="?selectableItemBackground"
tools:context=".ui.modules.about.AboutAdapter">
<ImageView
android:id="@+id/aboutItemImage"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="32dp"
app:tint="?colorOnBackground"
tools:ignore="ContentDescription"
tools:src="@drawable/ic_all_about" />
<TextView
android:id="@+id/aboutItemTitle"
android:layout_width="wrap_content"
android:layout_height="32dp"
android:layout_marginEnd="16dp"
android:layout_toEndOf="@id/aboutItemImage"
android:ellipsize="end"
android:gravity="bottom"
android:maxLines="1"
android:textSize="16sp"
tools:text="@tools:sample/lorem" />
<TextView
android:id="@+id/aboutItemSummary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="20dp"
android:layout_below="@id/aboutItemTitle"
android:layout_marginEnd="16dp"
android:layout_toEndOf="@id/aboutItemImage"
android:ellipsize="end"
android:gravity="bottom"
android:maxLines="1"
android:textColor="?android:textColorSecondary"
android:textSize="14sp"
tools:text="@tools:sample/lorem" />
</RelativeLayout>