Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • 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
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

editText look and feel

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I just started my first android program, and I have one issue with EditText. I have created a new EditText component and I am trying to run it in the virtual android device. What I see is this:
Label: _________________

But what I want to see is a closed text box. Something like this:
_________
Label: |_________|


I am not able to figure out where exactly I can make this change. I am trying to do this in a ScrollView. I am very new to android development. Please help me.


Thanks!
Preethi
 
D Preethi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I want is just a closed text box, instead of a single line. This should be something really basic. But I am not able to find which particular settings I need to change to see this in the virtual android device.

I have attached 2 screen shots here:
present_text_box.JPG - the text field as it looks now
desired_closed_text_box.JPG - the text field I want to see it as

Thanks!
present_text_box.JPG
[Thumbnail for present_text_box.JPG]
Open text box
desired_closed_text_box.JPG
[Thumbnail for desired_closed_text_box.JPG]
Picture of closed Text boxes
 
How do they get the deer to cross at the signs? Or to read this tiny ad?
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic