Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 59

dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
02/25/13 08:19 AM (12 years ago)

again problem with the menu button

i made some changes in the page and sudenly the app crashes every time i try to open it. i have changed 3 things at once so i don't know what did it, i tried to restore previous values but nothing worked. the three thing i changed : 1)button opacity (0.5) 2) button margin (25) 3) button color i am using android 4.0.3, asus transformer tablet i just checked in the emu, it doesn't crash there any ideas? Thanks David
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
02/25/13 08:49 AM (12 years ago)
Hey @dudave, Did you create a new button for this? If so make sure you put the image in the drawable folder. LA
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
02/25/13 09:04 AM (12 years ago)
Hi LA and thanks, all pictures are in the drawable folder, there are 7 buttons with 7 images. i have a feeling the problem is with the "opacity" option, i'm not sure its fully functional, what are the numbers range i should put there anyway? its writen .0 to 1.0 does it meen from 0 to 1? (0.1,0.2,0.3 and so on).
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
02/25/13 09:07 AM (12 years ago)
Not confident to give you an answer on it @dudave! I would just test it. LA
 
dudave
Android Fan
Profile
Posts: 111
Reg: Mar 23, 2011
Israel, Netanya
1,110
like
02/25/13 09:27 AM (12 years ago)
it happened to on my very beginning on BT and i couldn't fix it, eventually ended up deleting the app and starting a new one from scratch, i think i basically only need to delete the page and start a new one, but then i still didn't solve the problem ;)
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
02/25/13 10:06 AM (12 years ago)
Try changing images. I recently had a lot of problems with memory leaks/crashes in app which led back to 1 png image. Still haven't figured out what was wrong with that image but changing it fixed everything.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
02/25/13 10:37 AM (12 years ago)
Opacity and Margins look ok. Do you have a hash # in front of the hex code color?
 

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.