summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/eip_service_fragment.xml
blob: fea0093e8bd7f0f53d3f04104a481a5c82f7486e (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
<?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" >

    <TextView
        android:id="@+id/eipLabel"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="10dp"
        android:clickable="true"
        android:text="@string/eip_service_label"
        android:textAppearance="?android:attr/textAppearanceMedium" />

    <TextView
        android:id="@+id/status_message"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_below="@id/eipLabel"
        android:layout_centerVertical="true"
        android:paddingTop="5dp"
        android:paddingBottom="10dp"
        android:paddingLeft="10dp"
        android:paddingRight="10dp"
        android:clickable="true"
        android:text="@string/eip_state_not_connected" />

    <view
        android:id="@+id/vpn.Status.Image"
        android:layout_width="@dimen/progress_button"
        android:color="@android:color/holo_blue_dark"
        android:layout_height="@dimen/progress_button"
        class="mbanje.kurt.fabbutton.FabButton"
        android:layout_gravity="center"
        android:visibility="visible"
        android:layout_centerInParent="true"
        android:indeterminate="true"
        android:max="100"
        fbb_autoStart="true"
        fbb_progressColor="#ff170aff"
        fbb_progressWidthRatio="0.1"
        android:layout_toRightOf="@id/eipLabel"
        android:layout_toEndOf="@id/eipLabel"
        android:layout_alignTop="@id/eipLabel"
        android:layout_marginStart="@dimen/add_button_margin"
        android:layout_marginLeft="@dimen/add_button_margin"
        />

</RelativeLayout>