KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
AwesomeToggle
★ 13
Open GitHub ↗
A customized toggle button
Download README (.md)
Explore Similar Repositories
protocol-tableview-and-collectionview
:
This repo shows how to build a protocol-oriented data source for both UITableView and UICollectionView
PimpMyJira
:
Script for JIRA utilities
ld-hello
:
hello world written in GNU linker script
sq-com_example_c-sqscanner-travis
:
C SQ-Scanner-based project analyzed on SonarCloud using Travis
HighchartsSt
:
A Highcharts Js API wrapper for Pharo Smalltalk
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
AwesomeToggle
?
Download (.md)
# AwesomeToggle [](https://android-arsenal.com/details/3/4699) [](https://github.com/jineshfrancs/AwesomeToggle/issues) [](https://github.com/jineshfrancs/AwesomeToggle/network) [](https://github.com/jineshfrancs/AwesomeToggle/stargazers) A customized toggle button ScreenShot:  In your xml file add this tag to get AwesomeToggle ```xml <test.jinesh.awesometoggleproject.AwesomeToggle android:layout_width="100dp" android:layout_height="wrap_content" android:id="@+id/sample" app:inactive_background_color="@color/colorPrimary" app:active_background_color="@color/colorAccent" app:font_color="@color/white" app:inner_toggle_color="@color/white" /> ``` You can apply checked change listner in java code to monitor the toggle state changes ```java awesomeToggle= (AwesomeToggle) findViewById(R.id.sample); awesomeToggle.setOnCheckedChangeListner(new AwesomeToggle.OnCheckedChangeListner() { @Override public void onChecked(boolean isChecked) { } }); ```