xml - Datepicker on Android-studio looks different in two different apps I am coding? -


i'm coding 2 different apps on android-studio (one built ground up, has been worked on while). i've added datepicker xml both apps:

    <datepicker             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:id="@+id/datepicker"             android:calendarviewshown="false"             android:layout_below="@+id/addturtledialogbutton"             android:layout_alignparentleft="true"             android:layout_alignparentstart="true" /> 

but 1 of them looks this:

https://cdn.tutsplus.com/mobile/uploads/legacy/android-sdk_date-picker-dialog/fig1.png

and other looks this:

http://i.stack.imgur.com/szmci.png

i'd other app have better, updated looking datepicker , i've been fiddling styles , themes, haven't been able change first datepicker looks like. help!

date picker pop affected aap them mentioned @ manifest file change app them in manifest file different look. hope you!

you can change below

   <style name="appbasetheme" parent="android:theme.holo.light"/>    <style name="apptheme" parent="appbasetheme"/> 

and know different them can use link

http://developer.android.com/guide/topics/ui/themes.html#definingstyles


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -