mtotschnig / MyExpenses

GPL licenced Android Expense Tracking App
http://www.myexpenses.mobi/
GNU General Public License v3.0
813 stars 217 forks source link

Introduce FAB sub-buttons #300

Closed keunes closed 3 years ago

keunes commented 8 years ago

If one often creates different items (transaction, split or transfer) it's annoying to every Tims have to use the dropdown menu to change the type. It would be easier to just select the correct type before opening the view. This could be done by adding sub-FABs as done by the Dutch national railways (app: NS Reisplanner Xtra), and as attached in the screenshot. Works very nice IMHO; one tap opens the list of subFABs, another tap closes it again. Even 'new template' could be added this way (though that can easily be omitted).

I can also imagine it being introduced as a setting (FAB: either of the three options, or sth along the lines of 'show subFAB')

tmp_11217-screenshot_2016-05-31-00-32-01-011017545477

mtotschnig commented 8 years ago

Thank you for bringing this app. I had evaluated this approach, back when I implemented the new design, and had decided against it, because I wanted to stick with the idea that the most common type of operation should be available with a minimum of interactions (normal transactions), and that it would be acceptable that the less commonly used ones (transfers and splits) needed two additional steps. In the mean time I learnt that the current solution suffers from the discoverability problem, so I will reconsider the approach based on your suggestion of providing options.

sivaraam commented 5 years ago

I guess you could make long pressing FAB to trigger the default action. This way tapping the FAB shows sub-menus and long pressing could trigger 'New transaction' without two taps. FWIW, I consider long pressing easier than two taps :-)

sabi0 commented 4 years ago

Transaction group summary shows incomes, expenses and transfers total as "equally ranked". And it is non-intuitive that adding a new record favors the former two more.

I would prefer the FAB to have 4 options:

Alternatively the transaction type toggle on the "New" screen could have 3 options instead of two: Expense - Income - Transfer.

mtotschnig commented 3 years ago

My plan is to leave the default behaviour of the FAB unchanged and open a simple popup menu on long press. device-2020-10-25-183701

@sivaraam , @sabi0 , @keunes Any thoughts?

sivaraam commented 3 years ago

Rather than a simple pop-up, it would be nice if it is accompanied by icons as they would be helpful alongside the text.

mtotschnig commented 3 years ago

@sivaraam Thank you for the suggestion. Adopted: Bildschirmfoto 2020-10-26 um 23 49 30