You can see a few uses of View in the ApiDemos, for instance to create
a horizontal ruler in the TableLayout demos.

On Fri, Jun 13, 2008 at 1:07 PM, Danny <[EMAIL PROTECTED]> wrote:
>
> great idea, thought of using the parent class as a widget never
> occurred to me.
>
> On Jun 13, 12:50 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
>> You can just use a View and give it the appropriate layout
>> width/height. For instance:
>>
>> <View layout_width="2dip" layout_height="wrap_content" />
>>
>> On Fri, Jun 13, 2008 at 12:45 PM, Danny <[EMAIL PROTECTED]> wrote:
>>
>> > It would be nice to have some sort of spacer widget rather than having
>> > to continuously play with marginBottom or padding attributes.  Just a
>> > quick and dirty way of adding a gap to signify something between say,
>> > two EditText's in vertical LinearLayout.
>>
>> > I guess I could make a custom view, but anyone else have a better idea
>> > than that or padding/margin settings?
>>
>> --
>> Romain Guywww.curious-creature.org
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to