diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-18 04:22:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 04:22:06 +0100 |
commit | e7146309dec4fab504977186571228571efed009 (patch) | |
tree | b1302cb237f91c5f0ccb9863a0b0a2fb427a3c14 /src/android/app/src/main/res/layout-ldrtl/list_item_setting_input.xml | |
parent | Merge pull request #13017 from liamwhite/suspension (diff) | |
parent | android: Input mapping (diff) | |
download | yuzu-e7146309dec4fab504977186571228571efed009.tar yuzu-e7146309dec4fab504977186571228571efed009.tar.gz yuzu-e7146309dec4fab504977186571228571efed009.tar.bz2 yuzu-e7146309dec4fab504977186571228571efed009.tar.lz yuzu-e7146309dec4fab504977186571228571efed009.tar.xz yuzu-e7146309dec4fab504977186571228571efed009.tar.zst yuzu-e7146309dec4fab504977186571228571efed009.zip |
Diffstat (limited to 'src/android/app/src/main/res/layout-ldrtl/list_item_setting_input.xml')
-rw-r--r-- | src/android/app/src/main/res/layout-ldrtl/list_item_setting_input.xml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/layout-ldrtl/list_item_setting_input.xml b/src/android/app/src/main/res/layout-ldrtl/list_item_setting_input.xml new file mode 100644 index 000000000..583620dc6 --- /dev/null +++ b/src/android/app/src/main/res/layout-ldrtl/list_item_setting_input.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout 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:id="@+id/setting_body" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:gravity="center_vertical" + android:minHeight="72dp" + android:padding="16dp" + android:nextFocusLeft="@id/button_options"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_weight="1"> + + <com.google.android.material.textview.MaterialTextView + android:id="@+id/text_setting_name" + style="@style/TextAppearance.Material3.HeadlineMedium" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAlignment="viewStart" + android:textSize="17sp" + app:lineHeight="22dp" + tools:text="Setting Name" /> + + <com.google.android.material.textview.MaterialTextView + android:id="@+id/text_setting_value" + style="@style/TextAppearance.Material3.LabelMedium" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/spacing_small" + android:textAlignment="viewStart" + android:textStyle="bold" + android:textSize="13sp" + tools:text="1x" /> + + </LinearLayout> + + <Button + android:id="@+id/button_options" + style="?attr/materialIconButtonStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:nextFocusRight="@id/setting_body" + app:icon="@drawable/ic_more_vert" + app:iconSize="24dp" + app:iconTint="?attr/colorOnSurface" /> + + </LinearLayout> + +</RelativeLayout> |