FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
08/07/16 01:45 AM (8 years ago)

Context menu

Anybody any idea how I can make the content be on the top bar in android, similar to how it works in IOS, Dont mind paying for the code. Thanks Sean
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
08/08/16 09:33 AM (8 years ago)
i know the context menu is supposed to be there, but i cant see it on my devices, cheers Sean
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/08/16 09:43 PM (8 years ago)
Our main Android guy Dusko let me know for free... I'm merely passing on good info. This moves the 'entire' toolbar from bottom to top. In your 'AndroidManifest.xml' file, change this line: <!-- BT_activity_host runs after startup and after splash screen (splash screens are not required --> <activity android:name=".BT_activity_host" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@style/hostThemeWithTitle" android:uiOptions="splitActionBarWhenNarrow"></activity> to match this line: <!-- BT_activity_host runs after startup and after splash screen (splash screens are not required --> <activity android:name=".BT_activity_host" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@style/hostThemeWithTitle" ></activity> (effectively, you're just removing the part that says -- android:uiOptions="splitActionBarWhenNarrow") It's 'around' line 102, but that could vary on configuration... Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
08/09/16 12:02 AM (8 years ago)
Thanks bunch Smug, will get on that today, thanks Dusko as well :) Sean
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.