summaryrefslogtreecommitdiff
path: root/android/sdremote/res/layout-v11/action_bar_computer_creation.xml
blob: 20f1e2938821c797c3ad0f144d858acaf245c082 (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
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="horizontal"
              android:divider="?android:attr/dividerVertical"
              android:showDividers="middle"
              android:dividerPadding="@dimen/padding_horizontal_action_bar_divider"
              android:baselineAligned="false"
              android:layout_width="match_parent"
              android:layout_height="match_parent">

    <FrameLayout
        android:id="@+id/button_cancel"
        style="?android:actionButtonStyle"
        android:layout_weight="1"
        android:layout_width="0dp"
        android:layout_height="match_parent">

        <TextView
            style="?android:actionBarTabTextStyle"
            android:text="@string/button_cancel"
            android:drawableLeft="@drawable/ic_action_cancel"
            android:drawablePadding="@dimen/padding_action_bar_button_drawable"
            android:paddingRight="@dimen/padding_horizontal_action_bar_button"
            android:gravity="center_vertical"
            android:layout_gravity="center"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>

    </FrameLayout>

    <FrameLayout
        android:id="@+id/button_save"
        style="?android:actionButtonStyle"
        android:layout_weight="1"
        android:layout_width="0dp"
        android:layout_height="match_parent">

        <TextView
            style="?android:actionBarTabTextStyle"
            android:text="@string/button_save"
            android:drawableLeft="@drawable/ic_action_save"
            android:drawablePadding="@dimen/padding_action_bar_button_drawable"
            android:paddingRight="@dimen/padding_horizontal_action_bar_button"
            android:gravity="center_vertical"
            android:layout_gravity="center"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>

    </FrameLayout>

</LinearLayout>