aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/encrypt_files_activity.xml
blob: 168e6d0be2afebe06d9b0ad0822a3a904994f0c9 (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="-25dp"
        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_file_fragment"
            android:name="org.sufficientlysecure.keychain.ui.EncryptFilesFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

    </LinearLayout>
</RelativeLayout>