aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/menu_item_simple_text.xml
blob: 8ff0be8f1a013d0bea9f81f05b778430cec4dee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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:foreground="?android:selectableItemBackground">
    <TextView
        android:id="@+id/text_view_content"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_alignParentStart="true"
        android:layout_toStartOf="@id/text_view_title"
        android:padding="10dp"
        android:textSize="@dimen/status_text_size"
        tools:text="@tools:sample/lorem" />
    <TextView
        android:id="@+id/text_view_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="6dp"
        android:layout_centerVertical="true"
        android:layout_alignParentEnd="true"
        android:background="@color/transparent_badge_background"
        android:padding="4dp"
        android:textSize="@dimen/status_meta_text_size"
        tools:text="@tools:sample/lorem" />
</RelativeLayout>