Thank you for the solution. Linear Layout works as well.

среда, 1 апреля 2009 г., 13:50:50 UTC+4 пользователь Matthias написал:
>
> Okay, I found (once again), a rather ugly workaround for this: Putting 
> the textview in layout object does the job. Like this: 
>
> <?xml version="1.0" encoding="utf-8"?> 
> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ 
> android" 
>     android:layout_width="fill_parent" 
>     android:layout_height="wrap_content" 
>     android:paddingLeft="14dip" 
>     android:paddingRight="15dip" 
>     > 
>     <TextView 
>         android:id="@+id/list_dialog_item" 
>         android:layout_width="fill_parent" 
>         android:layout_height="wrap_content" 
>         android:minHeight="?android:attr/listPreferredItemHeight" 
>         android:textAppearance="?android:attr/textAppearanceLarge" 
>         android:gravity="center_vertical" 
>     /> 
> </RelativeLayout> 
>
> But, that layout object is unnecessary overhead of course.... 
>
> Is this a bug maybe?

-- 
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