nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.18k stars 1.75k forks source link

Non-uniform functionality of back button for different activities #2293

Open arundhatigupta opened 6 years ago

arundhatigupta commented 6 years ago

Actual behaviour

Currently, if we press back button while on a particular activity, the back functionality for different set of activities is different.

Expected behaviour

The behaviour of back button should be uniform across all activities. All activities should direct us to the home activity i.e. the All files activity on pressing back button.

Steps to reproduce

  1. Open the app and log into your account.
  2. Open Activities from the navigation drawer. Then press back button. This takes us to the All files activity.
  3. Open Favourites/Photos/Shared/On Device activity. Then press back button. This causes exit from the app.
  4. Open Notifications/Auto Upload/Uploads/Settings/Participate activity. Then press back button. This takes us to the On Device activity.

Environment data

Android version: 7.0

Device model: Xiaomi Redmi Note 4

arundhatigupta commented 6 years ago

@mario @AndyScherzinger @tobiasKaminsky Please have a look at this issue. Do we need to work on it? :)

xXSTrikeXx commented 6 years ago

I will appreciate it, exspecially for external sites. ;)

tobiasKaminsky commented 6 years ago

Currently "All files / any view with server side files" is our "top" view. If you click back on this, it will close the app. All other activities (settings, notifications, ...) will return back to the "top" view.

I like the idea. :+1: In addition the settings activity should also have a slider and behave the same like the other activities.

Let's wait for another feedback and then it can get approved.

xXSTrikeXx commented 6 years ago

Added design label since it is for the UX. Ping @nextcloud/designers

arundhatigupta commented 6 years ago

sure @tobiasKaminsky thanks :)

jancborchardt commented 6 years ago

Agree to this from a design side, good point! :)

arundhatigupta commented 6 years ago

Thanks @jancborchardt :)