dialog layout fixed

This commit is contained in:
Sergey Solovyev 2013-06-25 13:18:54 +04:00
parent 231fdde672
commit 334470bce4

View File

@ -1,59 +1,43 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent" a:layout_width="wrap_content"
a:layout_height="match_parent"
a:orientation="vertical">
<TextView
a:text="Choose layout"
a:layout_height="wrap_content"
a:layout_width="match_parent" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="match_parent" a:layout_height="match_parent"
a:orientation="vertical"> a:orientation="vertical">
<RadioGroup <RadioGroup
a:orientation="horizontal" a:orientation="horizontal"
a:layout_width="match_parent" a:layout_width="wrap_content"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:gravity="center_vertical|top"> a:gravity="center_vertical|top">
<RadioButton a:layout_width="0dp" <RadioButton a:layout_width="200dp"
a:id="@+id/wizard_simple_mode_radiobutton" a:id="@+id/wizard_simple_mode_radiobutton"
a:layout_weight="1"
a:text="@string/cpp_wizard_mode_simple" a:text="@string/cpp_wizard_mode_simple"
a:layout_height="wrap_content"/> a:layout_height="wrap_content"/>
<RadioButton a:layout_width="0dp" <RadioButton a:layout_width="200dp"
a:id="@+id/wizard_engineer_mode_radiobutton" a:id="@+id/wizard_engineer_mode_radiobutton"
a:layout_weight="1"
a:text="@string/cpp_wizard_mode_engineer" a:text="@string/cpp_wizard_mode_engineer"
a:layout_height="wrap_content"/> a:layout_height="wrap_content"/>
</RadioGroup> </RadioGroup>
<LinearLayout a:layout_width="match_parent" <LinearLayout a:layout_width="wrap_content"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:orientation="horizontal"> a:orientation="horizontal">
<TextView <TextView
a:layout_width="0dp" a:layout_width="200dp"
a:layout_weight="1" a:layout_height="wrap_content"
a:layout_height="match_parent" a:padding="6dp"
a:text="@string/cpp_wizard_mode_simple_description" a:text="@string/cpp_wizard_mode_simple_description"/>
a:padding="10dp"/>
<TextView <TextView
a:layout_width="0dp" a:layout_width="200dp"
a:layout_weight="1" a:layout_height="wrap_content"
a:layout_height="match_parent" a:padding="6dp"
a:text="@string/cpp_wizard_mode_engineer_description" a:text="@string/cpp_wizard_mode_engineer_description"/>
a:padding="10dp"/>
</LinearLayout>
</LinearLayout> </LinearLayout>