123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.widget.LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context="io.github.sdlpal.SettingsActivity"
- tools:showIn="@layout/activity_settings">
- <ScrollView
- android:id="@+id/svParent"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/label_folder"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="-1dp" />
- <EditText
- android:id="@+id/edFolder"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ems="10"
- android:inputType="textUri"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="16dp" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swMsgFile"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_usemsgfile"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="191dp" />
- <EditText
- android:id="@+id/edMsgFile"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ems="10"
- android:inputType="textUri" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swFontFile"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_usefontfile" />
- <EditText
- android:id="@+id/edFontFile"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textUri" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_loglevel" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spLogLevel"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/log_level" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swLogFile"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_uselogfile" />
- <EditText
- android:id="@+id/edLogFile"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textUri" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swTouch"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_touch"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="228dp" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swAVI"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_avi"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="228dp" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swAspect"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_aspect"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="269dp" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swStereo"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_stereo"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="311dp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_musvol" />
- <SeekBar
- android:id="@+id/sbMusVol"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:max="100" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_sfxvol" />
- <SeekBar
- android:id="@+id/sbSFXVol"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:max="100" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_quality" />
- <SeekBar
- android:id="@+id/sbQuality"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:max="4" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_audrate" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spSample"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/audio_rate"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_bufsize" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spBuffer"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/buffer_size" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_cdfmt" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spCDFmt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/cd_format" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_musfmt" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spMusFmt"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/music_format" />
- <LinearLayout
- android:id="@+id/layoutOPL"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_oplrate" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spOPLRate"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/opl_rate" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/label_opl" />
- <android.support.v7.widget.AppCompatSpinner
- android:id="@+id/spOPL"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/opl_type" />
- <android.support.v7.widget.SwitchCompat
- android:id="@+id/swSurround"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/action_suropl" />
- </LinearLayout>
- <android.support.v7.widget.GridLayout
- app:columnCount="3"
- app:rowCount="1"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <Button
- android:id="@+id/btnDefault"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_centerVertical="true"
- android:text="@string/action_default"
- app:layout_column="0"
- app:layout_columnWeight="1" />
- <Button
- android:id="@+id/btnReset"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:text="@string/action_restore"
- app:layout_column="1"
- app:layout_columnWeight="1" />
- <Button
- android:id="@+id/btnFinish"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:text="@string/action_finish"
- app:layout_column="2"
- app:layout_columnWeight="1" />
- </android.support.v7.widget.GridLayout>
- </LinearLayout>
- </ScrollView>
- </android.widget.LinearLayout>
|