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

Commit 56f32ef

Browse files
authored
initial commit
1 parent b8300c8 commit 56f32ef

File tree

1 file changed

+87
-7
lines changed

1 file changed

+87
-7
lines changed

README.md

Lines changed: 87 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,93 @@
1-
21
# EasyWidgets ~ Android UI library
3-
2+
<p align="left">
3+
<a href="#"><img alt="Languages-Java" src="https://img.shields.io/badge/Language-Java-1DA1F2?style=flat-square&logo=java"></a>
4+
<a href="https://www.instagram.com/x__coder__x/"><img alt="Instagram - x__coder__" src="https://img.shields.io/badge/Instagram-x____coder____x-lightgrey"></a>
5+
<a href="#"><img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/ErrorxCode/OTP-Verification-Api?style=social"></a>
6+
</p>
7+
48
🇹‌🇭‌🇮‌🇸‌ 🇱‌🇮‌🇧‌🇷‌🇦‌🇷‌🇾‌ 🇼‌🇮‌🇱‌🇱‌ 🇭‌🇪‌🇱‌🇵‌ 🇾‌🇴‌🇺‌ 🇹‌🇴‌ 🇺‌🇸‌🇪‌ 🇨‌🇴‌🇲‌🇵‌🇱‌🇪‌🇽‌ 🇺‌🇮‌ 🇨‌🇴‌🇲‌🇵‌🇴‌🇳‌🇪‌🇳‌🇹‌🇸‌ 🇩‌🇮‌🇷‌🇪‌🇨‌🇹‌🇱‌🇾‌ 🇼‌🇮‌🇹‌🇭‌🇴‌🇺‌🇹‌ 🇼‌🇷‌🇮‌🇹‌🇮‌🇳‌🇬‌ 🇦‌ 🇨‌🇺‌🇸‌🇹‌🇴‌🇲‌ 🇦‌🇩‌🇦‌🇵‌🇹‌🇪‌🇷‌ 🇫‌🇴‌🇷‌ 🇹‌🇭‌🇪‌🇲‌. 🇪‌🇦‌🇷‌🇱‌🇮‌🇪‌🇷‌, 🇾‌🇴‌🇺‌ 🇭‌🇦‌🇻‌🇪‌ 🇹‌🇴‌ 🇼‌🇷‌🇮‌🇹‌🇪‌ 🇦‌ 🇨‌🇺‌🇸‌🇹‌🇴‌🇲‌ 🇦‌🇩‌🇦‌🇵‌🇹‌🇪‌🇷‌ 🇫‌🇴‌🇷‌ 🇦‌ 🇸‌🇮‌🇲‌🇵‌🇱‌🇪‌ 🇨‌🇺‌🇸‌🇹‌🇴‌🇲‌ 🇱‌🇮‌🇸‌🇹‌🇻‌🇮‌🇪‌🇼‌. 🇧‌🇺‌🇹‌ 🇳‌🇴‌🇼‌ 🇴‌🇳‌🇼‌🇦‌🇷‌🇩‌🇸‌, 🇾‌🇴‌🇺‌ 🇯‌🇺‌🇸‌🇹‌ 🇭‌🇦‌🇻‌🇪‌ 🇹‌🇴‌ 🇼‌🇷‌🇮‌🇹‌🇪‌ 🇨‌🇴‌🇩‌🇪‌ 🇫‌🇴‌🇷‌ 🇻‌🇮‌🇪‌🇼‌ 🇮‌🇳‌ 🇽‌🇲‌🇱‌. 🇹‌🇭‌🇮‌🇸‌ 🇱‌🇮‌🇧‌🇷‌🇦‌🇷‌🇾‌ 🇵‌🇷‌🇴‌🇻‌🇮‌🇩‌🇪‌🇸‌ 🇲‌🇦‌🇳‌🇾‌ 🇨‌🇺‌🇸‌🇹‌🇴‌🇲‌ 🇨‌🇴‌🇲‌🇵‌🇴‌🇳‌🇪‌🇳‌🇹‌🇸‌ 🇸‌🇺‌🇨‌🇭‌ 🇦‌🇸‌ 🇱‌🇮‌🇸‌🇹‌🇻‌🇮‌🇪‌🇼‌🇸‌,🇸‌🇵‌🇮‌🇳‌🇳‌🇪‌🇷‌,🇷‌🇦‌🇩‌🇮‌🇴‌🇧‌🇺‌🇹‌🇹‌🇴‌🇳‌ & 🇲‌🇴‌🇷‌🇪‌.
59

