aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/foldable_linearlayout.xml
blob: 13cf7c2257f3d092f9b6d5afc09ca8e6cf142a31 (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
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="match_parent"
              android:layout_height="match_parent">
    <LinearLayout
            android:id="@+id/foldableControl"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:clickable="true">

        <ImageView
                android:id="@+id/foldableIcon"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_marginRight="10dp"
                android:src="@drawable/ic_action_expand"/>

        <TextView
                android:id="@+id/foldableText"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/none"
                android:layout_gravity="center_vertical"
                android:textColor="@color/emphasis"/>
    </LinearLayout>

    <LinearLayout
            android:id="@+id/foldableContainer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:visibility="gone"/>
</LinearLayout>