Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 63

Hamza choudhary
Aspiring developer
Profile
Posts: 35
Reg: Dec 03, 2013
India,mumbai
350
12/08/13 01:35 AM (11 years ago)

Menu with image query!

Hi everyone, i am developing an android app and have installed menu with image plugin in my control panel. i am not getting the exact figure of width,height and pixels of image header ,hence my header image is not expanding to its max width (code in eclipse is fill_parent). And also if there is any way to expand header image in landscape mode as well. Thanks in advance, Hamza.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/08/13 05:09 AM (11 years ago)
In Android all things are relative to the device they're displayed on. What looks perfect on one device may barely be adequate on another. Good Luck on that :) With the Menu with Image, the Image automatically sizes for the device. The original image should be 1536 x 720 pixels (@72dpi) and you should be ok. However, if you have an odd size image, or just want to play with it, size of the image (height only) can be adjusted in the resource file 'wb_screen_menuImage.xml', and you can play with margin and icon sizes in the 'wb_screen_menuImage_row.xml' file. Be careful, incorrect changes in the layout xml files can cause app-stopping errors. Cheers! -- Smug
 
Hamza choudhary
Aspiring developer
Profile
Posts: 35
Reg: Dec 03, 2013
India,mumbai
350
like
12/08/13 05:59 AM (11 years ago)
Thanks , your reply was helpfull.
 
Hamza choudhary
Aspiring developer
Profile
Posts: 35
Reg: Dec 03, 2013
India,mumbai
350
like
12/08/13 02:28 PM (11 years ago)
Thanks , your reply was helpfull.
 
Hamza choudhary
Aspiring developer
Profile
Posts: 35
Reg: Dec 03, 2013
India,mumbai
350
like
12/08/13 11:08 PM (11 years ago)
Thanks , your reply was helpfull.
 
Hamza choudhary
Aspiring developer
Profile
Posts: 35
Reg: Dec 03, 2013
India,mumbai
350
like
12/09/13 03:28 AM (11 years ago)
Thanks , your reply was helpfull.
 

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.