Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 09-05-2008, 11:19 PM   #1
Junior Member
 
Join Date: Sep 2008
Posts: 1
Friends: 0
View jon21569's Profile   View jon21569's Photo Album   View jon21569's Blog   View Social Groups
I am loading a EditText object through a xml file. When it is selected the default color for the boarder is orange. How can it be changed to a different color such as black, blue or red. Here is the xml code.

<EditText android:id="@+id/textbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:layout_weight="1"/>
jon21569 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 01-07-2010, 03:50 AM   #2
Junior Member
 
Join Date: Jan 2010
Location: London
Posts: 1
Friends: 0
View ashly's Profile   View ashly's Photo Album   View ashly's Blog   View Social Groups
Hi Jon,

I'm also trying to figure out how to change the colour of the border of EditText.

Did you managed to find out the way to change this?

Thanks,
-ash
ashly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 01-26-2010, 05:44 AM   #3
Junior Member
 
Uzair's Avatar
 
Join Date: Jan 2010
Posts: 2
Friends: 0
View Uzair's Profile   View Uzair's Photo Album   View Uzair's Blog   View Social Groups
ah yes if u figure that out tell me 2 .....
Uzair is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 01-26-2010, 05:51 AM   #4
Junior Member
 
Uzair's Avatar
 
Join Date: Jan 2010
Posts: 2
Friends: 0
View Uzair's Profile   View Uzair's Photo Album   View Uzair's Blog   View Social Groups
Can u tell me how to create the edit text view in java in a dynamic way...

Wat m trying to do is that i have created 2 buttons (say "btn1" and "btn2").. Now wat i want is that when i click 'btn1' it show me 1 edit text object and if i click 'btn2' 2 objects are shown.....

the problem is that using xml i am able to create text boxes but they appear even before i click on the buttons...
Uzair is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes




Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 03:48 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.