Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 1    Views: 70

ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
03/31/12 02:30 PM (13 years ago)

V1.5 Android move header image

Hi, wondering if it's possible to move the header image to below the listview in Android 1.5. Would like to be able to do this from the Xml file but nothing I do seems to move it...so it must be creating the layout from the menuList.java code... any ideas? thanks! ps. I realize Android v1.5 is becoming obsolete but I am trying to understand how the java and xml layout work for these screens...tryng to mess with a plugin :) Edit : by setting useTopMargin = 0; in Java (skip this if using Square Corners, no margin in BT control panel) then changing visibility and margin settings in the Xml file and can create the desired looks for all the device sizes i am targeting... this is probably a hacked way of doing it but it seems to look and work fine :)?
 
ALFREA
Aspiring developer
Profile
Posts: 89
Reg: Jul 24, 2011
San Antonio, TX
3,640
like
09/09/12 06:59 AM (13 years ago)
Ian, How are you? I noticed that you answered your own questions, so it seems that you understand Eclipse well. :-) I created an Android 1.5 version of my app, and I'm having a hard time understanding header issues. On some devices the image "fits small," and on other devices it is way to large and it doesn't fit in the dimensions I stated in the BT panel. What is the "secret" to having an awesome header image that fits all devices? The header (to me) is extremely important to the app. You stated above, "changing visibility and margin settings in the Xml file and can create the desired looks for all the device sizes i am targeting." This sounds like important information I would like to understand better. Please help me understand how to make changes in the xml file. :-)
 

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.