ERROR No resource identifier found for attribute 'textAlign' in package 'android'

by rajesh » Mon, 15 Sep 2008 15:57:41 GMT


Sponsored Links
 How to align text in android;

<TextView
android:id="@+id/mTitle"
android:textAlign="center" //Does not work ....
android:layout_width="317px"
android:layout_height="wrap_content"
android:text="GeoPepper"
android:textSize="16sp"
android:textStyle="bold"
android:layout_x="2px"
android:layout_y="1px"

Please help,

Cheers,
Shashank
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to set the style of a View (like a TextView) when the View is not created from a XML layout file

I have a case where my activity dynamically creates TextView
instances.  I'd like to set the style for the View using a style
defined in my styles.xml file.  I can't find a setter on the View
class for setting the style ID.  What am I missing?

--~--~---------~--~----~------------~-------~--~----~

2. speech to text api

hi guys

since android now has speech to text search, anyone know if the API is
available to the developers?
--~--~---------~--~----~------------~-------~--~----~

3. Here you go!

4. Flashing a spannable or textview when data changes

5. I want To Port Android On My Motoroal A810

6. Flashing a spannable or textview when data changes

7. H.264 decoder problem in opencore