wizard fix

This commit is contained in:
Sergey Solovyev 2013-06-25 13:56:01 +04:00
parent 895d808fb0
commit e267e314ab
2 changed files with 16 additions and 8 deletions

View File

@ -5,12 +5,14 @@
style="?cpp_dialog_style" style="?cpp_dialog_style"
a:orientation="vertical"> a:orientation="vertical">
<FrameLayout <LinearLayout
a:orientation="vertical" a:orientation="vertical"
a:id="@+id/wizard_content" a:id="@+id/wizard_content"
a:layout_width="match_parent" a:layout_width="match_parent"
a:layout_height="0dp" a:layout_height="0dp"
a:layout_weight="1" /> a:layout_weight="1"
a:gravity="center"
a:minHeight="150dp"/>
<LinearLayout <LinearLayout
a:orientation="horizontal" a:orientation="horizontal"

View File

@ -7,34 +7,40 @@
<RadioGroup <RadioGroup
a:orientation="horizontal" a:orientation="horizontal"
a:layout_width="wrap_content" a:layout_width="match_parent"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:gravity="center_vertical|top"> a:gravity="center_vertical|top">
<RadioButton a:layout_width="200dp" <RadioButton a:layout_width="0dp"
a:layout_weight="1"
a:layout_margin="6dp"
a:id="@+id/wizard_simple_mode_radiobutton" a:id="@+id/wizard_simple_mode_radiobutton"
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="200dp" <RadioButton a:layout_width="0dp"
a:layout_weight="1"
a:layout_margin="6dp"
a:id="@+id/wizard_engineer_mode_radiobutton" a:id="@+id/wizard_engineer_mode_radiobutton"
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="wrap_content" <LinearLayout a:layout_width="match_parent"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:orientation="horizontal"> a:orientation="horizontal">
<TextView <TextView
a:layout_width="200dp" a:layout_width="0dp"
a:layout_weight="1"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:padding="6dp" a:padding="6dp"
a:text="@string/cpp_wizard_mode_simple_description"/> a:text="@string/cpp_wizard_mode_simple_description"/>
<TextView <TextView
a:layout_width="200dp" a:layout_width="0dp"
a:layout_weight="1"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:padding="6dp" a:padding="6dp"
a:text="@string/cpp_wizard_mode_engineer_description"/> a:text="@string/cpp_wizard_mode_engineer_description"/>