Files list so long, home button don't fixed.
Some button like page up and page down.
How to add a button "back to the top"?
Do not want to have two home button on one page.
How to add a button "back to the top"
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
If you just want to reach the home button, there is no need - just tap on the Total Commander icon in the title bar to go to the home folder.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The parent can be reached via Android "back" button. For reload, there is a button which can be added to the lower bar.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: How to add a button "back to the top"
I noticed that on Android 5.1 and Android 10 devices I have to actually tap on Total Commander icon in its title to go to home folder, while on Android 4.3.1 device with smaller screen, and in emulators with Android 4.4.2, it's also possible to tap on "Total Commander" text near title icon to go to home folder. Is there a reason for this difference?ghisler(Author) wrote: ↑2018-02-05, 14:59 UTCtap on the Total Commander icon in the title bar to go to the home folder.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: How to add a button "back to the top"
Yes, the behaviour of the default Android ActionBar control has changed. On Android Lollipop (API 21) I have to call
actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP,ActionBar.DISPLAY_HOME_AS_UP);
actionBar.setHomeAsUpIndicator(R.drawable.icon21_menu);
to get a reaction from clicking on the icon, and clicking on the text no longer works.
actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP,ActionBar.DISPLAY_HOME_AS_UP);
actionBar.setHomeAsUpIndicator(R.drawable.icon21_menu);
to get a reaction from clicking on the icon, and clicking on the text no longer works.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com