6-
## Features
10+
## Screenshots
11+
12+
13+
<p float="left">
14+
15+
<img src="https://www.codingdemos.com/wp-content/uploads/2017/10/Android-Custom-Spinner-With-Images-And-Text.png" width="250" />
16+
17+
<img src="https://i.pinimg.com/originals/f9/11/d3/f911d38579709636499618b6b3d9b6f6.jpg" width="30" />
718

8-
- listview with a image & 3 textviews
9-
- 2
10-
- Fullscreen mode
11-
- Cross platform
19+
<img src="https://mobile-cdn.softpedia.com/apk/images/1-1-1-1-faster-safer-internet_8.jpg" width="250" />
20+
21+
<img src="https://i.pinimg.com/originals/f9/11/d3/f911d38579709636499618b6b3d9b6f6.jpg" width="30" />
1222

23+
<img src="https://static.javatpoint.com/images/androidimages/custom-listview3.png" width="250" />
1324

25+
<img src="https://i.pinimg.com/originals/f9/11/d3/f911d38579709636499618b6b3d9b6f6.jpg" width="30" />
26+
27+
</p>
28+
29+
## Features
30+
31+
- 2 types of listviews
32+
- 2 type of spinner
33+
- 2 lined radiobutton (special)
34+
- Simple & easiest ever
35+
36+
37+
## Implimentation
38+
39+
In your project build.gradle
40+
41+
```groovy
42+
allprojects {
43+
repositories {
44+
...
45+
maven { url 'https://jitpack.io' }
46+
}
47+
}
48+
```
49+
In your module (app) build.gradle
50+
```groovy
51+
dependencies {
52+
implementation 'com.github.ErrorxCode:EasyWidgets:1.0'
53+
}
54+
```
55+
56+
## Usage / Example
57+
**RadioButton**
58+
```xml
59+
<com.easywidgets.radio.EasyRadioButton
60+
android:layout_width="match_parent"
61+
android:layout_height="wrap_content"
62+
app:title="This is title"
63+
app:description="This is description"
64+
app:isR2L="true"/>
65+
```
66+
[Note] : Use ```EasyRadioGroup``` insted of default ```RadioGroup``` for this.
67+
68+
**Spinner**
69+
```java
70+
Spinner spinner = findViewById(R.id.spinner); // Use default spinner,Just need to use this adapter.
71+
SpinnerAdapter adapter = new SpinnerAdapter(this,new String[]{"High","Ultra","Extreme"},new String[]{"This will give you 30 FPS","This will give you 40 FPS","This will give you 60 FPS"});
72+
// or
73+
SpinnerAdapter adapter = new SpinnerAdapter(this,new String[]{"High","Ultra","Extreme"},new int[]{R.mipmap.ic_launcher,R.drawable.ic_launcher_background});
74+
spinner.setAdapter(adapter);
75+
```
76+
**Listview**
77+
```java
78+
Listview listview = findViewById(R.id.listview); // Use default spinner,Just need to use this adapter.
79+
ListAdapter adapter = new ListAdapter(this,new String[]{"High","Ultra","Extreme"},new String[]{"This will give you 30 FPS","This will give you 40 FPS","This will give you 60 FPS"});
80+
// or
81+
ListAdapter adapter = new ListAdapter(this,new int[]{R.mipmap.ic_launcher,R.drawable.ic_launcher_background},new String[]{"High","Ultra","Extreme"},null);
82+
// or
83+
ArrayList<ListAdapterObject> items = new ArrayList<>();
84+
items.add(object1);
85+
items.add(object2);
86+
items.add(object3);
87+
88+
ListAdapter adapter = new ListAdapter(this,list);
89+
listview.setAdapter(adapter);
90+
```
91+
[Note] : If using adater for listview with icons, you have to either pass String arry for 3rd line (heading) or null.
92+
93+
**Thank you for using my library. Have a nice day :)**

0 commit comments

Comments
 (0)