committed by
Inix
7 changed files with 171 additions and 11 deletions
-
1src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt
-
87src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt
-
8src/android/app/src/main/jni/native.cpp
-
6src/android/app/src/main/res/layout-w600dp/fragment_game_properties.xml
-
59src/android/app/src/main/res/layout/dialog_edit_playtime.xml
-
4src/android/app/src/main/res/layout/fragment_game_properties.xml
-
17src/android/app/src/main/res/values/strings.xml
@ -0,0 +1,59 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|||
xmlns:app="http://schemas.android.com/apk/res-auto" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="horizontal" |
|||
android:padding="16dp"> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/layout_hours" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_weight="1" |
|||
android:layout_marginEnd="8dp" |
|||
android:hint="@string/hours" |
|||
app:boxBackgroundMode="outline"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/input_hours" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:inputType="number" |
|||
android:maxLength="4" /> |
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/layout_minutes" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_weight="1" |
|||
android:layout_marginEnd="8dp" |
|||
android:hint="@string/minutes" |
|||
app:boxBackgroundMode="outline"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/input_minutes" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:inputType="number" |
|||
android:maxLength="2" /> |
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/layout_seconds" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_weight="1" |
|||
android:hint="@string/seconds" |
|||
app:boxBackgroundMode="outline"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/input_seconds" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:inputType="number" |
|||
android:maxLength="2" /> |
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
</LinearLayout> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue