mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
wrap in scrollview so still usable in landscape orientation
This commit is contained in:
parent
4be4a8156a
commit
282f9ce237
1 changed files with 70 additions and 64 deletions
|
@ -1,72 +1,78 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
>
|
||||
|
||||
<View android:id="@+id/color_edit_sample"
|
||||
android:layout_width="96sp"
|
||||
android:layout_height="32sp"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginRight="6sp"
|
||||
android:focusable="false"
|
||||
android:clickable="false"
|
||||
/>
|
||||
|
||||
<TextView android:layout_height="wrap_content"
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:text="@string/red"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
>
|
||||
<SeekBar android:id="@+id/seek_red"
|
||||
style="@style/color_seek_text"
|
||||
/>
|
||||
<EditText android:id="@+id/edit_red"
|
||||
style="@style/color_edit_text"
|
||||
|
||||
<View android:id="@+id/color_edit_sample"
|
||||
android:layout_width="96sp"
|
||||
android:layout_height="32sp"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginRight="6sp"
|
||||
android:focusable="false"
|
||||
android:clickable="false"
|
||||
/>
|
||||
|
||||
<TextView android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:text="@string/red"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<SeekBar android:id="@+id/seek_red"
|
||||
style="@style/color_seek_text"
|
||||
/>
|
||||
<EditText android:id="@+id/edit_red"
|
||||
style="@style/color_edit_text"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:text="@string/green"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<SeekBar android:id="@+id/seek_green"
|
||||
style="@style/color_seek_text"
|
||||
/>
|
||||
<EditText android:id="@+id/edit_green"
|
||||
style="@style/color_edit_text"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:text="@string/blue"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<SeekBar android:id="@+id/seek_blue"
|
||||
style="@style/color_seek_text"
|
||||
/>
|
||||
|
||||
<EditText android:id="@+id/edit_blue"
|
||||
style="@style/color_edit_text"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:text="@string/green"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<SeekBar android:id="@+id/seek_green"
|
||||
style="@style/color_seek_text"
|
||||
/>
|
||||
<EditText android:id="@+id/edit_green"
|
||||
style="@style/color_edit_text"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:text="@string/blue"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<SeekBar android:id="@+id/seek_blue"
|
||||
style="@style/color_seek_text"
|
||||
/>
|
||||
|
||||
<EditText android:id="@+id/edit_blue"
|
||||
style="@style/color_edit_text"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
Loading…
Reference in a new issue