OpenTracks icon indicating copy to clipboard operation
OpenTracks copied to clipboard

Small screen layout

Open sebastianha opened this issue 4 years ago • 14 comments

I sometimes use split screen to show OsmAnd and OpenTracks both on my screen. Unfortunately the layout is not optimal for this, see screenshots

Screenshot_20210317-073755_OpenTracks Screenshot_20210317-073811_OpenTracks Screenshot_20210317-073819_OpenTracks

Perhaps it would be possible to detect the very small app layout and hide some elements of make them smaller. This would be really handy.

sebastianha avatar Mar 17 '21 18:03 sebastianha

With new customization layout, shall we close this issue? Does the new feature fix this issue?

rgmf avatar Oct 23 '21 08:10 rgmf

I guess yes. What we could change would be: hide actionbar and the tabs. But this requires some alternative method for navigation. I don't know if this is worth the effort.

dennisguse avatar Oct 23 '21 22:10 dennisguse

I also use the same splitscreen setup and I'm only able to view speed and distance with Opentracks. Opentracks without headers, tabs and pause/stop buttons would come very handy.

frasty avatar Oct 23 '21 23:10 frasty

@dennisguse @frasty we can add an option inside UI settings for hide tabs and navigation would be with gestures (swip left and right).

rgmf avatar Oct 24 '21 06:10 rgmf

@rgmf as a quick fix: why not. What will not be reachable is the overflow menu.

dennisguse avatar Oct 26 '21 17:10 dennisguse

@sebastianha Does the 4.0.0 release (i.e., the UI update) solve this problem for you?

dennisguse avatar May 28 '22 12:05 dennisguse

As soon, as it hits f-droid, I will check.

sebastianha avatar May 28 '22 12:05 sebastianha

In addition, we might be able to hide some UI elements when in multi-window mode. This method allows to get events: https://developer.android.com/reference/android/app/Activity#onMultiWindowModeChanged(boolean,%20android.content.res.Configuration)

dennisguse avatar May 28 '22 12:05 dennisguse

@sebastianha Does the 4.0.0 release (i.e., the UI update) solve this problem for you?

Hi,

no, unfortunately not completely. When not running it looks much better now:

signal-2022-05-30-121952

But as soon as you are on the recording screen not even one row of data is visible.

signal-2022-05-30-121949

It would be nice to have one row visible, this should be do-able with hiding the top bar when the screen is below a certain height. Also it seems that there is no transparency around the stop button at this screen.

But in general I like the new layout although it takes a while to realize that everything is in the bottom row now. But this is much more one-hand-friendly!

sebastianha avatar May 30 '22 10:05 sebastianha

Can you check how it looks like in Fullscreen mode? (It is in the Open tracks preferences)

dennisguse avatar May 30 '22 10:05 dennisguse

It looks the same. I think the is no "fullscreen" when in "split screen" mode.

sebastianha avatar May 30 '22 10:05 sebastianha

One more thing: we could reduce the height of the tabs by showing only the indicator and hide the text.

  • https://stackoverflow.com/questions/48316998/how-to-show-only-the-indicator-in-tablayout
  • https://stackoverflow.com/questions/4174613/how-to-detect-a-layout-resize

dennisguse avatar May 31 '22 20:05 dennisguse

@rgmf In one of the screenshots, the fabButton overlaps the actual content. Any idea why this is happening?

dennisguse avatar Jun 01 '22 17:06 dennisguse

@rgmf In one of the screenshots, the fabButton overlaps the actual content. Any idea why this is happening?

Yes, FAB button overlap the content. In AntennaPod, for example, they added a big padding below, so when user scroll down s-he can see the last row completely. Other solution would be to hide FAB button when scroll reach the bottom.

rgmf avatar Jun 02 '22 16:06 rgmf

Actually the Material3 refactoring improved this a lot. Closing for now.

dennisguse avatar Aug 03 '23 21:08 dennisguse