TimePicker theme

by Michael Barber » Fri, 22 Oct 2010 05:35:34 GMT

Sponsored Links
 I have been searching furiously for a way to change the TimePicker,
all I can find are older posts and I know Android's came a long way
since 2009, so here goes, how can I theme/change the TimePicker

in the source code I have found:

  81      * @param context Parent.
  82      * @param theme the theme to apply to this dialog
  83      * @param callBack How parent is notified.
  84      * @param hourOfDay The initial hour.
  85      * @param minute The initial minute.
  86      * @param is24HourView Whether this is a 24 hour view, or AM/
  87      */
  88     public TimePickerDialog(Context context,
  89             int theme,
  90             OnTimeSetListener callBack,
  91             int hourOfDay, int minute, boolean is24HourView) {
  92         super(context, theme);

So, I'm a total newbie to android coding, but is there a way to change
this theme variable? if so, what do I feed it? should I make a program
like a service in the background that just intercepts the dialog and
inserts my theme or what? I know my questions are pretty vauge but any
help would be appreciated!


TimePicker theme

by TreKing » Sat, 23 Oct 2010 02:14:49 GMT


Extend the class, override the constructor, and send it whatever you want

ID of a theme resource, I assume.

TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Other Threads

1. Developing UI for Android apps

Hello everyone,
I am new to Android programming and have tried writing a couple of
apps myself. One thing i noticed is that my application was very poor
wrt the UI and the design aspects. I want to know what tools/softwares
are used for developing the UI for Android apps.
Thanks in advance


2. Battery Motorola BP6X, Nexus One & EB


Mau tanya buat yg Nexus One, battry nya sama seperti yg kita beli langsung
dari www.google.com/phone?


On May 6, 2010 10:05 AM, "Hamdiy Hopequot; <hadi.akbar.m....@gmail.com>

buka pre-order lagi nih, kali2 masih ada yang mau mesen. :)
sekarang tambah battery buat Nexus One juga,,

barang sampai dalam *+*2 minggu,,
pemesanan paling lambat sabtu ini,, :)

*1.* *Battery BP6X KW1*

*3. External Battery Charger BP6X & Nexus One *

the mark we make today shapes our future,,

"Indonesian Android Community [id-android]"

3. Get link on RSS feed from Android browser to my application

4. Android emulator on W,indows server 2003/2008

5. Error uploading .apk to device

6. gprs nggak bisa connect

7. Dictionary application.