diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-06 22:03:35 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:35 +0200 |
commit | 7cd72a7c6df242f4e47099647a095f76698bb400 (patch) | |
tree | 1fe335d5480d031f881b6b66a19e6f9e96a1df86 | |
parent | android: Convert Settings to Kotlin (diff) | |
download | yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.gz yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.bz2 yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.lz yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.xz yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.tar.zst yuzu-7cd72a7c6df242f4e47099647a095f76698bb400.zip |
-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 @@ <?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_large" - android:layout_marginRight="@dimen/spacing_large" - android:layout_alignParentEnd="true" - android:layout_alignParentStart="true" - android:layout_below="@+id/text_value" - android:layout_marginBottom="@dimen/spacing_medlarge" /> + android:layout_height="wrap_content" + android:orientation="vertical"> <TextView + android:id="@+id/text_value" 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_marginBottom="@dimen/spacing_medlarge" android:layout_marginTop="@dimen/spacing_medlarge" - android:layout_marginBottom="@dimen/spacing_medlarge" /> + tools:text="75" /> <TextView + android:id="@+id/text_units" 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" /> + android:layout_toEndOf="@+id/text_value" + tools:text="%" /> + + <com.google.android.material.slider.Slider + android:id="@+id/slider" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_alignParentStart="true" + android:layout_below="@+id/text_value" + android:layout_marginBottom="@dimen/spacing_medlarge" + android:layout_marginLeft="@dimen/spacing_large" + android:layout_marginRight="@dimen/spacing_large" /> -</RelativeLayout>
\ No newline at end of file +</RelativeLayout> |