puffocyano / range-time-picker-dialog Goto Github PK
View Code? Open in Web Editor NEWA custom dialog that allow you to set a start time and end time.
License: Apache License 2.0
A custom dialog that allow you to set a start time and end time.
License: Apache License 2.0
Currently using support fragments in my project and the dialog.setTargetFragment()
is expecting a fragment. Anyway of using support fragments? Also allowing minutes to be disabled would be a cool feature.
Would like to be able to add code for when the "Cancel" button is pressed
Android resource linking failed
Output: /mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:1281: error: resource android:attr/fontVariationSettings not found.
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:1282: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: /home/amen/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/990ddbab0a1a589da867aa5573698459/aapt2-3.2.1-4818971-linux/aapt2 link -I
/mnt/881ea830-864b-4b29-89af-121041871996/home/amen/android/Sdk/platforms/android-27/android.jar
--manifest
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml
-o
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_
-R
@/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r
--custom-package
khomasyatplayground.comtass.alamenpj.com.khomasyatplayground
-0
apk
--output-text-symbols
/mnt/db80843b-434f-4e7d-a707-d676d748b690/mPrograms/AndroidProjacts/khomasyatplayground/app/build/intermediates/symbols/debug/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0
Can't show dialog when i use Fragment of AndroidX
How to set initial clock value, set clock text size, set initial opened tab, set tab icon with my own drawables, and use keyboard input as default? And when I use snippet on my activity, fragmentManager
is deprecated, but when I changed it to supportFragmentManager
parameter is not valid. How to fix it? Thank you so much.
When I set calendar time is 09:05 example, then click OK. The result of minute of onSelectedTime is 9:5 (it should be 09:05). Please resolve this issue. Thanks
Getting error after including dependency using android X and newest gradle tools.
hi,
Please upgrade appcompat-v7 to 27.1.1,
Thanks a lot .
I don't know why this happens initially it works fine, But all the sudden I came up with this error.
Process: com.xxx.yyy.zzz, PID: 27215 java.lang.NoSuchMethodError: No virtual method addOnTabSelectedListener(Landroid/support/design/widget/TabLayout$OnTabSelectedListener;)V in class Landroid/support/design/widget/TabLayout; or its super classes (declaration of 'android.support.design.widget.TabLayout' appears in /data/app/com.xxx.yyy.tpvisitor-2/base.apk:classes4.dex) at com.mcsoft.timerangepickerdialog.RangeTimePickerDialog$1.onShow(RangeTimePickerDialog.java:147) at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1352) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:5728) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
This is my build. gradle module-app dependencies
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.google.code.gson:gson:2.6.1'
implementation 'com.github.PuffoCyano:Range-Time-Picker-Dialog:v1.6'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
I want to check if a difference between two times is less then 30m, toast to User selected time must be greater then 30min, can you please make it do this task asap?
This task is actually a range checker,
can you add support for seconds
with ability to select a range based on hours, minutes, seconds
please upgrade appcompat-v7 to 27.1.1, I have mix vertion of this lib with 26
thanks before.
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.