Skip to content

huynn109/increase_decrease_button

Repository files navigation

Increase Decrease Button

increase_decrease_button is an Android library, a simple customizable NumberPicker for Android

Screenshot

Download

  dependencies {
        implementation 'com.github.huynn109:increase_decrease_button:${LATEST_VERSION}'
  }

Usage

Init in xml

 <com.huynn109.IncreaseDecreaseButton
    android:id="@+id/inDeButton"
    app:activeIconColor="@color/increase_decrease_lib_active"
    app:minNumber="1"
    app:maxNumber="10"
    app:initNumber="2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>

License

   Copyright 2022 huynn109

   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 lim