summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout-xlarge/user_session_fragment.xml
blob: df72f615fc9381ec331b8bb47234aa6752345cde (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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="30dp"
    android:layout_marginLeft="60dp"
    android:layout_marginStart="60dp"
    android:orientation="vertical"
    tools:context="se.leap.bitmaskclient.userstatus.UserStatusFragment">

    <TextView
        android:id="@+id/user.status.username"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="30dp"
        android:layout_gravity="center"
        android:textSize="46sp"
        android:text="@string/default_username"
        android:textAppearance="?android:attr/textAppearanceMedium"/>

    <LinearLayout
        android:id="@+id/user.status.buttonAndIcon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center">

        <Button
            android:id="@+id/user.status.button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="32sp"
            />

        <se.leap.bitmaskclient.userstatus.FabButton
            android:id="@+id/user.status.icon"
            android:layout_width="56dp"
            android:layout_height="56dp"
            android:layout_marginStart="24dp"
            android:layout_marginLeft="24dp"
            android:shadowRadius="0"
            android:src="@drawable/icon_user"
            android:color="@android:color/holo_blue_dark"
            android:layout_gravity="center"
            android:visibility="visible"
            android:indeterminate="true"
            android:max="100"
            fbb_autoStart="true"
            app:fbb_progressColor="@android:color/holo_green_dark"
            app:fbb_progressWidthRatio="0.2"
            />

    </LinearLayout>
</LinearLayout>