summaryrefslogtreecommitdiff
path: root/android/sdremote/mobile/src/main/res/layout/action_bar_computer_creation.xml
blob: a92225dbab78f1b2906a50db120a9b29c02b480b (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="utf-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<androidx.appcompat.widget.LinearLayoutCompat
    xmlns:compat="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context=".activity.ComputerCreationActivity"
    tools:background="@color/primary"
    tools:layout_height="?actionBarSize"
              android:orientation="horizontal"
              compat:divider="?attr/dividerVertical"
              compat:showDividers="middle"
              compat: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="?actionButtonStyle"
        android:layout_weight="1"
        android:layout_width="0dp"
        android:layout_height="match_parent">

        <TextView
            style="?actionBarTabTextStyle"
            android:id="@+id/button_cancel_tv"
            android:text="@string/button_cancel"
            android:drawableLeft="@drawable/ic_clear_layer_wrap"
            android:drawableStart="@drawable/ic_clear_layer_wrap"
            android:drawablePadding="@dimen/padding_action_bar_button_drawable"
            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="?actionButtonStyle"
        android:layout_weight="1"
        android:layout_width="0dp"
        android:layout_height="match_parent">

        <TextView
            style="?actionBarTabTextStyle"
            android:id="@+id/button_save_tv"
            android:text="@string/button_save"
            android:drawableLeft="@drawable/ic_done_layer_wrap"
            android:drawableStart="@drawable/ic_done_layer_wrap"
            android:drawablePadding="@dimen/padding_action_bar_button_drawable"
            android:gravity="center_vertical"
            android:layout_gravity="center"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>
    </FrameLayout>

</androidx.appcompat.widget.LinearLayoutCompat>