From a67f77d2a1c821911c2e9dac5ff7070b278d49c1 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 24 May 2021 20:44:51 +1000 Subject: [PATCH] Android: Add custom aspect ratio support --- android/.idea/runConfigurations.xml | 1 - .../stenzek/duckstation/RatioPreference.java | 198 ++++++++++++++++++ .../res/layout/layout_ratio_preference.xml | 26 +++ android/app/src/main/res/values-es/arrays.xml | 1 + android/app/src/main/res/values-it/arrays.xml | 1 + android/app/src/main/res/values-nl/arrays.xml | 1 + .../app/src/main/res/values-pt-rBR/arrays.xml | 1 + android/app/src/main/res/values-ru/arrays.xml | 1 + android/app/src/main/res/values/arrays.xml | 2 + android/app/src/main/res/values/strings.xml | 2 + .../src/main/res/xml/display_preferences.xml | 14 ++ 11 files changed, 247 insertions(+), 1 deletion(-) create mode 100644 android/app/src/main/java/com/github/stenzek/duckstation/RatioPreference.java create mode 100644 android/app/src/main/res/layout/layout_ratio_preference.xml diff --git a/android/.idea/runConfigurations.xml b/android/.idea/runConfigurations.xml index e497da999..7f68460d8 100644 --- a/android/.idea/runConfigurations.xml +++ b/android/.idea/runConfigurations.xml @@ -3,7 +3,6 @@