passphraseactivity: add inline spinner to password dialog

This commit is contained in:
Vincent Breitmoser committed 2016-01-06 16:24:07 +01:00
1 parent f8d6b0bb46
commit 840d57bf3b
6 files changed
+130 -29

No files matched your search

@@ -4,6 +4,7 @@
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="24dp"
@@ -33,6 +34,27 @@
android:ems="10"
android:layout_gravity="center_horizontal" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_vertical"
android:layout_margin="6dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Remember for "
android:textAppearance="@android:style/TextAppearance.Medium" />
<org.sufficientlysecure.keychain.ui.widget.CacheTTLSpinner
android:id="@+id/ttl_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</org.sufficientlysecure.keychain.ui.widget.CacheTTLSpinner>
</LinearLayout>
</LinearLayout>
<LinearLayout
@@ -0,0 +1,16 @@
<?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="match_parent"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/simple_item_text"
android:textAppearance="@android:style/TextAppearance.Medium"
tools:text="itemtext" />
</LinearLayout>