搬砖工
lany192 / datetimepicker Goto Github PK
View Code? Open in Web Editor NEWThis is a custom android holo datepicker timepicker
License: Apache License 2.0
This is a custom android holo datepicker timepicker
License: Apache License 2.0
In my project, I am using hourMinutePicker to allow users to select time. But I don't want them to select minutes. So, all I want is to disable (or hide) minute selection. So, How to do that?
I will appreciate have a new release for this library. We need feature that was implemented recently
It is known problem of platform for some locale/vendor combination. As workaround you may catch exception when call DateFormat.getDateFormatOrder and choose some default order.
Relevant part of stack trace:
Caused by java.lang.IllegalArgumentException: Bad pattern character 'E' in E, d MMM yyyy at libcore.icu.ICU.getDateFormatOrder(ICU.java:314) at android.text.format.DateFormat.getDateFormatOrder(DateFormat.java:389) at com.lany.picker.DatePicker.reorderNPickers(DatePicker.java:399) at com.lany.picker.DatePicker.<init>(DatePicker.java:202) at com.lany.picker.DatePicker.<init>(DatePicker.java:74) at java.lang.reflect.Constructor.newInstance(Constructor.java) at java.lang.reflect.Constructor.newInstance(Constructor.java:288) at android.view.LayoutInflater.createView(LayoutInflater.java:607) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743) at android.view.LayoutInflater.inflate(LayoutInflater.java:482) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at com.astroid.yodha.customer.ProfileFragment$onViewCreated$dateClicker$1.onClick(ProfileFragment.java:173) at com.astroid.yodha.ViewExtKt$onClickWithDebounce$1.onClick(ViewExtKt.java:52) at android.view.View.performClick(View.java:4807) at android.view.View$PerformClick.run(View.java:20106) at android.os.Handler.handleCallback(Handler.java:815) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5576) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)
Hi @lany192 , thanks for provider such convenient lib, but I can not find a way to change text color by code, such as setTextColor(int color) in NumberPicker in android-29.
Would you please upgrade lib to allow user to change text color?
Caused by: android.view.InflateException: Binary XML file line #87: Binary XML file line #87: Error inflating class com.lany.picker.HMPicker
9月1号上翻的时候会报错
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.