All Projects → ehsunshine → Colored Time Selector

ehsunshine / Colored Time Selector

Licence: gpl-3.0
A smart colored time selector. Users can select just free time with a handy colorful range selector.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Colored Time Selector

Vue Ctk Date Time Picker
VueJS component to select dates & time, including a range mode
Stars: ✭ 707 (+353.21%)
Mutual labels:  time, range
Period
PHP's time range API
Stars: ✭ 616 (+294.87%)
Mutual labels:  time, range
Exceptionless.datetimeextensions
DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
Stars: ✭ 142 (-8.97%)
Mutual labels:  time, range
Singledateandtimepicker
You can now select a date and a time with only one widget !
Stars: ✭ 921 (+490.38%)
Mutual labels:  time, range
Moment Precise Range
A moment.js plugin to display human-readable date/time ranges
Stars: ✭ 134 (-14.1%)
Mutual labels:  range
Reconnoitre
A security tool for multithreaded information gathering and service enumeration whilst building directory structures to store results, along with writing out recommendations for further testing.
Stars: ✭ 1,824 (+1069.23%)
Mutual labels:  range
Jhtalib
Technical Analysis Library Time-Series
Stars: ✭ 131 (-16.03%)
Mutual labels:  time
Myutils
🙏 提供时间轴转星座|生肖工具、系统存储空间获取工具、文件大小格式化工具、获取指定文件大小工具、AES加密解码工具(支持android端平台加密解密,java端和android端相互加密解密)、SharePreference操作工具、 File文件操作工具、日期获取和计算工具、界面跳转Intent操作工具、字符串验证和数值转换操作工具、手机震动工具、系统资源操作工具、网络检测工具、 wifi操作工具、单位换算工具、zip压缩和解压操作工具、XML解析操作工具(只支持几种指定格式)、图片加载和处理工具,数据库操作(增删改查)工具、Base64编码解码工具、MD5加密工具。
Stars: ✭ 130 (-16.67%)
Mutual labels:  time
Berkanansdk
Bluetooth mesh messaging SDK for apps
Stars: ✭ 150 (-3.85%)
Mutual labels:  range
Rangeless
c++ LINQ -like library of higher-order functions for data manipulation
Stars: ✭ 148 (-5.13%)
Mutual labels:  range
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-8.33%)
Mutual labels:  time
Css What
a CSS selector parser
Stars: ✭ 134 (-14.1%)
Mutual labels:  selector
Tardis
Trace And Rewrite Delays In Syscalls: Hooking time-related Linux syscalls to warp a process's perspective of time, using ptrace.
Stars: ✭ 144 (-7.69%)
Mutual labels:  time
React Clock
An analog clock for your React app.
Stars: ✭ 149 (-4.49%)
Mutual labels:  time
Time Machine
Travel through time in your tests.
Stars: ✭ 143 (-8.33%)
Mutual labels:  time
Tzupdate
Set the system timezone based on IP geolocation
Stars: ✭ 130 (-16.67%)
Mutual labels:  time
Gostradamus
Gostradamus: Better DateTimes for Go 🕰️
Stars: ✭ 148 (-5.13%)
Mutual labels:  time
Delorean
Delorean: Time Travel Made Easy
Stars: ✭ 1,793 (+1049.36%)
Mutual labels:  time
Easyappointments
Easy!Appointments is a highly customizable web application that allows customers to book appointments with you via a sophisticated web interface. Moreover, it provides the ability to sync your data with Google Calendar so you can use them with other services. It is an open source project that you can download and install even for commercial use. Easy!Appointments will run smoothly with your existing website as it can be installed in a single folder of the server and of course share an existing database.
Stars: ✭ 2,013 (+1190.38%)
Mutual labels:  time
Mir Algorithm
Dlang Core Library
Stars: ✭ 143 (-8.33%)
Mutual labels:  range

Download Android Arsenal GitHub license Build Status

Colored Time Range Selector

A smart colored time range selector. Users can select just free time with a handy colorful range selector.

Screen Shots

Colored Time Range Bar Selector Colored Time Range Bar Selector

Features

  • Select a time range between 2 hours
  • Highlight available time range with your desire color
  • Select just free times in a range
  • Two different type of view, with Selector and without it

Use it

build.gradle

dependencies {
    implementation 'de.ehsun.coloredtimebar:coloredtimebar:1.0'
}

In your layout use the ColoredTimeBar as below:

<de.ehsun.coloredtimebar.TimelineView
            android:id="@+id/timelineView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:barColorAvailable="@color/available_time_default_color"
            app:barColorHighlight="@color/selector_default_color"
            app:barColorNotAvailable="@color/timeline_default_color"
            app:barWidth="16dp"
            app:fractionLineColor="@color/separatorDark"
            app:fractionLineLength="8dp"
            app:fractionLineWidth="1dp"
            app:fractionPrimaryTextColor="@color/fraction_default_color"
            app:fractionSecondaryTextColor="@color/fraction_default_color"
            app:fractionTextInterval="2"
            app:fractionTextSize="8sp"
            app:timeRange="07:00-19:00" />

In your code you can easily set the available time by passing an array of time range string as below:

timelineView.setAvailableTimeRange(listOf("07:00 - 10:15", "12:00 - 15:00"))

And to enable picker handles use it as below:

<de.ehsun.coloredtimebar.TimelinePickerView
                android:id="@+id/timelinePicker"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:barColorAvailable="@color/available_time_default_color"
                app:barColorHighlight="@color/selector_default_color"
                app:barColorNotAvailable="@color/timeline_default_color"
                app:barWidth="24dp"
                app:fractionLineColor="@color/separatorDark"
                app:fractionLineLength="8dp"
                app:fractionLineWidth="1dp"
                app:fractionPrimaryTextColor="@color/colorGrey900"
                app:fractionSecondaryTextColor="@color/colorBlueGrey500"
                app:fractionTextInterval="1"
                app:fractionTextSize="8sp"
                app:stepSize="15"
                app:timeRange="07:00-19:00" />
timelinePicker.setOnSelectedTimeRangeChangedListener { from, to ->
            selectedTimeTextView.text = getString(R.string.from_to, from.format(), to.format())
        }
Colored Time Range Bar Selector

Do you like it?

Use it and develop it as you like and buy me a cup of tea :)

Buy Me a Coffee at ko-fi.com

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].