aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/foldable_linearlayout.xml
blob: 3d2fb688b96efb53c3dde3f15136f35aad4c8935 (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
<?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">

        <ImageButton
                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"
                android:background="@drawable/button_no_style"/>

        <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>