Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit 03eaa8e

Browse files
author
Angad Singh
committed
docs: Added license in Readme.md
1 parent 9ba5131 commit 03eaa8e

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

Readme.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Android Library for Custom Switches.
3434
app:colorBorder="@color/colorAccent"/>
3535
```
3636

37-
2. To the reference of Switch in your Activity/Fragment class and set a ToggleListener to it as below:
37+
2. To the reference of Switch in your Activity/Fragment class set a Toggle Event Handler to it as below:
3838

3939
```java
4040
LabeledSwitch labeledSwitch = findViewById(R.id.switch);
@@ -51,4 +51,19 @@ Android Library for Custom Switches.
5151

5252
* Labeled Switch | Designed by - [Shweta Gupta](https://dribbble.com/shwetagupta)
5353

54-
![Labeled Switch](https://raw.githubusercontent.com/Angads25/android-toggle/develop/screenshots/version%201/device-2018-02-21-233623.png)
54+
![Labeled Switch](https://raw.githubusercontent.com/Angads25/android-toggle/develop/screenshots/version%201/device-2018-02-21-233623.png)
55+
56+
### License
57+
Copyright (C) 2018 Angad Singh
58+
59+
Licensed under the Apache License, Version 2.0 (the "License");
60+
you may not use this file except in compliance with the License.
61+
You may obtain a copy of the License at
62+
63+
http://www.apache.org/licenses/LICENSE-2.0
64+
65+
Unless required by applicable law or agreed to in writing, software
66+
distributed under the License is distributed on an "AS IS" BASIS,
67+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
68+
See the License for the specific language governing permissions and
69+
limitations under the License.
100 Bytes
Loading

0 commit comments

Comments
 (0)