My app is supposed to have a Datepicker. To invoke the date picker fragment a button is pressed and then the floating date picker appears. My problem is that the button does not look similar to the rest of the UI components being used to accept data. Is there any way I can make the button look and function like the one in Google calendar app?? The date picker button dynamically displays the date chosen too and would like to have that functionality too.
Picks for reference:
My current button:
The type of button I want to achieve:
I looked around a bit and was able to change the look by putting the following code in the xml code:
style="@android:style/Widget.DeviceDefault.Light.Spinner"
Here is how to add text to the button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With