Fix margins of dialog views

This commit is contained in:
Dominik Schürmann 2015-02-27 01:26:04 +01:00
parent 6dce7c88d8
commit 6bd4e1e5b3
6 changed files with 30 additions and 21 deletions

View File

@ -6,10 +6,10 @@
<TableLayout <TableLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="8dp" android:paddingTop="16dp"
android:paddingBottom="8dp" android:paddingBottom="16dp"
android:paddingLeft="16dp" android:paddingLeft="24dp"
android:paddingRight="16dp" android:paddingRight="24dp"
android:stretchColumns="1"> android:stretchColumns="1">
<TextView <TextView

View File

@ -3,10 +3,10 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="8dp" android:paddingTop="16dp"
android:paddingRight="8dp" android:paddingBottom="16dp"
android:paddingTop="8dp" android:paddingLeft="24dp"
android:paddingBottom="8dp"> android:paddingRight="24dp">
<org.sufficientlysecure.keychain.ui.widget.AutoCorrectAutoCompleteTextView <org.sufficientlysecure.keychain.ui.widget.AutoCorrectAutoCompleteTextView
android:id="@+id/add_user_id_address" android:id="@+id/add_user_id_address"

View File

@ -1,14 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<CheckBox <CheckBox
android:id="@+id/edit_subkey_expiry_no_expiry" android:id="@+id/edit_subkey_expiry_no_expiry"
android:layout_marginTop="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:checked="true" android:checked="true"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="5dip" android:paddingTop="16dp"
android:paddingRight="5dip"> android:paddingBottom="16dp"
android:paddingLeft="24dp"
android:paddingRight="24dp">
<TextView <TextView
android:id="@+id/message" android:id="@+id/message"
@ -25,10 +27,11 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="top|left" android:gravity="top|left"
android:inputType="textMultiLine|textUri" android:inputType="textMultiLine|textUri"
android:lines="4" android:lines="1"
android:maxLines="10" android:maxLines="1"
android:minLines="2" android:minLines="1"
android:scrollbars="vertical" /> android:scrollbars="vertical"
android:layout_gravity="center_vertical" />
<ImageButton <ImageButton
android:id="@+id/btn_browse" android:id="@+id/btn_browse"

View File

@ -3,8 +3,10 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="16dp" android:paddingTop="16dp"
android:paddingRight="16dp"> android:paddingBottom="16dp"
android:paddingLeft="24dp"
android:paddingRight="24dp">
<CheckBox <CheckBox
android:id="@+id/passphrase_no_passphrase" android:id="@+id/passphrase_no_passphrase"

View File

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -8,7 +12,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/mainMessage" android:id="@+id/mainMessage"
android:layout_margin="4dp"
android:textAppearance="?android:textAppearanceMedium" /> android:textAppearance="?android:textAppearanceMedium" />
</LinearLayout> </LinearLayout>