DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 2 of 2

Thread: DatePicker widget size.

  1. Junior Droid
    tff's Avatar
    Member #
    89166
    Join Date
    Jul 2010
    Posts
    9
    Phone
    Enter Current Phone Model Here
    #1

    DatePicker widget size.

    Would like to use a smaller DatePicker widget. I guessed I could shrink it with something like textSize, as in the following.

    <DatePicker
    android:id="@+id/dp_name"
    android:textSize="10sp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    />

    Guess was not right. textSize appears to have no effect. I've tried "10px" as well as other numbers to no avail. Any ideas?

    tx,
    tff
  2.  
     
     
     
  3. Junior Droid
    tff's Avatar
    Member #
    89166
    Join Date
    Jul 2010
    Posts
    9
    Phone
    Enter Current Phone Model Here
    #2

    Solved.

    Quote Originally Posted by tff View Post
    Would like to use a smaller DatePicker widget. I guessed I could shrink it with something like textSize, as in the following.

    <DatePicker
    android:id="@+id/dp_name"
    android:textSize="10sp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    />

    Guess was not right. textSize appears to have no effect. I've tried "10px" as well as other numbers to no avail. Any ideas?

    tx,
    tff
    Rather, than do this, I put it in a dialog that pops up using code analogous to what I found here:
    Date Picker | Android Developers

    It's not actually what I wanted, but it works well enough. Would still like to make that monstrosity smaller.

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Widget size
    By Missy in forum Android General Discussions
    Replies: 2
    Last Post: 08-12-2010, 10:39 AM
  2. Modified Calendar Widget background - Now Wrong size! Help!?!?
    By Boostjunky in forum Android Hacks and Help
    Replies: 5
    Last Post: 07-26-2010, 08:02 AM
  3. Stock music player widget size
    By baspo in forum Android Applications
    Replies: 0
    Last Post: 06-15-2010, 10:22 AM
  4. Replies: 3
    Last Post: 04-15-2010, 11:43 PM
  5. Change text size in news and weather widget?
    By vboogieman in forum Motorola Droid
    Replies: 0
    Last Post: 04-02-2010, 06:13 PM

Search tags for this page

android datepicker resize
,

android datepicker size

,
android datepicker small
,
android datepicker text size
,
android small datepicker
,
android timepicker size
,
change size of datepicker android
,
how to resize datepicker in android
,
make datepicker smaller android
,
resize datepicker android
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+