aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/encrypt_text_activity.xml
blob: 67f17fa811153f3b3c21e0000b9e11a33dafcd98 (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"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <include
        android:id="@+id/toolbar_include"
        layout="@layout/toolbar_standalone" />

    <!--
        fitsSystemWindows and layout_marginTop from
        https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
    -->
    <LinearLayout
        android:layout_below="@id/toolbar_include"
        android:id="@+id/content_frame"
        android:fitsSystemWindows="true"
        android:layout_marginTop="@dimen/minus_statusbar_height"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <include layout="@layout/notify_area" />

        <FrameLayout
            android:id="@+id/encrypt_pager_mode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical" />

        <fragment
            android:id="@+id/encrypt_text_fragment"
            android:name="org.sufficientlysecure.keychain.ui.EncryptTextFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

    </LinearLayout>
</RelativeLayout>