50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingVertical="8dp"
|
|
android:baselineAligned="false">
|
|
|
|
<TextView
|
|
android:id="@+id/number"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_marginEnd="16dp"
|
|
android:textColor="?colorM3Primary"
|
|
android:fontFamily="sans-serif-condensed"
|
|
android:textStyle="bold"
|
|
android:textSize="22dp"
|
|
android:gravity="center"
|
|
android:includeFontPadding="false"
|
|
tools:text="1"/>
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@id/number"
|
|
android:textAppearance="@style/m3_body_large"
|
|
android:textSize="16sp"
|
|
android:textColor="?colorM3OnSurface"
|
|
android:minHeight="20sp"
|
|
android:gravity="center_vertical|start"
|
|
tools:text="No discrimination, including (but not limited to) racism, sexism, homophobia or transphobia."/>
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@id/number"
|
|
android:layout_below="@id/title"
|
|
android:textAppearance="@style/m3_body_medium"
|
|
android:textSize="14sp"
|
|
android:textColor="?colorM3OnSurfaceVariant"
|
|
android:paddingVertical="2sp"
|
|
android:lineSpacingExtra="4sp"
|
|
android:gravity="start"
|
|
tools:text="No discrimination, including (but not limited to) racism, sexism, homophobia or transphobia."/>
|
|
|
|
</RelativeLayout> |