Skip to content

Move stop button below description on status screen

Sebastian requested to merge 177-move-stop-button-below-status into main

Closes #177 (closed)

I moved the button below, looks like this:

Screenshot_20221216-090724

On the landscape layout, the icon is so large that the whole layout is too high on pretty standard ratio devices:

Screenshot_20221216-090832

Instead of making this scrollable, I think it's better to decrease the size of the icon. I found the easiest solution to just add a separate layout file for landscape and make the height of the image depend relatively on the screen height on landscape instead of the screen width on portrait. I'd love to make this work with a single layout, however I haven't found any solution that doesn't involve manipulating the constraints from code. The second layout introduced a lot of redundancy, but I think that might be still better than moving away from plain layouts that don't have any code dependencies.

Here's the result with the added landscape layout:

Screenshot_20221216-090749

Edited by Sebastian

Merge request reports