I think it is like this: "textPostalAddress|textAutoCorrect" ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ----------------------------------------------------------------------
On Mon, Nov 23, 2009 at 1:18 PM, Shirley Cohen <[email protected]>wrote: > Hi, > > I want to specify two different values for a single XML attribute as > in the following example: > > <EditText > android:id="@+id/addressfieldEdit" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:minWidth="1.3in" > android:inputType="textPostalAddress" > android:inputType="textAutoCorrect" > /> > > > This method doesn't work because the XML parser doesn't like duplicate > attributes. So, how do I set the attribute android:inputType to be > both "textPostalAddress" and "textAutoCorrect" in the above example? > > Thanks in advance, > > Shirley > > -- > 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]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- 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

