All Projects → DeweyReed → ScrollHmsPicker

DeweyReed / ScrollHmsPicker

Licence: MIT License
A simple scrollable HMS time picker view for Android.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to ScrollHmsPicker

EasyAlbum
📷 A lightweight, pure-Swift library for pick up photo from your album.
Stars: ✭ 31 (+3.33%)
Mutual labels:  picker, picker-library
Active-Directory-Object-Picker
The standard Active Directory object picker dialog for .NET
Stars: ✭ 74 (+146.67%)
Mutual labels:  picker
Weekdays-Selector
Android Library for selecting Weekdays
Stars: ✭ 33 (+10%)
Mutual labels:  picker-library
hms-iap-serverdemo
IAP server sample encapsulates APIs of the HUAWEI IAP server. It provides many sample programs for your reference or usage. The repository contains 8 branches of java, csharp, golang, nodejs, perl, php, python and ruby demo.
Stars: ✭ 20 (-33.33%)
Mutual labels:  hms
hms-iap-clientdemo-android-studio
This demo app provides all 3 types of product to demonstrate the procedure and capability of Huawei IAP.
Stars: ✭ 36 (+20%)
Mutual labels:  hms
hms-react-native-plugin
This repo contains all of React-Native HMS plugins.
Stars: ✭ 167 (+456.67%)
Mutual labels:  hms
hms-video-editor-demo
HUAWEI Video Editor Kit provides full video editing functions like video import/export, editing and rendering. This sample code is used to describe how to integrate the Video Editor Kit SDK.
Stars: ✭ 45 (+50%)
Mutual labels:  hms
slack widgets
An abstraction of the JSON structure needed to create widgets in Slack message attachments
Stars: ✭ 14 (-53.33%)
Mutual labels:  picker
react-area-linkage
省市区联动选择: https://dwqs.github.io/react-area-linkage/
Stars: ✭ 52 (+73.33%)
Mutual labels:  picker
react-picky-date-time
A react component for date time picker. Online demo examples
Stars: ✭ 41 (+36.67%)
Mutual labels:  picker
Lassi-Android
All in 1 picker library for android.
Stars: ✭ 108 (+260%)
Mutual labels:  picker
map-kit-android
An extensive framework for map development in Android.
Stars: ✭ 44 (+46.67%)
Mutual labels:  hms
react-native-multiple-select
Customizable & Animated, Easy to Use Multiple Select Library for React Native
Stars: ✭ 31 (+3.33%)
Mutual labels:  picker
XPopupExt
XPopup扩展功能库,基于XPopup强大的弹窗能力和PickerView的选择器逻辑,封装了时间选择器弹窗、城市选择器弹窗和条件选择器。
Stars: ✭ 248 (+726.67%)
Mutual labels:  picker
hms-3d-modeling-demo
HUAWEI 3D Modeling Kit project contains a sample app. Guided by this demo, you will be able to implement full 3D Modeling Kit capabilities, including 3D object reconstruction and material generation.
Stars: ✭ 45 (+50%)
Mutual labels:  hms
HijriDatePicker
Material (Gregorian - Hijri) Date & Time Picker
Stars: ✭ 128 (+326.67%)
Mutual labels:  picker
miniprogram-picker
微信小程序自定义组件Picker。本组件对微信小程序原生Picker组件进行了二次封装,开发者只需要提供固定数据结构的sourceData,再进行一些必要配置,本组件就可以自动帮助开发者处理联动逻辑。
Stars: ✭ 30 (+0%)
Mutual labels:  picker
ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (-16.67%)
Mutual labels:  picker
TVOSPicker
A sweet horizontal picker view controller for tvOS.
Stars: ✭ 26 (-13.33%)
Mutual labels:  picker
hms-analytics-demo-android
HmsAnalyticsKitDemo is a app that applying HUAWEI Hianalytics SDK used for showing how to collect user engagement and user preference.
Stars: ✭ 19 (-36.67%)
Mutual labels:  hms

Android Arsenal Newest version

ScrollHmsPicker

A simple HMS time picker with scrolling.

Screenshots

In the XML In the Dialog
In the XML In the Dialog

Install

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency => Newest version

dependencies {
    implementation 'com.github.DeweyReed:ScrollHmsPicker:$version'
}

2.X.X requires AndroidX. 1.0.3 is the last version using the support library.

Usage

<io.github.deweyreed.scrollhmspicker.ScrollHmsPicker
    android:id="@+id/scrollHmsPicker"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

Then, use scrollHmsPicker.getHours() and other getters to get users' input.

Attributes

attribute xml default means
setHours shp_hours 0(Int) set picker's hours
setMinutes shp_minutes 0(Int) set picker's minutes
setSeconds shp_seconds 0(Int) set picker's seconds
setColorNormal shp_normal_color android.R.color.darker_gray(color resource) set picker's not selected text color
setColorIntNormal shp_normal_color - accepts a color int
setColorSelected shp_selected_color android.R.color.holo_red_light(color resource) set picker's selected text color
setColorIntSelected shp_selected_color - accepts a color int
setAutoStep shp_auto_step false(Boolean) let picker automatically increment 1 minute if seconds move from 59 to 00 or increment 1 hour if minutes move from 59 to 00
setHoursVisibility shp_show_hours true set hours picker visibility
setMinutesVisibility shp_show_minutes true set minutes picker visibility
setSecondsVisibility shp_show_seconds true set seconds picker visibility
set99Hours shp_enable_99_hours false Change max hours from 23 to 99
setTypeface Set all texts typeface
getTypeface Get current text typeface

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].