Hey guys,
I recently got into a problem with corwin42's AHActionBar library. The title is not showing up in portrait mode, but it's showing in landscape, although on the wrong place.
Portrait mode:
Landscape mode:
Code:
What's wrong?
Sincerely,
SCIS.
I recently got into a problem with corwin42's AHActionBar library. The title is not showing up in portrait mode, but it's showing in landscape, although on the wrong place.
Portrait mode:
Landscape mode:
Code:
B4X:
'ACTIONBAR
AB.Initialize("AB") 'Initializes the actionbar.
AB.Background = ABBackground 'Sets the background of the actionbar.
AB.ActionWidth = 42dip 'You can change the width of an action item. 42dip is default.
AB.AddHomeAction(ID_ACTION_HOME,ABHome) 'Adds the home button to the actionbar.
AB.AddAction(ID_ACTION_MENU,ABMenu) 'Adds an action button to the actionbar.
Activity.AddView(AB, 0, 0, 100%x, 42dip) 'Adds the actionbar to the activity.
What's wrong?
Sincerely,
SCIS.