logo       

[android-developers] Re: Date AND Time Picker: msg#04244

AndroidDevelopers

Subject: [android-developers] Re: Date AND Time Picker


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" <rbg...@xxxxxxxxx> 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 android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise