Implement Seekbar dialog and SingleChoice dialog
This commit is contained in:
1 parent
ce8a3d9bfb
commit
c8e4008b83
11 files changed
+225
-160
No files matched your search
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/seekbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/spacing_xlarge"
|
||||
android:layout_marginRight="@dimen/spacing_xlarge"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/text_value"
|
||||
android:layout_marginBottom="@dimen/spacing_xlarge"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="75"
|
||||
android:id="@+id/text_value"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/spacing_xlarge"
|
||||
android:layout_marginBottom="@dimen/spacing_large"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="%"
|
||||
android:id="@+id/text_units"
|
||||
android:layout_alignTop="@+id/text_value"
|
||||
android:layout_toEndOf="@+id/text_value"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:weightSum="1"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<SeekBar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/sliderSeekBar"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="Sample Text"
|
||||
android:id="@+id/sliderTextView"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -9,11 +9,11 @@
|
||||
<item>@string/jit64_recompiler</item>
|
||||
<item>@string/jitil_recompiler</item>
|
||||
</string-array>
|
||||
<string-array name="emuCoreValuesX86_64" translatable="false">
|
||||
<integer-array name="emuCoreValuesX86_64" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
</integer-array>
|
||||
|
||||
<!-- CPU core selection - ARM -->
|
||||
<string-array name="emuCoreEntriesARM" translatable="false">
|
||||
|
||||
@@ -334,6 +334,8 @@
|
||||
<string name="preferences_extensions">Extension Bindings</string>
|
||||
<string name="preferences_video">Video Settings</string>
|
||||
<string name="emulation_title">Emulation Activity</string>
|
||||
<string name="dialog_seekbar_pos">OK</string>
|
||||
<string name="dialog_seekbar_neg">Cancel</string>
|
||||
|
||||
<!-- Emulation Menu -->
|
||||
<string name="emulation_toggle_input">Toggle Touch Controls</string>
|
||||
|
||||
Reference in new issue
Block a user