AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
03/27/15 10:02 AM (9 years ago)

Is there a way to decouple from the Android Action Bar?

The reason I am asking is that I am setting android:anyDensity=“false” in the android manifest. This setting appears to control whether android tries to resize your images and I perceive my app is much more stable on more devices, especially Samsung's. Unfortunately that setting has an undesirable side effect on the action bar. The extent of this effect is different on different devices. Sometimes it is cropped on the side of the screen, sometimes it is off screen completely. As I understand it, the Buzztouch context menu integrates into the android action bar, so I am guessing there is something in the code that is affecting things, possibly to do with layouts. I am not actually using the context menu, but my app is affecting the positioning of the action bar. I'm not a programmer, but if anyone shed any light on this I'd be very interested. Thanks, Alan
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/27/15 03:46 PM (9 years ago)
I dont think I fully understand but I wouldnt think that would be necessary to add that to the manifest. It would be easier to resize images programmatically. What problems are you facing ?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/27/15 04:07 PM (9 years ago)
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/28/15 08:53 AM (9 years ago)
Interesting. The app ran fine on my device. I know when the 5.0 android update came out it caused alot of problems, but Google is fixing those bugs now. Searching actionbar and that manifest line led me to a post on stackverflow, that may help.not sure http://stackoverflow.com/questions/11603210/overflow-menu-incorrectly-positioned
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/28/15 11:56 AM (9 years ago)
Thanks, for testing, the app has been tried on many different platforms now, good to know the only failures have been on Samsungs. I really appreciate that you did some searching and I will definitely try your link. You may be on to something. Cheers, Alan
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/28/15 12:53 PM (9 years ago)
on my Samsung it tested fine also.anytime
 

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.