Cnrez Member Licensed User Longtime User Jan 17, 2016 #1 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 lemons.zip 11.5 KB · Views: 699
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
A Anser Well-Known Member Licensed User Longtime User Jan 18, 2016 #2 Try Code: Copy ABHelper.Initialize ABHelper.ShowUpIndicator = True ActionBar.InitMenuListener .... .... Sub ActionBar_NavigationItemClick Activity.Finish End Sub Regards Anser Upvote 0
Try Code: Copy ABHelper.Initialize ABHelper.ShowUpIndicator = True ActionBar.InitMenuListener .... .... Sub ActionBar_NavigationItemClick Activity.Finish End Sub Regards Anser
jahswant Well-Known Member Licensed User Longtime User Feb 6, 2017 #4 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
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.
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2017 #5 https://www.b4x.com/android/forum/t...er-android-versions.48423/page-14#post-481929 Upvote 0