If you are targeting a later version of the API, you can use the following XML (no need to write Java code) in your <DatePicker>
:
android:calendarViewShown="false"
More Related Contents:
- What is the difference between Android Material Design UI and Android UI without material design?
- My list view is lagging can anyone help me to fix this?
- Give Scroll view to only edittext in android
- Focusable EditText inside ListView
- How to layout text to flow around an image
- Nested Recycler view height doesn’t wrap its content
- RecyclerView expand/collapse items
- How to set image button backgroundimage for different state?
- Adding button action in custom notification
- Android Image View Pinch Zooming [duplicate]
- Android remove space between tabs in tabwidget
- How to access Fragment’s child views inside fragment’s parent Activity?
- Disable default animation from Portrait to Landscape
- Android: Detect Orientation Changed
- How to use dimens.xml in Android?
- TextInputLayout :How to give padding or margin to hint?
- move up text view only when virtual keyboard open on android
- How to use isInEditMode() to see layout with custom View in the editor
- Glide-4.0.0 Missing placeholder, error, GlideApp and does not resolve its method placeholder,error
- How would I display one view as an overlay of another?
- Draw Circle on touch
- What is the difference between Android margin start/end and right/left?
- Scrollview inside constraint layout does not scroll to the bottom of the parent constraint
- How to reduce the gap between navigation icon and toolbar title?
- How to change the default color of DatePicker and TimePicker dialog in Android?
- Android – Use of view.setX() and setY in api 8
- Set drawable resource ID in android:src for ImageView using data binding in Android
- Disable multi finger touch in my app [duplicate]
- ImageView fit without stretching the image
- How to limit EditText length to 7 integers and 2 decimal places?