Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
03/24/13 12:49 PM (12 years ago)

Android: Menu with Header

Hi All, I am using the Menu with Header Image in an Android App. I am using Row Icons, but the icon becomes stuck over the text: Screenshot: http://jworldhosting.com/Uploads/Images/Android-MenuWithHeader.png What should I do? Thanks, Jake
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/24/13 01:31 PM (12 years ago)
I sometimes get that with my 'menu_with_image' plugin; I guess it's just the way it is sometimes... The way I get over it, so to speak, is to adjust the left margin of the menu button text. That only helps so much, because of the wide variety of devices. On some it helps a little, on others it helps a lot. On yet others that didn't need it, it makes them look odd because the text is now far away from the icon... It's trial and error, with emphasis on 'the least error possible' as a goal. (Unless someone else knows a sure fire method, which I would love to know too!) Cheers! -- Smug
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
03/24/13 01:31 PM (12 years ago)
reduce size of icon...
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
03/24/13 05:04 PM (12 years ago)
"reduce size of icon..." Doesn't always work. On tablets and high dpi devices text goes over icon (or vice versa) no matter the size of icon. I'm with @smugwimp, play around with the xml and dimensions in the java file to get to the point of least error. It's a good plugin, it looks great on api8 emulator and devices, but I wonder how many people know their released apps might not look so great on other devices?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/24/13 05:35 PM (12 years ago)
I tested on Samsung Galexy Prevail and Nexus 4. Prevail: Displays Perfectly Nexus 4: Image over Writing Solution: I added [- ] before the name of the Item in the list. Jake
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/24/13 05:46 PM (12 years ago)
But it will show that on all menus, right? Is that cool with you? (My wife has a Samsung Galaxy Nexus which also obscures the writing. It's my worst case scenario display, lol!) Cheers! -- Smug
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/24/13 08:35 PM (12 years ago)
It is an odd issue. The devices are getting wider, but the space for the text is getting narrower. Jake
 
Sezar
Lost but trying
Profile
Posts: 3
Reg: Sep 11, 2012
Malmö
3,130
like
04/10/13 03:27 PM (12 years ago)
 

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.