summaryrefslogtreecommitdiffstats
path: root/res/layout/status_bar_component_selection_item.xml
blob: f98fdacde894742632c4a27d2ab32506b82df75d (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
38
39
40
41
42
43
44
45
<?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"
    android:background="@drawable/component_selection_selector">

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/container"
        android:layout_width="@dimen/component_selection_content_width"
        android:layout_height="@dimen/component_selection_content_height"
        android:layout_marginTop="@dimen/component_margin_top"
        android:background="#000000"
        android:layout_centerHorizontal="true">

        <ImageView
            android:id="@+id/slot1"
            style="@style/status_bar_component_icon"
            android:layout_gravity="top|left"/>

        <ImageView
            android:id="@+id/slot2"
            style="@style/status_bar_component_icon"
            android:layout_gravity="top|right"/>
        <ImageView
            android:id="@+id/slot3"
            style="@style/status_bar_component_icon"
            android:layout_gravity="bottom|left"/>

        <ImageView
            android:id="@+id/slot4"
            style="@style/status_bar_component_icon"
            android:layout_gravity="bottom|right"/>

    </FrameLayout>

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

</RelativeLayout>