Look at the layout examples in the res directory of the 2.0 SDK.

e.g. from alert_dialog.xml:

        <ImageView android:id="@+id/titleDivider"
            android:layout_width="fill_parent"
            android:layout_height="1dip"
            android:visibility="gone"
            android:scaleType="fitXY"
            android:gravity="fill_horizontal"
            android:src="@android:drawable/
dialog_divider_horizontal_light"
            android:layout_marginLeft="10dip"
            android:layout_marginRight="10dip"/>

On Nov 6, 9:53 pm, alex <[email protected]> wrote:
> And what does the code that displays it the right way on 2.0 look
> like?
>
> On Nov 7, 1:48 am, Romain Guy <[email protected]> wrote:
>
>
>
> > The divider is a single color now, so it doesn't have an intrinsic width.
>
> > On Fri, Nov 6, 2009 at 2:49 PM, alex <[email protected]> wrote:
> > > bump. no android core devs in here?
>
> > > On Nov 6, 3:00 am, alex <[email protected]> wrote:
> > >> In 1.5, 1.6 this:
> > >> --
> > >> <ImageView xmlns:android="http://schemas.android.com/apk/res/android";
> > >>         android:src="?android:attr/listDivider" 
> > >> android:layout_height="1dp"
> > >>         android:layout_width="fill_parent" />
> > >> --
> > >> renders into the same divider used in ListViews.
> > >> Now, under 2.0 it renders as a dot.
> > >> What has changed and how can I fix it?
>
> > >> TIA.
>
> > > --
> > > 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
>
> > --
> > Romain Guy
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them

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