Results 1 to 4 of 4

Thread: Hide NavigationView's back button on Android?

  1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    16
    Answers
    2
    Vote Rating
    0
      0  

    Default 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

  2. Do you have routes and history working for the navigation view?

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,324
    Answers
    3884
    Vote Rating
    1297
      0  

    Default

    Do you have routes and history working for the navigation view?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Mar 2009
    Posts
    16
    Answers
    2
    Vote Rating
    0
      0  

    Default

    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

  5. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,324
    Answers
    3884
    Vote Rating
    1297
      0  

    Default

    Then you won't be able to use the physical back button to control navigation view
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •