summaryrefslogtreecommitdiffstats
path: root/mobile/android/services/src/main/res/layout/simple_helper_ui.xml
blob: f549d5c31f774bbf6f49eb6927935f3df0444e6c (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
<?xml version="1.0" encoding="utf-8"?>

<!-- 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/. -->

<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clipChildren="false"
    android:clipToPadding="false">

    <LinearLayout
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/white"
        android:layout_gravity="bottom|center"
        android:clickable="true"
        android:orientation="vertical">

        <ImageView
            android:id="@+id/image"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="40dp"
            android:layout_marginBottom="40dp"
            android:scaleType="fitCenter"
            android:layout_gravity="center"
            android:adjustViewBounds="true"/>

        <TextView
            android:id="@+id/title"
            android:layout_width="@dimen/firstrun_content_width"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:gravity="center"
            android:textAppearance="@style/TextAppearance.FirstrunLight.Main"/>


        <TextView
            android:id="@+id/message"
            android:layout_width="@dimen/firstrun_content_width"
            android:layout_height="wrap_content"
            android:paddingTop="20dp"
            android:paddingBottom="30dp"
            android:layout_gravity="center"
            android:gravity="center"
            android:textAppearance="@style/TextAppearance.FirstrunRegular.Body"
            android:singleLine="false"/>

        <Button
            android:id="@+id/button"
            style="@style/Widget.Firstrun.Button"
            android:background="@drawable/button_background_action_orange_round"
            android:layout_gravity="center"
            android:layout_marginBottom="30dp"/>

    </LinearLayout>
</merge>