Discussion Forums  >  Images, Documents, File Locations

Replies: 9    Views: 120

dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
01/13/13 06:56 AM (13 years ago)

Menu Buttons - can't change image size

i'm trying to set up a menu button as my home screen menu and i'm having a lot of issues... most importantly, i can't seem to change the size of the images/buttons, can't seem to be able to play with the distance between them either. i'v tried several pixel size, several settings, eventually they all come back the same in my eclipse emulator no matte what. Thanks for the help David
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/13/13 08:36 AM (13 years ago)
Hey @dudave, Can you give examples of what type of menu button and the different sizes you have tried? LA
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
01/13/13 08:46 AM (13 years ago)
Hi LA, i have tried a menu button with 4 buttons, i tried Grid/Horizontal and i tried button size 60/65/120 (all gave me the same size) i have also changed the size of the pictures accordingly and saved them to the drawable folder. here is a screenshot: http://img40.imageshack.us/img40/9747/screen1ci.png Thanks for the help!
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/13/13 08:49 AM (13 years ago)
Did you test on actual Android device? Make sure all the names match in control panel and in your folders. Do a project clean and refresh and if all that don't work sync your config. file. LA
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
01/13/13 09:19 AM (13 years ago)
Go into the advanced properties of the button menu and add the image size there. This will allow your images to display at the desired size.
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
01/13/13 09:28 AM (13 years ago)
i tried to change the size in the advance properties already. i didn't test on an actual android device, how can i do that? how do i sync the config file? Thanks again DAvid
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/13/13 09:41 AM (13 years ago)
Hi David, On the left side of your Apps control panel is "Configuration Data". Click on that and copy the data, without changing anything. Go to your App saved folder on your computer and go to "assets". Open "BT_config" with notepad. Delete the data in there and paste the data you copied earlier. Click save. Then do a project clean and refresh. LA
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
01/13/13 10:18 AM (13 years ago)
double post
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
01/14/13 01:01 PM (13 years ago)
Thanks a lot LA, that did the trick!
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/14/13 01:03 PM (13 years ago)
Great @dudave! LA
 

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.