Welcome to mirror list, hosted at ThFree Co, Russian Federation.

activity_import_account.xml « layout « res « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85a0b217fb86b9dad426212279fb45805e7a0887 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/scrollView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true">

    <RelativeLayout
        android:id="@+id/relativeLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="@dimen/spacer_2x">

        <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/image"
            android:layout_width="match_parent"
            android:layout_height="96dp"
            android:layout_above="@+id/welcome_text"
            android:layout_gravity="center"
            android:layout_marginBottom="32dp"
            android:contentDescription="@null"
            android:tint="@color/fg_secondary"
            app:srcCompat="@drawable/ic_launcher_foreground_full" />

        <TextView
            android:id="@+id/welcome_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:layout_centerVertical="true"
            android:layout_marginBottom="48dp"
            android:gravity="center_horizontal"
            android:textSize="24sp"
            tools:text="Welcome to Nextcloud Notes" />

        <Button
            android:id="@+id/add_button"
            style="@style/Widget.Material3.Button.ElevatedButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/welcome_text"
            android:layout_centerHorizontal="true"
            android:paddingStart="32dp"
            android:paddingTop="24dp"
            android:paddingEnd="32dp"
            android:paddingBottom="24dp"
            android:text="@string/choose_account"
            app:backgroundTint="@color/defaultBrand" />

        <TextView
            android:id="@+id/status"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/add_button"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="32dp"
            android:gravity="center_horizontal"
            android:textAlignment="center"
            android:textColor="@color/fg_secondary"
            android:textSize="18sp"
            tools:text="@string/you_have_to_be_connected_to_the_internet_in_order_to_add_an_account" />

        <ProgressBar
            android:id="@+id/progress_circular"
            style="?android:attr/progressBarStyleHorizontal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/add_button"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="@dimen/spacer_5x"
            android:indeterminate="true"
            android:indeterminateTint="@color/defaultBrand"
            android:visibility="gone" />

        <TextView
            android:id="@+id/progress_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/progress_circular"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="@dimen/spacer_2x"
            android:visibility="gone"
            tools:text="@string/progress_import_indeterminate" />
    </RelativeLayout>
</ScrollView>