Android Question Manifest code for timePickerMode

Zhien

Member
Licensed User
I am running into trouble on how to change the timePickerMode back to "spinner"

Since Material Theme are using the "clock" by default, I read that you can change the timepicker mode in the manifest file.

Here's how my manifest file looks, but it's not showing the spinner. Any ideas would be appreciated!


Code: Copy
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")

AddApplicationText(
<activity android:name="android.widget.TimePicker" android:timePickerMode="spinner" />
)
'End of default text.
 
Thank you for the update. Please let me know when this is supported later on.

Meanwhile, I will just use the default clock.
 
Upvote 0
Back
Top