Skip to content

h6ah4i/android-numberpickercompat

Repository files navigation

NumberPickerCompat

This library is a port of the NumberPicker widget of Android framework. The ported widget has been re-written with the support library features so it can provide the same Material Design look and feel for all devices.

Maven Central


Screenshot

NumberPickerCompat


Target platforms

  • API level 14 or later

Latest version

Getting started

This library is published on Maven Central. Just add these lines to build.gradle.

repositories {
+     mavenCentral()
}

dependencies {
+     implementation 'com.h6ah4i.android.widget:numberpickercompat:1.1.3'
}

Usage

<com.h6ah4i.android.widget.numberpickercompat.NumberPicker
    android:layout_width="200dp"
    android:layout_height="200dp" />

License

This library is licensed under the Apache Software License, Version 2.0.

See LICENSE for full of the license text.

Copyright (C) 2017 Haruki Hasegawa
Copyright (C) 2008 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.