diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-10-10 19:05:30 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-10-10 19:05:30 +0200 |
commit | 2dcd070014fb640e3e99fabe75a3af3437c07ec3 (patch) | |
tree | 2e3288fb8e2d6634e9a414c000b75e05d67cfc45 /OpenKeychain/src/main/res/layout | |
parent | 73ccff9537f8be9341f284ca3241f14f529ab067 (diff) | |
download | open-keychain-2dcd070014fb640e3e99fabe75a3af3437c07ec3.tar.gz open-keychain-2dcd070014fb640e3e99fabe75a3af3437c07ec3.tar.bz2 open-keychain-2dcd070014fb640e3e99fabe75a3af3437c07ec3.zip |
keylist: add safeslinger exchange button to secret keys
Diffstat (limited to 'OpenKeychain/src/main/res/layout')
-rw-r--r-- | OpenKeychain/src/main/res/layout/key_list_item.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/key_list_item.xml b/OpenKeychain/src/main/res/layout/key_list_item.xml index bddc2ad97..7428d68e2 100644 --- a/OpenKeychain/src/main/res/layout/key_list_item.xml +++ b/OpenKeychain/src/main/res/layout/key_list_item.xml @@ -38,6 +38,32 @@ android:textAppearance="?android:attr/textAppearanceSmall" /> </LinearLayout> + <LinearLayout + android:id="@+id/slinger_view" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:orientation="horizontal"> + + <View + android:layout_width="1dip" + android:layout_height="match_parent" + android:gravity="right" + android:layout_marginBottom="8dp" + android:layout_marginTop="8dp" + android:background="?android:attr/listDivider" /> + + <ImageButton + android:id="@+id/slinger_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:src="@drawable/ic_action_safeslinger" + android:padding="16dp" + style="@style/SelectableItem" /> + + </LinearLayout> + <ImageView android:id="@+id/status_icon" android:layout_width="wrap_content" |