MyGit

lguipeng/AnimCheckBox

Fork: 73 Star: 399 (更新于 2024-11-06 17:30:37)

license: 暂无

Language: Java .

Animation CheckBox

最后发布版本: 1.0.1 ( 2017-01-02 11:39:23)

GitHub网址

AnimCheckBox

##Screenshot screenshot

###Inspired By Dribbble

##Import to your project ###Gradle Add it in your build.gradle at the end of repositories

repositories {
    // ...
    maven { url "https://jitpack.io" }
}

Add the dependency in the form

dependencies {
    compile 'com.github.lguipeng:AnimCheckBox:1.0.1'
}

###Maven

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>
<dependency>
    <groupId>com.github.lguipeng</groupId>
    <artifactId>AnimCheckBox</artifactId>
    <version>1.0.1</version>
</dependency>

###Or Copy AnimCheckBox.java into your project.

##Usage ###In Layout File

  <com.github.lguipeng.library.animcheckbox.AnimCheckBox
        android:layout_gravity="center_horizontal"
        android:layout_width="80dp"
        android:padding="4dp"
        android:layout_height="wrap_content"
        app:stroke_width="4dp"
        app:stroke_color="#2196F3"
        app:circle_color="#1976D2"
        app:checked="true"/>

###In Java File

AnimCheckBox checkbox = (AnimCheckBox)findViewById(R.id.checkbox)
checkbox.setChecked(true);
boolean animation = true;
checkbox.setChecked(false, animation);

##关于我

##License

Copyright 2017 Liaoguipeng

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.

最近版本更新:(数据更新于 2024-09-25 18:30:04)

2017-01-02 11:39:23 1.0.1

2015-10-05 16:19:36 1.0.0

lguipeng/AnimCheckBox同语言 Java最近更新仓库

2024-11-13 09:30:15 Tornaco/Thanox

2024-11-12 09:59:10 mybatis-flex/mybatis-flex

2024-11-11 23:58:45 PBH-BTN/PeerBanHelper

2024-11-10 07:12:10 Stirling-Tools/Stirling-PDF

2024-11-08 23:15:38 yuliskov/SmartTube

2024-11-08 05:44:55 jmdns/jmdns