summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2023-03-06 16:03:35 -0500
committerGravatar bunnei2023-06-03 00:05:35 -0700
commit7cd72a7c6df242f4e47099647a095f76698bb400 (patch)
tree1fe335d5480d031f881b6b66a19e6f9e96a1df86 /src/android
parentandroid: Convert Settings to Kotlin (diff)
downloadyuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.gz
yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.xz
yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.zip
android: Use material slider in settings dialog
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/res/layout/dialog_slider.xml (renamed from src/android/app/src/main/res/layout/dialog_seekbar.xml)40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/android/app/src/main/res/layout/dialog_seekbar.xml b/src/android/app/src/main/res/layout/dialog_slider.xml
index 35abecfcb..8c84cb606 100644
--- a/src/android/app/src/main/res/layout/dialog_seekbar.xml
+++ b/src/android/app/src/main/res/layout/dialog_slider.xml
@@ -1,37 +1,37 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools" 3 xmlns:tools="http://schemas.android.com/tools"
4 android:orientation="vertical"
5 android:layout_width="match_parent" 4 android:layout_width="match_parent"
6 android:layout_height="wrap_content"> 5 android:layout_height="wrap_content"
7 6 android:orientation="vertical">
8 <SeekBar
9 android:id="@+id/seekbar"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:layout_marginLeft="@dimen/spacing_large"
13 android:layout_marginRight="@dimen/spacing_large"
14 android:layout_alignParentEnd="true"
15 android:layout_alignParentStart="true"
16 android:layout_below="@+id/text_value"
17 android:layout_marginBottom="@dimen/spacing_medlarge" />
18 7
19 <TextView 8 <TextView
9 android:id="@+id/text_value"
20 android:layout_width="wrap_content" 10 android:layout_width="wrap_content"
21 android:layout_height="wrap_content" 11 android:layout_height="wrap_content"
22 tools:text="75"
23 android:id="@+id/text_value"
24 android:layout_alignParentTop="true" 12 android:layout_alignParentTop="true"
25 android:layout_centerHorizontal="true" 13 android:layout_centerHorizontal="true"
14 android:layout_marginBottom="@dimen/spacing_medlarge"
26 android:layout_marginTop="@dimen/spacing_medlarge" 15 android:layout_marginTop="@dimen/spacing_medlarge"
27 android:layout_marginBottom="@dimen/spacing_medlarge" /> 16 tools:text="75" />
28 17
29 <TextView 18 <TextView
19 android:id="@+id/text_units"
30 android:layout_width="wrap_content" 20 android:layout_width="wrap_content"
31 android:layout_height="wrap_content" 21 android:layout_height="wrap_content"
32 tools:text="%"
33 android:id="@+id/text_units"
34 android:layout_alignTop="@+id/text_value" 22 android:layout_alignTop="@+id/text_value"
35 android:layout_toEndOf="@+id/text_value" /> 23 android:layout_toEndOf="@+id/text_value"
24 tools:text="%" />
25
26 <com.google.android.material.slider.Slider
27 android:id="@+id/slider"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:layout_alignParentEnd="true"
31 android:layout_alignParentStart="true"
32 android:layout_below="@+id/text_value"
33 android:layout_marginBottom="@dimen/spacing_medlarge"
34 android:layout_marginLeft="@dimen/spacing_large"
35 android:layout_marginRight="@dimen/spacing_large" />
36 36
37</RelativeLayout> \ No newline at end of file 37</RelativeLayout>