diff options
author | knuthy <knuthy@gmail.com> | 2014-08-10 18:28:10 +0100 |
---|---|---|
committer | knuthy <knuthy@gmail.com> | 2014-08-10 18:28:10 +0100 |
commit | 9823d1cfc882bdc9ac0aeffd77396abd684e6713 (patch) | |
tree | 8ba60dff1b8d8f3cf45b07e93489e74512f57633 /app/src/main/res/layout | |
parent | 03acd8b1b133b92754809bb34a19d50614c376f5 (diff) |
implemented key-id recovery from OpenKeychain
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_to_clone_or_not.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/key_id.xml | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_to_clone_or_not.xml b/app/src/main/res/layout/fragment_to_clone_or_not.xml index 90a1ac32..d25819e4 100644 --- a/app/src/main/res/layout/fragment_to_clone_or_not.xml +++ b/app/src/main/res/layout/fragment_to_clone_or_not.xml @@ -34,6 +34,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:background="@android:color/holo_red_light" + android:onClick="initRepository" android:text="@string/initialize"/> </LinearLayout> diff --git a/app/src/main/res/layout/key_id.xml b/app/src/main/res/layout/key_id.xml new file mode 100644 index 00000000..00cbedde --- /dev/null +++ b/app/src/main/res/layout/key_id.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin" + android:background="#eee"> + + <GridLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/rectangle"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Key-id: " + android:layout_column="0" + android:layout_gravity="center_vertical"/> + <TextView + android:id="@+id/crypto_key_ids" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="No key selected" + android:layout_marginLeft="@dimen/activity_horizontal_margin" + android:textStyle="bold" + android:textColor="@android:color/holo_purple" + android:layout_column="1" + android:layout_gravity="center_vertical"/> + <ImageButton + android:id="@+id/crypto_get_key_ids" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_column="3" + android:src="@drawable/ico_key" + android:background="@android:color/transparent" + android:onClick="handleClick" + android:layout_gravity="center_vertical"/> + </GridLayout> + + +</LinearLayout>
\ No newline at end of file |