Circle button widget for Android

Min SDK   11
Latest Commit   2015-09-14 13:29:47
License   unknown

Github   https://github.com/markushi/android-circlebutton

         

标签

使用APP客户端扫描二维码运行Demo


...

markushi
None
Austria

https://markushintersteiner.at

         

类似的还有....
GoodView Android点赞+1效果,支持文本和图像
PlayPauseButton GitHub - recruit-lifestyle/PlayPauseButton
JellyToggleButton Cute and colorful toggle button with 18 jelly types and 30 ease types.
README

README.md

DEPRECATED

This library is deprecated and no new development is taking place. Consider using a FAB(Floating action button) instead.

E.g. the Android Design Support Library offers a FAB implementation.

android-circlebutton

Circle button widget for Android

Button Example

Download an example apk

Gradle dependency build.gradle

repositories {
    mavenCentral()
    mavenLocal()
}

...

dependencies {
    compile 'com.github.markushi:circlebutton:1.1'
}

Example Usage:

<FrameLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res-auto"
	android:layout_width="match_parent"
	android:layout_height="match_parent" >

	<at.markushi.ui.CircleButton
		android:layout_width="64dip"
		android:layout_height="64dip"
		android:src="@drawable/ic_action_tick"
		app:cb_color="#99CC00"
		app:cb_pressedRingWidth="8dip" />

</FrameLayout>