summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar t8952024-01-25 20:46:03 -0500
committerGravatar t8952024-01-25 20:46:03 -0500
commitd23c4393fdb7a78a2f6e3db40ffccf5aa2fdeb79 (patch)
treefc6218370d24411dc30289d02996567735f280eb /src
parentandroid: Fix button click listener for build version name (diff)
downloadyuzu-d23c4393fdb7a78a2f6e3db40ffccf5aa2fdeb79.tar.gz
yuzu-d23c4393fdb7a78a2f6e3db40ffccf5aa2fdeb79.tar.xz
yuzu-d23c4393fdb7a78a2f6e3db40ffccf5aa2fdeb79.zip
android: Add 600dp layout for GameInfoFragment
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/res/layout-w600dp/fragment_game_info.xml155
1 files changed, 155 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/layout-w600dp/fragment_game_info.xml b/src/android/app/src/main/res/layout-w600dp/fragment_game_info.xml
new file mode 100644
index 000000000..90d95dbb7
--- /dev/null
+++ b/src/android/app/src/main/res/layout-w600dp/fragment_game_info.xml
@@ -0,0 +1,155 @@
1<?xml version="1.0" encoding="utf-8"?>
2<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools"
5 android:id="@+id/coordinator_about"
6 android:layout_width="match_parent"
7 android:layout_height="match_parent"
8 android:background="?attr/colorSurface">
9
10 <com.google.android.material.appbar.AppBarLayout
11 android:id="@+id/appbar_info"
12 android:layout_width="match_parent"
13 android:layout_height="wrap_content"
14 android:fitsSystemWindows="true"
15 android:touchscreenBlocksFocus="false">
16
17 <com.google.android.material.appbar.MaterialToolbar
18 android:id="@+id/toolbar_info"
19 android:layout_width="match_parent"
20 android:layout_height="?attr/actionBarSize"
21 android:touchscreenBlocksFocus="false"
22 app:navigationIcon="@drawable/ic_back" />
23
24 </com.google.android.material.appbar.AppBarLayout>
25
26 <androidx.core.widget.NestedScrollView
27 android:id="@+id/scroll_info"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:defaultFocusHighlightEnabled="false"
31 app:layout_behavior="@string/appbar_scrolling_view_behavior">
32
33 <LinearLayout
34 android:id="@+id/content_info"
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:orientation="horizontal"
38 android:paddingHorizontal="16dp"
39 android:baselineAligned="false">
40
41 <LinearLayout
42 android:layout_width="match_parent"
43 android:layout_height="match_parent"
44 android:orientation="vertical"
45 android:layout_weight="3"
46 android:gravity="top|center_horizontal"
47 android:paddingHorizontal="16dp">
48
49 <com.google.android.material.button.MaterialButton
50 android:id="@+id/button_copy"
51 style="@style/Widget.Material3.Button"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_marginTop="16dp"
55 android:text="@string/copy_details" />
56
57 <com.google.android.material.button.MaterialButton
58 android:id="@+id/button_verify_integrity"
59 style="@style/Widget.Material3.Button"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:layout_marginTop="10dp"
63 android:text="@string/verify_integrity" />
64
65 </LinearLayout>
66
67 <LinearLayout
68 android:layout_width="match_parent"
69 android:layout_height="match_parent"
70 android:orientation="vertical"
71 android:layout_weight="1">
72
73 <com.google.android.material.textfield.TextInputLayout
74 android:id="@+id/path"
75 android:layout_width="match_parent"
76 android:layout_height="wrap_content"
77 android:paddingTop="16dp">
78
79 <com.google.android.material.textfield.TextInputEditText
80 android:id="@+id/path_field"
81 android:layout_width="match_parent"
82 android:layout_height="wrap_content"
83 android:editable="false"
84 android:importantForAutofill="no"
85 android:inputType="none"
86 android:minHeight="48dp"
87 android:textAlignment="viewStart"
88 tools:text="1.0.0" />
89
90 </com.google.android.material.textfield.TextInputLayout>
91
92 <com.google.android.material.textfield.TextInputLayout
93 android:id="@+id/program_id"
94 android:layout_width="match_parent"
95 android:layout_height="wrap_content"
96 android:paddingTop="16dp">
97
98 <com.google.android.material.textfield.TextInputEditText
99 android:id="@+id/program_id_field"
100 android:layout_width="match_parent"
101 android:layout_height="wrap_content"
102 android:editable="false"
103 android:importantForAutofill="no"
104 android:inputType="none"
105 android:minHeight="48dp"
106 android:textAlignment="viewStart"
107 tools:text="1.0.0" />
108
109 </com.google.android.material.textfield.TextInputLayout>
110
111 <com.google.android.material.textfield.TextInputLayout
112 android:id="@+id/developer"
113 android:layout_width="match_parent"
114 android:layout_height="wrap_content"
115 android:paddingTop="16dp">
116
117 <com.google.android.material.textfield.TextInputEditText
118 android:id="@+id/developer_field"
119 android:layout_width="match_parent"
120 android:layout_height="wrap_content"
121 android:editable="false"
122 android:importantForAutofill="no"
123 android:inputType="none"
124 android:minHeight="48dp"
125 android:textAlignment="viewStart"
126 tools:text="1.0.0" />
127
128 </com.google.android.material.textfield.TextInputLayout>
129
130 <com.google.android.material.textfield.TextInputLayout
131 android:id="@+id/version"
132 android:layout_width="match_parent"
133 android:layout_height="wrap_content"
134 android:paddingTop="16dp">
135
136 <com.google.android.material.textfield.TextInputEditText
137 android:id="@+id/version_field"
138 android:layout_width="match_parent"
139 android:layout_height="wrap_content"
140 android:editable="false"
141 android:importantForAutofill="no"
142 android:inputType="none"
143 android:minHeight="48dp"
144 android:textAlignment="viewStart"
145 tools:text="1.0.0" />
146
147 </com.google.android.material.textfield.TextInputLayout>
148
149 </LinearLayout>
150
151 </LinearLayout>
152
153 </androidx.core.widget.NestedScrollView>
154
155</androidx.coordinatorlayout.widget.CoordinatorLayout>