1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

DatePicker widget size.

Discussion in 'Android App Developers' started by tff, Oct 1, 2010.

  1. tff
    Offline

    tff New Member

    Joined:
    Jul 16, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    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. tff
    Offline

    tff New Member

    Joined:
    Jul 16, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Solved.

    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.
Search tags for this page
android date picker size
,
android datepicker font size
,
android datepicker height
,
android datepicker resize
,

android datepicker size

,
android datepicker text size
,
android datepickerdialog change dimensions
,
android make datepicker smaller
,
android smaller datepicker
,
android timepicker size
,
change size of datepicker android
,
how to be chang timepicker size in android
,
how to resize datepicker in android
,
resize datepicker android
,
resize datepicker in android