It does not appear to fit in its parent. If changing textSize to
something smaller than 40sp makes it fit, then you will need to either
shrink the text or increase the available space in the parent.



Yusuf Saib
Android
·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 Sep 13, 8:41 am, WoodManEXP <[email protected]> wrote:
> I do not know the answer to this but I might experiment with setting a
> width other than "wrap_content" just to see how it behaves. Maybe try
> setting width to something like 100dip as a starter and see if the
> same behavior occurs.
>
> On Sep 13, 3:47 am, Anastasiya Dremina <[email protected]>
> wrote:
>
>
>
> > Example
> > was 9|15
> > must be 10|15
> > 10|1 is shown
>
> > 2009/9/13 Anastasiya <[email protected]>
>
> > > Hi guys
>
> > > My problem
>
> > > I have <TextView android:id="@+id/myText"
> > >        android:layout_width="wrap_content"
> > > android:layout_height="wrap_content"
> > >        android:layout_alignParentRight="true"
> > > android:layout_alignParentTop="true"
> > >        android:textSize="40sp"  />
> > > I use setText method  in code. Sometimes all text is not displayed for
> > > a second (I have enough space.. And previous text can have width>
> > > current width).
>
> > > Does anyone know decision?- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to