Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Android
how to align data in textview
shawn peter
Ranch Hand
Posts: 1325
1
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have textview as below.anyway the data shows top of the textview.I need to center the data in textview .How to do thiss?
<TextView android:id="@+id/ThirdText" android:layout_width="100dp" android:layout_height="100dp" android:background="@drawable/textlines" android:text="Third" > </TextView>
Steve Luke
Bartender
Posts: 4179
22
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you read the API:
http://developer.android.com/reference/android/widget/TextView.html
Towards the top of each View element there is an XML Attributes section which describes the attributes you can use when making layouts. What are available for TextView?
Steve
Steve Luke
Bartender
Posts: 4179
22
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
In case you haven't figured it out yet: the answer to many of your questions will be easy to find if you just read the API.
Steve
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
list view problem
Fail to Invalidate a Dialog
Add label at the top of view
Guidance in reference to splitting up this class to manageable parts
can't we add two chicld elements to HorizontalScrollView
More...