Remove ScrollView from setup wizard

Change-Id: I85f089301d1be8ed789a20049d21e2c371cad1c5
main
Tadashi G. Takaoka 2013-04-18 15:11:33 +09:00
parent 30f102e297
commit f10046bddc
1 changed files with 47 additions and 52 deletions

View File

@ -18,61 +18,56 @@
*/ */
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fillViewport="true"> android:background="@color/setup_background"
<RelativeLayout android:paddingLeft="@dimen/setup_horizontal_padding"
android:paddingRight="@dimen/setup_horizontal_padding"
android:paddingTop="16dp"
android:paddingBottom="16dp">
<TextView
android:id="@+id/setup_title"
style="@style/setupTitleStyle"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
<LinearLayout
android:id="@+id/setup_step_bullets"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/setup_background" android:layout_below="@id/setup_title"
android:paddingLeft="@dimen/setup_horizontal_padding"
android:paddingRight="@dimen/setup_horizontal_padding"
android:paddingTop="16dp" android:paddingTop="16dp"
android:paddingBottom="16dp"> android:orientation="horizontal">
<TextView <TextView
android:id="@+id/setup_title" android:id="@+id/setup_step1_bullet"
style="@style/setupTitleStyle" style="@style/setupStepBulletStyle"
android:layout_alignParentLeft="true" android:text="@string/setup_step1_bullet" />
android:layout_alignParentTop="true" /> <TextView
<LinearLayout android:id="@+id/setup_step2_bullet"
android:id="@+id/setup_step_bullets" style="@style/setupStepBulletStyle"
android:layout_width="match_parent" android:text="@string/setup_step2_bullet" />
android:layout_height="wrap_content" <TextView
android:layout_below="@id/setup_title" android:id="@+id/setup_step3_bullet"
android:paddingTop="16dp" style="@style/setupStepBulletStyle"
android:orientation="horizontal"> android:text="@string/setup_step3_bullet" />
<TextView </LinearLayout>
android:id="@+id/setup_step1_bullet" <com.android.inputmethod.latin.setup.SetupStepIndicatorView
style="@style/setupStepBulletStyle" android:id="@+id/setup_step_indicator"
android:text="@string/setup_step1_bullet" /> android:layout_width="match_parent"
<TextView android:layout_height="24dp"
android:id="@+id/setup_step2_bullet" android:layout_below="@id/setup_step_bullets" />
style="@style/setupStepBulletStyle" <FrameLayout
android:text="@string/setup_step2_bullet" /> android:layout_width="match_parent"
<TextView android:layout_height="wrap_content"
android:id="@+id/setup_step3_bullet" android:layout_below="@id/setup_step_indicator">
style="@style/setupStepBulletStyle" <include
android:text="@string/setup_step3_bullet" /> android:id="@+id/setup_step1"
</LinearLayout> layout="@layout/setup_step" />
<com.android.inputmethod.latin.setup.SetupStepIndicatorView <include
android:id="@+id/setup_step_indicator" android:id="@+id/setup_step2"
android:layout_width="match_parent" layout="@layout/setup_step" />
android:layout_height="24dp" <include
android:layout_below="@id/setup_step_bullets" /> android:id="@+id/setup_step3"
<FrameLayout layout="@layout/setup_step" />
android:layout_width="match_parent" </FrameLayout>
android:layout_height="wrap_content" </RelativeLayout>
android:layout_below="@id/setup_step_indicator">
<include
android:id="@+id/setup_step1"
layout="@layout/setup_step" />
<include
android:id="@+id/setup_step2"
layout="@layout/setup_step" />
<include
android:id="@+id/setup_step3"
layout="@layout/setup_step" />
</FrameLayout>
</RelativeLayout>
</ScrollView>