summaryrefslogtreecommitdiffstats
path: root/res/layout/font_component_selection_item.xml
blob: 94515e9dce7ca0495d1385bda3a174dd501f01d7 (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
<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="@dimen/component_selection_cell_height">

    <org.cyanogenmod.theme.util.FittedTextView
        android:id="@+id/text_preview"
        android:layout_width="@dimen/component_selection_content_width"
        android:layout_height="@dimen/component_selection_content_height"
        android:textColor="@android:color/white"
        android:text="@string/font_component_item_text"
        android:layout_marginTop="@dimen/component_margin_top"
        android:layout_centerHorizontal="true"/>

    <TextView
        android:id="@+id/title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/text_preview"
        android:layout_centerHorizontal="true"
        style="@style/component_title"/>

</RelativeLayout>