Popularity
8.5
Stable
Activity
0.0
Stable
2,121
99
692
Code Quality Rank:
L4
Programming language: Java
License: MIT License
Tags:
Button Widget
ToggleButton alternatives and similar packages
Based on the "Button Widget" category.
Alternatively, view ToggleButton alternatives based on common mentions on social networks and blogs.
-
Android-Bootstrap
Bootstrap style widgets for Android, with Glyph Icons -
circular-progress-button
Android Circular Progress Button -
SwitchButton
A cute widget of Switch Button for you to create beautiful and friendly UI. -
FloatingActionButton
[DEPRECATED] Android floating action button -
android-process-button
Android Buttons With Built-in Progress Meters. -
android-flat-button
FButton - a flat button library for Android -
Floating Navigation View
A simple Floating Action Button that shows an anchored Navigation View -
FABProgressCircle
Material progress circle around any FloatingActionButton. 100% Guidelines. -
ArrowDownloadButton
A download button with pretty cool animation -
FabButton
Android Floating ActionButton with a progress indicator ring -
CounterFab
A FloatingActionButton subclass that shows a counter badge on right top corner -
StickySwitch
⭐️ beautiful switch widget with sticky animation ⭐️ -
SlideSwitch
A widget you can slide it to open or close something -
HoldingButton
Button which is visible while user holds it. Main use case is controlling audio recording state (like in Telegram, Viber, VK). -
👏 MediumClap-Android
👏 The Medium's Clapping Effect developed in Android -
ExpandableButtonMenu
[DEPRECATED] An Android library for an expandable button menu -
SubmitDemo
comtomize view submit button which you use for submit operation or download operation and so on. -
hkm-progress-button
Base on android-process-button this is the advanced version of the android-process-button. -
Composable Button Toggle Group
ComposableButtonToggleGroup is the implementation of MaterialButtonToggleGroup for Jetpack Compose -
Rx.Widgets
Materially inspired widgets and views that expose RxJava bindings. -
Hugo Example
Bersikaplah terbuka terhadap setiap peluang secara fotografis. Memotret apa pun yang menarik mata Anda
Appwrite - The open-source backend cloud platform
Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.
Promo
appwrite.io
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ToggleButton or a related project?
README
ToggleButton
ToggleButton Widget For Android Developers
@Deprecated
!!!项目已经停止维护,新项目移至https://github.com/zcweng/SwitchButton !!!
How To Use
xmlns:toggle="http://schemas.android.com/apk/res-auto"
<com.zcw.togglebutton.ToggleButton
android:layout_width="54dp"
toggle:tbOnColor="#f00"
toggle:tbOffColor="#ddd"
toggle:tbSpotColor="#00f"
toggle:tbOffBorderColor="#000"
toggle:tbBorderWidth="2dp"
android:layout_height="30dp" >
</com.zcw.togglebutton.ToggleButton>
ToggleButton toggleBtn;
//切换开关
toggleBtn.toggle();
//切换无动画
toggleBtn.toggle(false);
//开关切换事件
toggleBtn.setOnToggleChanged(new OnToggleChanged(){
@Override
public void onToggle(boolean on) {
}
});
toggleBtn.setToggleOn();
toggleBtn.setToggleOff();
//无动画切换
toggleBtn.setToggleOn(false);
toggleBtn.setToggleOff(false);
//禁用动画
toggleBtn.setAnimate(false);
Default Size:width=50dp,height=30dp.
引用方式
2016/8/3 17:04:53
compile 'com.zcw:togglebutton-library:1.0.0'