1. 27 Aug, 2023 2 commits
    • Charles Lombardo's avatar
      android: Don't set a default emulation orientation · 037f8202
      Charles Lombardo authored
      Could cause unnecessary configuration change when setting an orientation other than "Landscape"
      037f8202
    • Charles Lombardo's avatar
      android: Properly adjust emulation surface aspect ratio · 338d6f29
      Charles Lombardo authored
      Previously the emulation surface wouldn't respond properly to orientation changes. This would result in the screen appearing stretched when starting in one orientation and switching to another.
      
      The code for calculating the bounds of the view have been changed to match the expected behavior now. Before the view would just match parent in height and width. Now instead of using setLeftTopRightBottom (which is intended to be used for animations) we pass newly calculated bounds for the view into super. Now the view bounds match the emulation output.
      
      This also means that we don't need the overload for the SettingsActivity to launch it using an ActivityResultLauncher. We can just update the view in onResume.
      338d6f29
  2. 26 Aug, 2023 6 commits
  3. 25 Aug, 2023 17 commits
  4. 24 Aug, 2023 4 commits
  5. 23 Aug, 2023 11 commits