Charles Lombardo
b598b6ec72
Android: Add about dialog
2023-01-18 15:58:06 -05:00
Charles Lombardo
b1e05c9125
Android: Remove pre-generated baseline profile
2023-01-15 21:16:55 -05:00
Charles Lombardo
19aa9247be
Android: Copy baseline profile during release builds
2023-01-15 21:16:55 -05:00
Charles Lombardo
dbe03a4f76
Android: Fix navigation bar buttons appearing invisible on API 26
2023-01-15 18:36:22 -05:00
Charles Lombardo
76ca57ef2e
Android: Fix large strings in save/load savestate fragment
2023-01-15 17:49:48 -05:00
Charles Lombardo
4f397edab3
Android: Fix grid options text borders
...
Previously on displays with a small width, text would appear under the switch. Now the text will break into a new line.
2023-01-13 17:02:53 -05:00
Charles Lombardo
6b97b64e93
Android: Ignore workaround view height if 0
2023-01-10 12:01:54 -05:00
Charles Lombardo
7fe2faff4a
Android: Expose "Log Render Time to File" toggle
2023-01-09 23:29:31 -05:00
Charles Lombardo
f49f3441b3
Android: Disable focus on workaround view
2023-01-09 14:20:50 -05:00
Charles Lombardo
72176641ef
Android: Revert "Make the header focusable"
2023-01-09 14:20:34 -05:00
Charles Lombardo
d32cc1e5eb
Android: Fix workaround view in cheats activity
...
When using a fullscreen mode on some phones that remove the navigation bar, inset callbacks will not be fired. To account for this we set the workaround view at a height of 1px to prevent the view from filling the entire screen due to this activity using a Constraint layout.
2023-01-07 13:08:51 -05:00
Charles Lombardo
6fe46fcf03
Android: Update managed device for baseline profile generation
2023-01-06 18:33:51 -05:00
Charles Lombardo
4d86e44c12
Android: Add hints to allow cheats activity to be previewed
2023-01-06 15:58:29 -05:00
Charles Lombardo
cf8537576e
Android: Allow users to interact with switches in settings
2022-12-24 02:56:36 -05:00
Charles Lombardo
22dd0dbc3c
Android: Upgrade NDK to 25.1.8937393
2022-12-23 21:41:03 -05:00
Charles Lombardo
ca2f264dee
Bring Android documentation up-to-date
2022-12-20 20:29:48 -05:00
Charles Lombardo
4423afd462
Android: Close soft keyboard on panel close
2022-12-20 17:06:21 -05:00
Charles Lombardo
9c57d6028d
Android: Elevate ingame menu fragment with color
...
Whenever the app is not using the default theme, the ingame menu fragment will be treated as an elevated component like an alert dialog.
2022-12-20 16:39:17 -05:00
Charles Lombardo
2f5808e7a4
Android: Convert ThemeHelper to Kotlin
2022-12-18 16:54:28 -05:00
Charles Lombardo
6090694eab
Android: Move game grid options to Main/TV Activities
2022-12-17 02:00:48 -05:00
Charles Lombardo
3bfe722c49
Android: Use colorSurface attribute for cheats activity background
2022-12-15 13:32:53 -05:00
Charles Lombardo
8226506c84
Android: Introduce Kotlin support
2022-12-11 12:59:58 -05:00
Charles Lombardo
fd7a84b794
Android: Add black backgrounds toggle
...
Makes all background colors black in dark mode when enabled through a ThemeOverlay. Applied the same way as a theme/mode.
2022-12-10 14:53:01 -05:00
Charles Lombardo
2555e3720b
Android: Replace Checkbox with MaterialSwitch
2022-12-10 00:23:07 -05:00
Charles Lombardo
974003888a
Android: Baseline profile generation
...
This creates a new benchmark module that is responsible for generating baseline profiles and testing them. As part of this commit a baseline-prof.txt file has been included to speed up launch times with the app in its current state. Later, profile generation can be automated and keep up with the app as it changes.
2022-12-09 20:55:10 -05:00
Charles Lombardo
c440781ce7
Android: Upgrade dependencies
2022-12-08 14:13:15 -05:00
Charles Lombardo
f2c71a77fe
Android: Use ElevationOverlay for app bar elevation color
2022-12-06 18:41:55 -05:00
Charles Lombardo
b9d05c4668
Android: New settings fragment animations
2022-12-06 14:17:04 -05:00
Charles Lombardo
dbfcbcb670
Android: Migrate all strings to strings.xml
2022-12-06 14:11:06 -05:00
Charles Lombardo
e9c60f3e65
Android: Have each activity manage insets separately
2022-12-04 13:37:01 -05:00
Charles Lombardo
2a0939ab98
Android: Pad menu fragment when expanding to cutout area
2022-12-04 12:39:51 -05:00
Charles Lombardo
c60982b248
Android: Fix cheats layout
...
The sliding panel layout was in the way of the top app bar and prevented the up button from being pressed. This anchors the panel to the bottom of the top app bar and removed unnecessary hardcoded padding.
2022-12-04 12:34:36 -05:00
Charles Lombardo
64733b2504
Android: Use expanding Extended FAB
...
This adds text to the FAB when expanded and shrinks the FAB on scroll. The text will return when scrolling up as well.
2022-12-02 22:12:33 -05:00
Charles Lombardo
6a95c565ae
Android: Use progress indicator in short loading scenarios
2022-12-02 15:16:10 -05:00
Charles Lombardo
b9fffa2e66
Android: Add theme mode switcher
...
Similar to app themes, theme modes have to be loaded before directory initialization is ready. So we save the proper key the same way.
2022-12-02 13:31:57 -05:00
Charles Lombardo
09e350d9a7
Android: Greatly simplify MotionAlertDialog theming
2022-12-01 18:52:13 -05:00
Charles Lombardo
32b4f74d44
Android: Letterbox content with display cutouts in landscape
2022-12-01 01:24:09 -05:00
Charles Lombardo
2e63c6c3ee
Android: Upgrade AGP to 7.3.1
2022-11-28 15:52:17 -05:00
Charles Lombardo
6e5f546d4e
Android: Fix GameDetailsDialog on leanback
...
Previously the app would crash because Material Dividers inherit from AppCompat and the leanback activity does not. This creates a new layout file with leanback-specific accommodations and code is duplicated in GameDetailsDialog to prevent inflation crashes.
2022-11-22 15:56:15 -05:00
Charles Lombardo
e67788571a
Android: Fix condition where we set grid span too early
2022-11-22 15:19:15 -05:00
Charles Lombardo
275e9e3a58
Android: Adjust card_width
2022-11-16 15:33:38 -05:00
Charles Lombardo
eb060c7356
Android: Dynamically adapt grid span to card_game size
...
In order to avoid getting stuck making a new dimension file every time a new device is found we take a known value for how large the game card will be, take the screen size, and adjust the grid accordingly.
2022-11-13 15:49:29 -05:00
Charles Lombardo
2e978ad428
Android: Use progress bar that does not inherit from AppCompat on leanback
2022-11-13 12:25:47 -05:00
Charles Lombardo
8bfa08fa0e
Android: Use smooth keyboard animation in cheats activity
2022-11-11 00:53:59 -05:00
Charles Lombardo
8a46404329
Android: Change system update dialog title/message when cancelling
2022-11-10 22:46:41 -05:00
Charles Lombardo
4b622ef4d0
Android: Change alert dialog button ripple color for default theme
2022-11-10 21:58:11 -05:00
Charles Lombardo
e79a4b0d8c
Android: Fix list_item_cheat text
...
Sometimes a gecko code would have a title long enough to appear over the checkbox. This is now prevented by marking the text's boundary a 16dp before the start of the checkbox.
2022-11-06 17:30:07 -05:00
Charles Lombardo and JosJuice
60fb151581
Android: Animate covers on focus change
...
Co-Authored-By: JosJuice <[email protected] >
2022-11-06 15:52:19 -05:00
Charles Lombardo
ff38fef2e4
Android: Use FrameLayout as root for notouch emulation layout
...
When inflating this layout, the layout inflater doesn't expect a View and rather a descendant of ViewGroup. This resulted in a crash which is resolved by using a FrameLayout instead.
2022-11-06 01:51:12 -05:00
Charles Lombardo
6eb5013359
Android: Offload cover path unmangling to another thread
2022-11-04 14:28:21 -04:00
Charles Lombardo
349b16aa55
Android: Add more game grid sizes for long displays
2022-10-31 13:11:17 -04:00
Charles Lombardo
5c30f65bbb
Android: Use view binding
2022-10-29 11:05:09 -04:00
Charles Lombardo
a78e266a26
Android: Use androidx preference manager
2022-10-23 22:34:23 -04:00
Charles Lombardo
90d27be1d6
Android: Do not fit system windows
2022-10-23 15:09:01 -04:00
Charles Lombardo
0fdae88fab
Android: Replace spinners with dropdown menus
2022-10-23 13:25:12 -04:00
Charles Lombardo
33048d0d4c
Android: Use material dividers
2022-09-14 14:23:59 -04:00
Charles Lombardo
96d431b519
Android: Remove TabLayout workaround
2022-09-14 12:03:21 -04:00
Charles Lombardo
eb6a548735
Android: Change top app bar color on scroll
2022-09-13 21:31:30 -04:00
Charles Lombardo
8c477852f3
Android: Add more top app bars
2022-09-11 23:49:26 -04:00
Charles Lombardo
0e74acdd85
Android: Remove other color edge effect definitions
2022-09-11 15:10:27 -04:00
Charles Lombardo
63ff3c3830
Android: Change swipe refresh colors to match other component colors
2022-09-11 13:29:13 -04:00
Charles Lombardo
e631dfc918
Android: Fix save state menu text color
2022-09-10 21:32:08 -04:00
Charles Lombardo
e77543abb2
Android: Change color control highlight to system default
2022-09-10 18:00:03 -04:00
Charles Lombardo
bb398c8648
Android: Match navigation bar color to background
2022-09-10 17:08:31 -04:00
Charles Lombardo
9fcc3e2e92
Android: Add custom window animation to alert dialogs
2022-09-10 17:01:24 -04:00
Charles Lombardo
c79b12a49b
Android: Replace Picasso with Glide
2022-09-01 19:11:02 -04:00
Charles Lombardo
940a38f172
Android: App redesign with multi-theme system
2022-08-31 18:01:15 -04:00
Charles Lombardo
7659753924
Android: Update target SDK version
2022-08-22 19:14:43 -04:00
Charles Lombardo
2caa1f3b43
Android: Add option to disable game cover text
2022-08-22 13:50:39 -04:00
Charles Lombardo
3814fab9ec
Android: Use vector icon and enable monochrome icon
2022-08-22 07:54:57 -04:00
Charles Lombardo
903c94f7be
Android: Update SDK and dependencies
2022-08-21 14:51:04 -04:00
Charles Lombardo
0c89e5ea8d
Add AndroidTV splash screen
2022-08-10 15:53:45 -04:00
Charles Lombardo
1dff1c3fe8
Android: Add Androidx splash screen to wait for directory initialization
2022-08-10 15:37:10 -04:00
Charles Lombardo
a91e47899d
Android: Prevent app lockup when revoking write access
2022-08-10 13:57:30 -04:00
Charles Lombardo
e926946f64
Consistent tv card colors
...
Item selected color is now dolphin-blue for all cards in the TV activity.
2022-08-10 00:23:19 -04:00
Charles Lombardo
9224c099d4
Fix game card in landscape
2022-05-15 17:31:49 -04:00
Charles Lombardo
e03ee66ab5
Upgrade dependencies
2022-05-10 13:56:13 -04:00
Charles Lombardo
6b74907f9d
Upgrade gradle to 7.2.0
2022-05-09 23:00:33 -04:00
Charles Lombardo
c04835243f
Replace deprecated method calls
2022-05-05 18:31:50 -04:00
Charles Lombardo
dcfa610319
Android: Sharpen icons
...
Create vector Wii and Gamecube icons and re-import default android icons as vector graphics. Scales better on a greater range of devices and takes up less space.
2022-04-26 15:01:56 -04:00
Charles Lombardo
9b7c5a4458
Android: Modernize theming system
...
themes.xml now contains a collection of colors, attributes, and styles. No visuals have changed, but this will allow for a more flexible theming system in the future for custom day/night/etc themes. This also removes a bunch of redundant code that can now be written as global styles and inherited themes.
2022-04-24 17:37:10 -04:00
Charles Lombardo
6eb9111657
Modernize game card
...
+Remove background on card
+Increase max # of lines for game title
+Root layout is now a linear layout with the card view rounding the corners on the box art
2022-04-22 22:01:14 -04:00
Charles Lombardo
8a0c6816dd
Android: Fix games list padding
...
Use clipToPadding="false" to prevent top white bar when scrolling
2022-03-28 09:58:01 -04:00
Charles Lombardo
b8013ff3a0
Android: Inherit from Material3 themes and round corners on box art
2022-03-26 14:54:23 -04:00
Charles Lombardo
fde39b455c
Begin style migration to Material3
...
Use large card view rounded corner guidelines
Fix action bar theming
Needed to import android back button clip art to fix material 3 theming issue. The DolphinSettingsBase style used to inherit from the Theme.MaterialComponents.DayNight.DarkActionBar theme which would provide the light text and icons but this is no longer available with Material 3.
Fit box art more snugly in CardView
Change card height to match cover art
Add padding to top of games list recyclerview
2022-03-26 10:16:17 -04:00