Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
02/15/15 11:44 PM (9 years ago)

How to remove action bars from all new bt apps?

hello friends. i can see in the action bar of new buzztouch app is wrong. because when you use it on mobile then you will see it on bottom of your screen. see the screenshot below. which breaks admob app content overlap policy. https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xap1/t31.0-8/p640x640/10860873_815139895219686_928595577559722913_o.jpg so i think we has to remove it from latest buzztouch core 3.0 apps. how to do that? help will be really appreciated. thanks before
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/16/15 09:29 AM (9 years ago)
its not wrong.On small devices you use their menu button to access it. On larger devices it shows on the top or the bottom.Its set up like this in the manifest. in the manifest look at 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"> see where it says: android:uiOptions="splitActionBarWhenNarrow" remove that part so it looks like this: <!-- 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">
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
02/16/15 12:01 PM (9 years ago)
yup on some of devices it's on bottom and when you click on app option. quit app and back then it overlap banner. see the screenshot on post. which is clearly break admob policy and wrong
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/16/15 02:34 PM (9 years ago)
Did you make the changed above that I posted? To totally disable it look in bt_activity_host.java. If the banner is overlapping anything, that means you didn't implement the code correctly. It's not wrong because its how Google recommends the android apps to be. You have to fix the admit code you added so you don't break Google admob policy. How did you add the code? I'm not at my computer right now but can help you get it fixed. Ive done tons of apps for others where I had to add admob
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
02/16/15 10:11 PM (9 years ago)
buddy i did no changes on code of buzztouch that's why i'm saying it's layout fault. if you already did it please show me the way to disable action bar from the app
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
02/17/15 02:35 AM (9 years ago)
No layout fault, you just have to make the changes he wrote on his post above.
 

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.