encrypted export WIP
This commit is contained in:
39
OpenKeychain/src/main/res/layout/backup_code_fragment.xml
Normal file
39
OpenKeychain/src/main/res/layout/backup_code_fragment.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="Your key backup will be encrypted with this code:"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:padding="10dp"
|
||||
android:layout_margin="20dp"
|
||||
android:id="@+id/backup_code"
|
||||
tools:text="abcde-fghij-klmno-pqrst"
|
||||
style="?android:textAppearanceLarge"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_margin="10dp"
|
||||
android:text="Ok, I wrote it down!"
|
||||
android:id="@+id/button_ok"
|
||||
style="?buttonStyle"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
31
OpenKeychain/src/main/res/layout/drawer_backup_activity.xml
Normal file
31
OpenKeychain/src/main/res/layout/drawer_backup_activity.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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_white" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<include layout="@layout/notify_area" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/content_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/backup_fragment"
|
||||
android:name="org.sufficientlysecure.keychain.ui.BackupCodeDisplayFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -30,6 +30,7 @@
|
||||
<string name="title_export_keys">"Backup Keys"</string>
|
||||
<string name="title_key_not_found">"Key Not Found"</string>
|
||||
<string name="title_send_key">"Upload to Keyserver"</string>
|
||||
<string name="title_backup">"Backup Key"</string>
|
||||
<string name="title_certify_key">"Confirm Key"</string>
|
||||
<string name="title_key_details">"Key Details"</string>
|
||||
<string name="title_help">"Help"</string>
|
||||
|
||||
Reference in New Issue
Block a user