Hi,
        I am also facing same problem but i never used hard code in my
program.

On Tue, Aug 18, 2009 at 9:21 PM, Balwinder Kaur (T-Mobile USA) <
balwinder.k...@t-mobile.com> wrote:

>
> The problem is that you have specified android:layout_height="260dip"
> for the TextView. If you change it to "wrap_content", you will be able
> to work with your EditText.
>
> Balwinder Kaur
> Open Source Development Center
> ·T· · ·Mobile· stick together
>
> The views, opinions and statements in this email are those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
>
> On Aug 18, 8:13 am, oleberre <olebe...@gmail.com> wrote:
> > Hi all.
> >
> > I am creating a application based on a RelativeLayout.
> > I am using some EditText to enter some data.
> > In particular, one of those EditText occupied the place left
> > by the other components using layout_below and layout_above
> > attributes.
> > The problem is that when I enter this specific EditText instance, the
> > virtual keyboard
> > shows up, but my EditText becomes invisible.
> > I tried a few things like adding the minLines and/or minHeight
> > attributes  on the EditText instance
> > to try to make sure that a minimum should be visible but it still
> > becomes invisible.
> > Funny thing is that other EditText placed just using layout_below are
> > displaying ok.
> >
> > You can find below a simple layout allowing to reproduce the problem
> > easily.
> >
> > Any help would be appreciated.
> >
> > Regards.
> > Olivier.
> >
> > <RelativeLayout
> >         android:id="@+id/RelativeLayout01"
> >         android:layout_width="fill_parent"
> >         android:layout_height="fill_parent"
> >         xmlns:android="http://schemas.android.com/apk/res/android";
> >         android:padding="10dip" android:isScrollContainer="true">
> >
> >         <TextView
> >                 android:id="@+id/subjecttv"
> >         android:layout_width="fill_parent"
> >         android:layout_height="260dip"
> >         android:layout_alignParentTop="true"
> >         android:text="@string/email_subject"/>
> >
> >     <Button
> >         android:id="@+id/send"
> >         android:layout_width="wrap_content"
> >         android:layout_height="wrap_content"
> >         android:layout_alignParentBottom="true"
> >         android:layout_alignParentRight="true"
> >         android:layout_marginLeft="10dip"
> >         android:text="@string/email_send"
> > android:drawableLeft="@drawable/mail_send32_32"/>
> >
> >     <EditText
> >         android:id="@+id/content"
> >         android:layout_width="fill_parent"
> >         android:layout_height="wrap_content"
> >         android:minHeight="50dip"
> >         android:layout_below="@id/subjecttv"
> >         android:layout_above="@id/send"
> >         android:background="@android:drawable/editbox_background"
> >         android:scrollbars="vertical"
> >         android:gravity="top" android:isScrollContainer="true"
> > android:minLines="4">
> >     </EditText>
> >
> > </RelativeLayout>
> >
>


-- 
Thank & Regards
Peeyush Varshney

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to