Browse Source
Merge pull request #12796 from t895/controller-optimizations
Merge pull request #12796 from t895/controller-optimizations
android: Controller focus optimizationsnce_cpp
committed by
GitHub
25 changed files with 247 additions and 24 deletions
-
8src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
-
2src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt
-
29src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
-
8src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt
-
5src/android/app/src/main/res/layout-w600dp/fragment_about.xml
-
155src/android/app/src/main/res/layout-w600dp/fragment_game_info.xml
-
1src/android/app/src/main/res/layout-w600dp/fragment_game_properties.xml
-
1src/android/app/src/main/res/layout/card_driver_option.xml
-
6src/android/app/src/main/res/layout/card_folder.xml
-
5src/android/app/src/main/res/layout/fragment_about.xml
-
4src/android/app/src/main/res/layout/fragment_addons.xml
-
4src/android/app/src/main/res/layout/fragment_applet_launcher.xml
-
2src/android/app/src/main/res/layout/fragment_driver_manager.xml
-
5src/android/app/src/main/res/layout/fragment_early_access.xml
-
8src/android/app/src/main/res/layout/fragment_emulation.xml
-
3src/android/app/src/main/res/layout/fragment_folders.xml
-
3src/android/app/src/main/res/layout/fragment_game_info.xml
-
5src/android/app/src/main/res/layout/fragment_game_properties.xml
-
1src/android/app/src/main/res/layout/fragment_games.xml
-
3src/android/app/src/main/res/layout/fragment_home_settings.xml
-
4src/android/app/src/main/res/layout/fragment_installables.xml
-
4src/android/app/src/main/res/layout/fragment_licenses.xml
-
2src/android/app/src/main/res/layout/fragment_settings.xml
-
2src/android/app/src/main/res/layout/list_item_addon.xml
-
1src/android/app/src/main/res/layout/list_item_settings_header.xml
@ -0,0 +1,155 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<androidx.coordinatorlayout.widget.CoordinatorLayout 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/coordinator_about" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:background="?attr/colorSurface"> |
|||
|
|||
<com.google.android.material.appbar.AppBarLayout |
|||
android:id="@+id/appbar_info" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:fitsSystemWindows="true" |
|||
android:touchscreenBlocksFocus="false"> |
|||
|
|||
<com.google.android.material.appbar.MaterialToolbar |
|||
android:id="@+id/toolbar_info" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="?attr/actionBarSize" |
|||
android:touchscreenBlocksFocus="false" |
|||
app:navigationIcon="@drawable/ic_back" /> |
|||
|
|||
</com.google.android.material.appbar.AppBarLayout> |
|||
|
|||
<androidx.core.widget.NestedScrollView |
|||
android:id="@+id/scroll_info" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:defaultFocusHighlightEnabled="false" |
|||
app:layout_behavior="@string/appbar_scrolling_view_behavior"> |
|||
|
|||
<LinearLayout |
|||
android:id="@+id/content_info" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="horizontal" |
|||
android:paddingHorizontal="16dp" |
|||
android:baselineAligned="false"> |
|||
|
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:orientation="vertical" |
|||
android:layout_weight="3" |
|||
android:gravity="top|center_horizontal" |
|||
android:paddingHorizontal="16dp"> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/button_copy" |
|||
style="@style/Widget.Material3.Button" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="16dp" |
|||
android:text="@string/copy_details" /> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/button_verify_integrity" |
|||
style="@style/Widget.Material3.Button" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="10dp" |
|||
android:text="@string/verify_integrity" /> |
|||
|
|||
</LinearLayout> |
|||
|
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:orientation="vertical" |
|||
android:layout_weight="1"> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/path" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingTop="16dp"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/path_field" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:editable="false" |
|||
android:importantForAutofill="no" |
|||
android:inputType="none" |
|||
android:minHeight="48dp" |
|||
android:textAlignment="viewStart" |
|||
tools:text="1.0.0" /> |
|||
|
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/program_id" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingTop="16dp"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/program_id_field" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:editable="false" |
|||
android:importantForAutofill="no" |
|||
android:inputType="none" |
|||
android:minHeight="48dp" |
|||
android:textAlignment="viewStart" |
|||
tools:text="1.0.0" /> |
|||
|
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/developer" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingTop="16dp"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/developer_field" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:editable="false" |
|||
android:importantForAutofill="no" |
|||
android:inputType="none" |
|||
android:minHeight="48dp" |
|||
android:textAlignment="viewStart" |
|||
tools:text="1.0.0" /> |
|||
|
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
<com.google.android.material.textfield.TextInputLayout |
|||
android:id="@+id/version" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingTop="16dp"> |
|||
|
|||
<com.google.android.material.textfield.TextInputEditText |
|||
android:id="@+id/version_field" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:editable="false" |
|||
android:importantForAutofill="no" |
|||
android:inputType="none" |
|||
android:minHeight="48dp" |
|||
android:textAlignment="viewStart" |
|||
tools:text="1.0.0" /> |
|||
|
|||
</com.google.android.material.textfield.TextInputLayout> |
|||
|
|||
</LinearLayout> |
|||
|
|||
</LinearLayout> |
|||
|
|||
</androidx.core.widget.NestedScrollView> |
|||
|
|||
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue