more layout fixes

This commit is contained in:
Dominik Schürmann 2014-01-18 20:16:34 +01:00
parent 803a1e9481
commit 7617e9be2d
3 changed files with 62 additions and 51 deletions

View file

@ -10,7 +10,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_margin="4dp" android:layout_marginBottom="4dp"
android:layout_marginRight="4dp"
android:layout_marginTop="4dp"
android:text="@string/api_settings_select_key" android:text="@string/api_settings_select_key"
bootstrapbutton:bb_icon_left="fa-key" bootstrapbutton:bb_icon_left="fa-key"
bootstrapbutton:bb_size="default" bootstrapbutton:bb_size="default"
@ -19,6 +21,9 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="4dp"
android:layout_marginTop="4dp"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="16dp" > android:paddingLeft="16dp" >

View file

@ -1,17 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent" >
android:orientation="vertical"
android:padding="16dp" > <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:orientation="vertical" >
<TextView <TextView
style="@style/SectionHeader" style="@style/SectionHeader"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:layout_marginTop="14dp"
android:text="@string/section_signing_key" /> android:text="@string/section_signing_key" />
<fragment <fragment
@ -33,7 +39,7 @@
<CheckBox <CheckBox
android:id="@+id/sign_key_upload_checkbox" android:id="@+id/sign_key_upload_checkbox"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
@ -57,5 +63,6 @@
android:text="@string/btn_sign" android:text="@string/btn_sign"
bootstrapbutton:bb_icon_left="fa-pencil" bootstrapbutton:bb_icon_left="fa-pencil"
bootstrapbutton:bb_type="info" /> bootstrapbutton:bb_type="info" />
</LinearLayout>
</LinearLayout> </ScrollView>

View file

@ -6,7 +6,6 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="?android:attr/scrollbarSize"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="16dp" > android:paddingRight="16dp" >