All Projects → ycuwq → Datepicker

ycuwq / Datepicker

Licence: mit
Android DatePicker

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Datepicker

react-datepicker
A Datepicker built using Tailwind and react-popper
Stars: ✭ 31 (-87.7%)
Mutual labels:  datepicker
ng-sq-ui
Flexible and easily customizable UI-kit for Angular 11+
Stars: ✭ 99 (-60.71%)
Mutual labels:  datepicker
skwas-cordova-plugin-datetimepicker
Cordova Plugin for showing a native date, time or datetime picker.
Stars: ✭ 37 (-85.32%)
Mutual labels:  datepicker
material-datepicker
Material Datepicker
Stars: ✭ 29 (-88.49%)
Mutual labels:  datepicker
vuejs3-datepicker
vue 3 datepicker. supports disabling, highlighting of dates and programmatic access of date.
Stars: ✭ 23 (-90.87%)
Mutual labels:  datepicker
chakra-dayzed-datepicker
Chakra UI + Dayzed = datepicker
Stars: ✭ 44 (-82.54%)
Mutual labels:  datepicker
nepali date picker
Material Style Date Picker with Bikram Sambat(Nepali) Calendar Support. Supports both Android and ios.
Stars: ✭ 30 (-88.1%)
Mutual labels:  datepicker
vue-datetime-picker
vue-datetime-picker / vue时间日期选择器
Stars: ✭ 16 (-93.65%)
Mutual labels:  datepicker
react-native-infinite-calendar
WIP: React native port of react-infinite-calendar
Stars: ✭ 43 (-82.94%)
Mutual labels:  datepicker
ionic4-datepicker
Ionic 4 Datepicker component
Stars: ✭ 78 (-69.05%)
Mutual labels:  datepicker
vue-persian-datepicker
A datepicker component for select Persian date
Stars: ✭ 23 (-90.87%)
Mutual labels:  datepicker
ak-vue3
组件库包含了 AutoForm 自动表单、BackTop 返回顶部、Breadcrumb 面包屑、 Button 按钮、Cascader 级联选择器、Checkbox 多选框、Collapse 折叠面板、ColorPicker 颜色选择器、DataPicker 时间选择器、Dialog 弹层对话框、Alert 弹框、Echarts 图形图表、Form 表单、Input 输入框、Lazy 图片延时加载、Loading 加载等待、Menu 菜单、Pagination 分页、Progress 进度条、Radio 单选框、Select 选择器、Steps 步骤条、Swiper 图片轮播、Switch 开关、Table 表格、Tabs 标签页、Textarea 文本框、Tooltip 提示、Tr…
Stars: ✭ 24 (-90.48%)
Mutual labels:  datepicker
date-time-picker
Angular Date Time Picker (Responsive Design)
Stars: ✭ 98 (-61.11%)
Mutual labels:  datepicker
PagerDatePicker
PagerDatePicker for Android
Stars: ✭ 82 (-67.46%)
Mutual labels:  datepicker
angular-eonasdan-datetimepicker
A wrapper directive around the Eonasdan Datepicker v4 component.
Stars: ✭ 63 (-75%)
Mutual labels:  datepicker
DatePicker
html价格日历控件
Stars: ✭ 21 (-91.67%)
Mutual labels:  datepicker
inquirer-datepicker-prompt
Datepicker prompt for inquirer.js
Stars: ✭ 24 (-90.48%)
Mutual labels:  datepicker
vue-single-date-picker
A Vue project - single date picker
Stars: ✭ 16 (-93.65%)
Mutual labels:  datepicker
Calendar
A calendar picker component, based on jQuery.
Stars: ✭ 49 (-80.56%)
Mutual labels:  datepicker
wp-datepicker-styling
jQuery UI Datepicker styling to match WordPress color schemes
Stars: ✭ 78 (-69.05%)
Mutual labels:  datepicker

DatePicker

Download MIT

Android date picker widget.

screen

Repo Wiki

简体中文说明

Import

Add the dependency to your app modules:

dependencies {
	implementation 'com.ycuwq.widgets:datepicker:latest-version'
}

Usage

<com.ycuwq.datepicker.date.DatePicker
    android:id="@+id/datePicker"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>

Show Dialog

screen

DatePickerDialogFragmentextends DialogFragment ,for example:

DatePickerDialogFragment datePickerDialogFragment = new DatePickerDialogFragment();
datePickerDialogFragment.setOnDateChooseListener(...);
datePickerDialogFragment.show(getSupportFragmentManager(), "DatePickerDialogFragment");

If you want to customize the style ,for example::

public class MyDatePickerDialogFragment extends DatePickerDialogFragment {

   @Override
   protected void initChild() {
      super.initChild();
      mCancelButton.setTextSize(mCancelButton.getTextSize() + 5);
      mDecideButton.setTextSize(mDecideButton.getTextSize() + 5);
      mDatePicker.setShowCurtain(false);
   }
}

License

MIT License

Copyright (c) 2018 ycuwq

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].