RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
08/16/12 01:26 PM (13 years ago)

Quiz layout

I intend to use a picture to show the questions, but the space related to the text of the question keeps showing. What should I do to remove this space and approximate the response buttons with the image on the top? Thanks
 
RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
like
08/16/12 01:40 PM (13 years ago)
Sorry. That space is to display the points. The problem is that the display of my mobile is a bit lower. To resolve this problem, would have to decrease the size of the buttons or put only 03 alternatives. But then a "empty" space will appear in a larger display. How to solve this kind of situation? The scroll is also not working to display all the buttons
 
Pastor Alberto
Lost but trying
Profile
Posts: 8
Reg: Jun 08, 2012
San Jose del ca...
180
like
08/16/12 08:40 PM (13 years ago)
I have the same problem, at iPhone there is no problem, but in Android device with a small display I can´t see the last question and yes the scroll don´t work in that situation. RB did you decrease the answer buttons? if you do that, how did you do? Any help I will apreciate
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
08/16/12 11:07 PM (13 years ago)
It would help to know if this is android or iphone were talking about? If it's iphone a simple solution can be found on my end. Cheers, David buzztouchmods.com
 
RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
like
08/17/12 04:38 AM (13 years ago)
@Pastor Alberto: I haven´t solved the problem yet. I'm waiting for someone to interact in this topic.In my first application that I'm still finishing, I used only the HTML DOC plugin and my cell phone (Y Sansumg Galaxy S5360) as a reference, which has a slightly smaller screen than the Galaxy SIII @MrDavid: Android.
 
RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
like
08/17/12 01:55 PM (13 years ago)
@Pastor Alberto: The way that I found to display all buttons may not be the most correct: I edited the screen quiz layout: YourProject> res> layout> screen_quiz.xml I changed the buttons height to 43px and the vertical distance between them for two pix (margin-top) Thus, all the buttons appear a little smaller displays.
 
Pastor Alberto
Lost but trying
Profile
Posts: 8
Reg: Jun 08, 2012
San Jose del ca...
180
like
08/17/12 06:00 PM (13 years ago)
Thanks BR. The solution that you had suggested works very well for me. I can see the question and all the answers whit out problem. I Changed the quiz question image size to 140px and the screen shows all the stuff. and let me celebrate: YU JU JUIIIII as we say in Mexico. Thanks again and God bless you.
 
fratony
I hate code!
Profile
Posts: 77
Reg: Aug 14, 2012
Devon
5,370
like
11/29/12 04:13 AM (13 years ago)
Hi guys - I wonder if I can pick your brains on this. I have the same problem and want to make the quiz fit smaller screens (it is for a school and many have the small screen Androids) but not look 'wrong' on bigger ones. I wonder first if there is any way to scroll like the main home menu? That would solve the problem. If not, following your approach I have changed the height of the answer buttons which has helped but the quiz image and questions seem to take far more space than necessary but I am having problems changing them. If I use a shallower quiz_bgsmall.jpg and change the setting of image view height (to 120px which is right for the new aspect ratio) the screen is stretching to fill the original space and distorting the image without creating any more space for the answers. Can you clarify how to get the space for the questions smaller and take a shallower quiz image? Many thanks, Tony
 

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.