diff options
Diffstat (limited to 'OpenPGP-Keychain/src/main/res/layout')
-rw-r--r-- | OpenPGP-Keychain/src/main/res/layout/api_apps_adapter_list_item.xml | 9 | ||||
-rw-r--r-- | OpenPGP-Keychain/src/main/res/layout/key_list_secret_activity.xml | 10 | ||||
-rw-r--r-- | OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml (renamed from OpenPGP-Keychain/src/main/res/layout/key_list_item.xml) | 13 |
3 files changed, 13 insertions, 19 deletions
diff --git a/OpenPGP-Keychain/src/main/res/layout/api_apps_adapter_list_item.xml b/OpenPGP-Keychain/src/main/res/layout/api_apps_adapter_list_item.xml index cb20a20af..c89540291 100644 --- a/OpenPGP-Keychain/src/main/res/layout/api_apps_adapter_list_item.xml +++ b/OpenPGP-Keychain/src/main/res/layout/api_apps_adapter_list_item.xml @@ -1,14 +1,13 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="?android:attr/listPreferredItemHeight" - android:gravity="left" - android:orientation="horizontal" > + android:layout_height="wrap_content" + android:paddingTop="4dp" + android:paddingBottom="4dp"> <ImageView android:id="@+id/api_apps_adapter_item_icon" android:layout_width="48dp" android:layout_height="48dp" - android:layout_alignParentBottom="true" android:layout_alignParentTop="true" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" @@ -22,7 +21,7 @@ android:layout_toRightOf="@+id/api_apps_adapter_item_icon" android:gravity="center_vertical" android:orientation="vertical" - android:text="Set in-code!" + android:text="Application Name" android:textAppearance="?android:attr/textAppearanceMedium" /> </RelativeLayout>
\ No newline at end of file diff --git a/OpenPGP-Keychain/src/main/res/layout/key_list_secret_activity.xml b/OpenPGP-Keychain/src/main/res/layout/key_list_secret_activity.xml index 13370f2e5..cd208a545 100644 --- a/OpenPGP-Keychain/src/main/res/layout/key_list_secret_activity.xml +++ b/OpenPGP-Keychain/src/main/res/layout/key_list_secret_activity.xml @@ -2,17 +2,21 @@ <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent" - android:layout_height="match_parent" > + android:layout_height="match_parent"> <FrameLayout android:layout_width="match_parent" - android:layout_height="match_parent" > + android:layout_height="match_parent"> <fragment android:id="@+id/key_list_secret_fragment" android:name="org.sufficientlysecure.keychain.ui.KeyListSecretFragment" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:paddingBottom="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:scrollbarStyle="outsideOverlay" /> </FrameLayout> <include layout="@layout/drawer_list" /> diff --git a/OpenPGP-Keychain/src/main/res/layout/key_list_item.xml b/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml index 650485d71..3c9ec6aee 100644 --- a/OpenPGP-Keychain/src/main/res/layout/key_list_item.xml +++ b/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml @@ -4,6 +4,8 @@ android:layout_height="?android:attr/listPreferredItemHeight" android:layout_marginRight="?android:attr/scrollbarSize" android:paddingLeft="8dp" + android:paddingTop="4dp" + android:paddingBottom="4dp" android:singleLine="true"> <TextView @@ -26,15 +28,4 @@ android:layout_alignParentLeft="true" android:layout_alignParentStart="true" /> - <TextView - android:id="@+id/revoked" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/revoked" - android:textColor="#e00" - android:layout_alignParentTop="true" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" /> - </RelativeLayout>
\ No newline at end of file |