mailiverse/android/SlidingMenu/example/res/layout/properties.xml
Timothy Prepscius 5fb69ebea8 adds the android
2013-08-09 16:48:44 -04:00

207 lines
7.7 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/list_padding" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/list_padding"
android:paddingTop="@dimen/list_padding" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="Mode"
android:textAppearance="?android:attr/textAppearanceMedium" />
<RadioGroup
android:id="@+id/mode"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<RadioButton
android:id="@+id/left"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/left" />
<RadioButton
android:id="@+id/right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/right" />
<RadioButton
android:id="@+id/left_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/left_and_right" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/list_padding"
android:paddingTop="@dimen/list_padding" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="Touch Mode Above"
android:textAppearance="?android:attr/textAppearanceMedium" />
<RadioGroup
android:id="@+id/touch_above"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<RadioButton
android:id="@+id/touch_above_full"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="Fullscreen" />
<RadioButton
android:id="@+id/touch_above_margin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Margin" />
<RadioButton
android:id="@+id/touch_above_none"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="None" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/list_padding"
android:paddingTop="@dimen/list_padding"
android:visibility="gone" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="Touch Mode Behind"
android:textAppearance="?android:attr/textAppearanceMedium" />
<RadioGroup
android:id="@+id/touch_behind"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<RadioButton
android:id="@+id/touch_behind_full"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="Fullscreen" />
<RadioButton
android:id="@+id/touch_behind_margin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Margin" />
</RadioGroup>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/list_padding"
android:text="Scroll Scale"
android:textAppearance="?android:attr/textAppearanceMedium" />
<SeekBar
android:id="@+id/scroll_scale"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/list_padding"
android:text="Behind Width"
android:textAppearance="?android:attr/textAppearanceMedium"
android:visibility="gone" />
<SeekBar
android:id="@+id/behind_width"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/list_padding" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="Shadow"
android:textAppearance="?android:attr/textAppearanceMedium" />
<CheckBox
android:id="@+id/shadow_enabled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Enabled?" />
</LinearLayout>
<SeekBar
android:id="@+id/shadow_width"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/list_padding" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="Fade"
android:textAppearance="?android:attr/textAppearanceMedium" />
<CheckBox
android:id="@+id/fade_enabled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Enabled?" />
</LinearLayout>
<SeekBar
android:id="@+id/fade_degree"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>