twilightwolf90 wrote:
> How do I put the blinking cursor in an EditText on the top instead of
> in the middle?
> 
> Here is the XML:
>       <EditText android:id="@+id/writer" android:layout_width="fill_parent"
>               android:layout_height="fill_parent" />
> 
> If there is a way to do it in XML, that would be better.  If I extend
> the EditText class, how do I call it in the XML file?

Add android:gravity="top" to your list of attributes in your XML layout.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to