wizard fixes

This commit is contained in:
Sergey Solovyev
2013-07-18 11:38:33 +04:00
parent 53e23570a0
commit 525165a0c8
6 changed files with 58 additions and 43 deletions

View File

@@ -23,37 +23,43 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/wizard_layout"
style="?cpp_dialog_style"
a:orientation="vertical">
a:id="@+id/wizard_layout"
style="?cpp_dialog_style"
a:orientation="vertical">
<FrameLayout
a:orientation="vertical"
a:id="@+id/wizard_content"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:padding="6dp"
a:gravity="center"/>
a:orientation="vertical"
a:id="@+id/wizard_content"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:padding="6dp"
a:gravity="center" />
<LinearLayout
a:orientation="horizontal"
a:layout_width="match_parent"
a:layout_height="wrap_content">
a:orientation="horizontal"
a:layout_width="match_parent"
a:layout_height="wrap_content">
<Button
a:id="@+id/wizard_prev_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="@string/cpp_wizard_back"/>
a:id="@+id/wizard_prev_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:singleLine="true"
a:lines="1"
a:maxLines="1"
a:text="@string/cpp_wizard_back" />
<Button
a:id="@+id/wizard_next_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="@string/cpp_wizard_next"/>
a:id="@+id/wizard_next_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:singleLine="true"
a:lines="1"
a:maxLines="1"
a:text="@string/cpp_wizard_next" />
</LinearLayout>

View File

@@ -29,6 +29,7 @@
a:orientation="vertical">
<TextView
a:id="@+id/wizard_dragbutton_description_textview"
a:text="@string/cpp_wizard_dragbutton_description"
a:layout_height="wrap_content"
a:layout_width="match_parent"/>
@@ -42,7 +43,7 @@
a:layout_width="match_parent"/>
<org.solovyev.android.view.drag.DirectionDragButton
a:layout_margin="30dp"
a:layout_margin="10dp"
a:layout_height="100dp"
a:layout_width="100dp"
a:minWidth="100dp"