-
22 Feb 2012 2:28 AM #1
Answered: Hide NavigationView's back button on Android?
Answered: Hide NavigationView's back button on Android?
Using a NavigationView gives you the typical iOS behavior. This is nice. Is there a way to automatically hide the back button on Android and use Android's hardware/virtual back button instead?
Stefan
-
Best Answer Posted by mitchellsimoens
Do you have routes and history working for the navigation view?
-
22 Feb 2012 7:21 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 435
- Answers
- 3106
Do you have routes and history working for the navigation view?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
22 Feb 2012 10:01 AM #3
No. I don't even know about that. I haven't looked into the Application object yet. Would that help with the Android back key? All I'm doing is using a Ext.navigation.View where I use the push() method to add more panels. This works as expected on iOS, but would result into a foreign UI with respect to Android. Furthermore, if I press back there, the app exists (because it's a single page in the browser). I'd have expected Sencha Touch to deal with this kind of cross plattform issues.
Stefan
-
22 Feb 2012 11:41 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 435
- Answers
- 3106
Then you won't be able to use the physical back button to control navigation view
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote