Android Question Lollipop and the std action bar

Tontin

Member
Licensed User
Longtime User
my app was fine , but under lollipop the menu up button doesn't do anything, from what I see this is due to lollipop, unfortunately that's how I navigated back on my app, is there a way to trap this and forcing it or do I have to do a rethink, I already capture the back button.
 

DonManfred

Expert
Licensed User
Longtime User
I´m using Lollipop on my Device. If i press the menubutton the menu appears.
You app needs to compiled against api 22 (AppCompat).

It is working for me.

So show your code or create an small example app and upload it (IDE File->Export as zip) which shows the problem.
 
Upvote 0

Tontin

Member
Licensed User
Longtime User
there is no problem with the menu button. this is the menu up button which is appears on the left hand of the stdaction bar, and yes it is compiled against api22, below is the routine when the menu up is hit, it all works fine on v4.4 and below it just seems not to work with lollipop.


B4X:
Sub bar_ButtonClicked
    Select currentLayout
        Case "editaccount"
            ' bact to datagroup
            editAccountPNL.RemoveView
            check_dg
        Case "existing"
            ' bact to loadpage
            existingPNL.RemoveView
            set_loadpage
     .............blah blah blah
     
End Sub
 
Upvote 0

Tontin

Member
Licensed User
Longtime User
now that works a treat, well done that man, is that backwards compatible for 4.4 etc. do you happen to know.
 
Upvote 0
Top