CheckBox problem

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

CheckBox problem

Postby navajo » Sun Jan 18, 2009 2:17 pm

Hi,

I would like to have a CheckBox-Text above the box. Something like this:
Code: Select all
     <TEXT>
   |CheckBox|


what I have now is:
Code: Select all
   |CheckBox|<TEXT>


Gravity doesn't help. With
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. android:gravity="top"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4
I get this:
Code: Select all
                    <TEXT>
    |CheckBox|


Can someone help please?
In a world without walls and fences... who needs Windows and Gates?
navajo
Junior Developer
Junior Developer
 
Posts: 15
Joined: Fri Dec 21, 2007 5:55 pm
Location: Germany

Top

Postby MrSnowflake » Sun Jan 18, 2009 3:39 pm

Don't use the CheckBox' text, but use a seperate TextView.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 3 guests