Android Question upindicator in actionbar using appcompat not working

Cnrez

Member
Licensed User
Longtime User
hi, i'm using appcompat and ACActionBar

i want to show upindicator on actionbar.

Sub Globals

.......
Dim AC As AppCompat
Dim ABHelper As ACActionBar

Private ActionBar As ACToolBarLight
'end toolbar
.......

End Sub



Sub Activity_Create(FirstTime As Boolean)
.....
ActionBar.SetAsActionBar
ABHelper.Initialize
ABHelper.ShowUpIndicator = True
.....
End Sub


i add, according to this thread, https://www.b4x.com/android/forum/t...ndicator-is-not-useable-in-andorid-5-0.56496/.
but not working.
i'm using lolipop 5.0.1

Sub Activity_ActionBarHomeClick
Activity.Finish
End Sub


can you help me ? what is supposed the correct syntax
 

Attachments

  • lemons.zip
    11.5 KB · Views: 400

Anser

Well-Known Member
Licensed User
Longtime User
Try
B4X:
 ABHelper.Initialize
ABHelper.ShowUpIndicator = True
ActionBar.InitMenuListener
....
....

Sub ActionBar_NavigationItemClick
   Activity.Finish
End Sub

Regards
Anser
 
Upvote 0

jahswant

Well-Known Member
Licensed User
Longtime User
I'm facing this same issue both solutions does'nt fire since i upgraded to 6.50. I tried to recompile MY old app who WAS working correctly with thèse évents and boom it doesn't fire none of thé évents neither. Whats the real solution for this since none of the 2 évents doesn't faire.
 
Upvote 0
Top