summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout-xlarge/eip_service_fragment.xml
blob: 2b3c4f2e5152b17b85861127fbd4a183de26211b (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="10dp"
    android:layout_marginLeft="20dp"
    android:layout_marginStart="20dp">

    <TextView
        android:id="@+id/eipLabel"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="10dp"
        android:layout_marginStart="10dp"
        android:layout_marginTop="12dp"
        android:layout_marginBottom="12dp"
        android:text="@string/eip_service_label"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:textSize="24sp"/>


    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_below="@+id/eipLabel"
        android:layout_centerInParent="true">

        <Button
            android:id="@+id/vpn_main_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="24dp"
            android:layout_marginLeft="24dp"
            android:textSize="32sp"
            />

        <mbanje.kurt.fabbutton.FabButton
            android:id="@+id/vpn_status_image"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:color="@android:color/holo_blue_dark"
            android:layout_gravity="center"
            android:visibility="visible"
            android:indeterminate="true"
            android:max="100"
            fbb_autoStart="true"
            fbb_progressColor="#ff170aff"
            fbb_progressWidthRatio="0.1"
            android:layout_marginStart="24dp"
            android:layout_marginLeft="24dp"
            />
    </LinearLayout>
</RelativeLayout>