diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-11-17 00:58:22 +0100 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2016-01-06 16:24:12 +0100 |
commit | 1754a88ac39e061dd36afd72f8a04e8d5e59751c (patch) | |
tree | 7a1172068f988bfe8f81bc3a8cff4cf5d9a31ac6 /OpenKeychain/src/main/res/layout/settings_cache_ttl_item.xml | |
parent | 31cc083163c634ac1f11d7aa22c679cda24ce892 (diff) | |
download | open-keychain-1754a88ac39e061dd36afd72f8a04e8d5e59751c.tar.gz open-keychain-1754a88ac39e061dd36afd72f8a04e8d5e59751c.tar.bz2 open-keychain-1754a88ac39e061dd36afd72f8a04e8d5e59751c.zip |
inline-ttl: create ttl choice customization setting activity
Diffstat (limited to 'OpenKeychain/src/main/res/layout/settings_cache_ttl_item.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/settings_cache_ttl_item.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/settings_cache_ttl_item.xml b/OpenKeychain/src/main/res/layout/settings_cache_ttl_item.xml new file mode 100644 index 000000000..039f07b24 --- /dev/null +++ b/OpenKeychain/src/main/res/layout/settings_cache_ttl_item.xml @@ -0,0 +1,36 @@ +<?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:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?listPreferredItemHeight" + android:orientation="horizontal" + android:gravity="center_vertical" + android:background="?selectableItemBackground"> + + <CheckBox + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/ttl_selected" + android:layout_margin="8dp" + /> + + <TextView + android:layout_width="0dp" + android:layout_height="wrap_content" + android:id="@+id/ttl_title" + android:layout_weight="1" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textStyle="bold" + tools:text="One Hour" + /> + + <RadioButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/ttl_default" + android:padding="4dp" + /> + +</LinearLayout>
\ No newline at end of file |