There's no built-in date/time combo widget.
You can do something like this:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<DatePicker
android:id="@+id/date_picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TimePicker
android:id="@+id/time_picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
--
Jack Ha
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 Jul 31, 4:29 am, "Brad Gies" <[email protected]> wrote:
> I think I asked this a few months ago, but didn't receive an answer.
>
> Has anyone done a combination Date AND Time Picker that fits on one screen?
> What I'm looking for is something that looks like the built in Android Date
> picker with the Time Picker below it and the Set/Cancel buttons below that.
>
> Is there an open source widget like that? I really don't want to create my
> own if I don't have to.
>
> Thanks for any help.
>
> Sincerely,
>
> Brad Gies
>
> -----------------------------------------------------------------
>
> Brad Gies
>
> 27415 Greenfield Rd, # 2,
>
> Southfield, MI, USA
>
> 48076
>
> www.bgies.com www.truckerphone.com
>
> www.EDI-Easy.com www.EDI-Simple.com
>
> -----------------------------------------------------------------
>
> Moderation in everything, including abstinence
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---