aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/ab_title.xml
blob: d34bc038e7589be84be297017752dc2e6a50f5bf (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
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="start|center_vertical"
    android:orientation="vertical">

    <TextView
        android:id="@android:id/text1"
        style="@style/Base.TextAppearance.AppCompat.Widget.ActionBar.Title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:clickable="true"
        android:ellipsize="end"
        android:gravity="start|center_vertical"
        android:onClick="onClick"
        android:paddingTop="1dp"
        android:scrollHorizontally="true"
        android:singleLine="true"
        android:textColor="@color/grey200" />

    <TextView
        android:id="@android:id/text2"
        style="@style/Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@android:id/text1"
        android:clickable="true"
        android:ellipsize="end"
        android:gravity="start|center_vertical"
        android:onClick="onClick"
        android:paddingBottom="1dp"
        android:scrollHorizontally="true"
        android:singleLine="true"
        android:textColor="@color/grey50"
        android:textSize="12sp" />
</RelativeLayout>