aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/activity_pgp_handler.xml
blob: 4fe6c529e3f2f1b4e3adbac1b99c9672367eab10 (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
89
90
91
92
93
94
95
<LinearLayout 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:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    tools:context="com.zeapo.pwdstore.crypto.PgpHandler"
    android:orientation="vertical"
    android:background="#eee">

    <GridLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/rectangle"
        android:orientation="horizontal">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="@android:color/holo_orange_dark"
            android:text="Large Text"
            android:id="@+id/crypto_password_file"
            android:layout_gravity="center_vertical"
            android:layout_column="0"/>

        <ImageButton
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_column="2"
            android:src="@android:drawable/ic_input_get"
            android:background="@android:drawable/screen_background_light_transparent"
            android:layout_gravity="center_vertical"
            android:onClick="decrypt"/>

    </GridLayout>

    <LinearLayout
        android:id="@+id/crypto_password_show_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:visibility="invisible"
        android:orientation="vertical"
        android:background="@drawable/rectangle">

        <GridLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textStyle="bold"
                android:text="Password: "/>
            <TextView
                android:id="@+id/crypto_password_show"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:typeface="monospace"
                android:layout_column="2"/>
        </GridLayout>

        <ProgressBar
            android:id="@+id/pbLoading"
            android:visibility="invisible"
            android:layout_width="match_parent"
            android:layout_height="2dp"
            android:layout_marginTop="8dp"
            android:layout_marginBottom="8dp"
            style="?android:attr/progressBarStyleHorizontal"/>
    </LinearLayout>

    <LinearLayout
        android:id="@+id/crypto_extra_show_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/rectangle"
        android:orientation="vertical"
        android:visibility="invisible">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textStyle="bold"
            android:text="Extra content: "/>

        <TextView
            android:id="@+id/crypto_extra_show"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:typeface="monospace"/>

    </LinearLayout>
</LinearLayout>