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

Commit 91d96f9

Browse files
committed
v2.2.0
- OneUI4++ (huge thanks to [BlackMesa123](https://github.com/BlackMesa123)) - AppBar/Toolbar - Edge effect - TabLayout/BottomNavigationView - SwipeRefreshLayout - EditText - and more... - ToolbarLayout & PopupMenu/Menu improvements - icons++ (OneUI4) - fixes & minor changes
1 parent f6c27ef commit 91d96f9

File tree

4 files changed

+29
-13
lines changed

4 files changed

+29
-13
lines changed

README.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111
<img loading="lazy" src="readme-resources/banner.png"/>
1212
</p>
1313

14-
<img loading="lazy" src="https://github.com/Yanndroid/Yanndroid/blob/master/cats.gif" width="25" height="25" /> A library for Android, useful for creating Samsung's OneUI styled apps. This library contains a theme which will apply for most views (see [which](#Progress)) in your layout, and some custom OneUI views. The text which is in the custom views is translated to 90 languages, so you don't need to worry for these. Android 5.0 (api 21) and above are supported, the library also has Dark mode, Landscape, Tablet, DeX and RTL support. This library has been tested in Android Studio, but should work in other IDEs too. You can download and install the latest apk of the sample app [here](https://github.com/Yanndroid/OneUI-Design-Library/raw/master/app/release/app-release.apk). Suggestions, improvements and help are always welcome.
14+
<img loading="lazy" src="https://github.com/Yanndroid/Yanndroid/blob/master/cats.gif" width="25" height="25" /> A library for Android, useful for creating Samsung's OneUI styled apps. This library contains a theme which will apply for most views (see [which](#Progress)) in your layout, and some custom OneUI views. The text which is in the custom views is translated to 90 languages, so you don't need to worry for these. Android 5.0 (api 21) and above are supported, the library also has Dark mode, Landscape, Tablet, DeX and RTL support. This library has been tested in Android Studio, but should work in other IDEs too. You can download and install the latest apk of the sample app [here](https://github.com/Yanndroid/OneUI-Design-Library/raw/master/app/release/app-release.apk). You can also check out my other apps for more examples on how to use this library. Suggestions, improvements and help are always welcome.
1515

1616
Huge thanks to [BlackMesa123](https://github.com/BlackMesa123) who has contributed a lot to this project.
1717

18-
Excuse my bad english, feel free to correct it. :)
19-
2018

2119
- [Screenshots](#Screenshots)
2220
- [Installation](#Installation)
23-
- [Usage](#Usage)
21+
- [Documentation](#Documentation)
2422
- [Progress](#Progress)
2523
- [Changelog](#Changelog)
2624
- [More info](#More-info)
@@ -36,7 +34,7 @@ v2.0.0 and future versions are (and only will be) available on mavenCentral. For
3634
1. Add the dependency to build.gradle (Module: ...)
3735
```gradle
3836
dependencies {
39-
implementation 'io.github.yanndroid:oneui:2.1.1'
37+
implementation 'io.github.yanndroid:oneui:2.2.0'
4038
...
4139
}
4240
```
@@ -144,7 +142,7 @@ dependencies {
144142

145143
If you encounter problems with Proguard (missing classes), see this [Issue](https://github.com/Yanndroid/OneUI-Design-Library/issues/53) by [AlirezaIvaz](https://github.com/AlirezaIvaz).
146144

147-
## Usage
145+
## Documentation
148146
In general, most of the views are styled automatically when you apply ```android:theme="@style/OneUITheme"``` in AndroidManifest.xml, the usage of the custom views in the library however is needed to achieve the best results.
149147

150148
- [DrawerLayout](#DrawerLayout)
@@ -1242,7 +1240,7 @@ The sample app icon for example:
12421240
<img loading="lazy" src="readme-resources/app-icons/sample.png" width="50" height="50" />
12431241

12441242
### OneUI 4
1245-
Starting with v2.1.0, the new OneUI 4 design is being added to this library. Since Samsung hasn't released a stable version yet and still has a lot of stuff to fix, only some views are (partly) using the new style. As long as OneUI 4 is beta, this feature will also be, so don't expect too much. All the views which don't have the new style yet will use the old one (OneUI 3) instead. If you already want to use the OneUI 4 style, instead of ```@style/OneUITheme```, ```@style/OneUIAboutTheme``` and ```@style/OneUISplashTheme``` use ```@style/OneUI4Theme```, ```@style/OneUI4AboutTheme``` and ```@style/OneUI4SplashTheme``` in your manifest file.
1243+
Starting with v2.1.0, the new OneUI 4 design is being added to this library and v2.2.0 makes it the default theme of the library. If you still want to use the OneUI 3 style, instead of ```@style/OneUITheme```, ```@style/OneUIAboutTheme``` and ```@style/OneUISplashTheme``` use ```@style/OneUI3Theme```, ```@style/OneUI3AboutTheme``` and ```@style/OneUI3SplashTheme``` in your manifest file. All the views which don't have the new style yet will use the old one (OneUI 3) instead.
12461244

12471245
## Progress
12481246

@@ -1276,6 +1274,22 @@ Starting with v2.1.0, the new OneUI 4 design is being added to this library. Sin
12761274

12771275
## Changelog
12781276

1277+
<details>
1278+
<summary>2.2.0</summary>
1279+
1280+
- OneUI4++ (huge thanks to [BlackMesa123](https://github.com/BlackMesa123))
1281+
- AppBar/Toolbar
1282+
- Edge effect
1283+
- TabLayout/BottomNavigationView
1284+
- SwipeRefreshLayout
1285+
- EditText
1286+
- and more...
1287+
- ToolbarLayout & PopupMenu/Menu improvements
1288+
- icons++ (OneUI4)
1289+
- fixes & minor changes
1290+
1291+
</details>
1292+
12791293
<details>
12801294
<summary>2.1.1</summary>
12811295

app/release/app-release.apk

185 KB
Binary file not shown.

app/release/output-metadata.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 2,
2+
"version": 3,
33
"artifactType": {
44
"type": "APK",
55
"kind": "Directory"
@@ -10,9 +10,11 @@
1010
{
1111
"type": "SINGLE",
1212
"filters": [],
13-
"versionCode": 54,
14-
"versionName": "2.1.1",
13+
"attributes": [],
14+
"versionCode": 55,
15+
"versionName": "2.2.0",
1516
"outputFile": "app-release.apk"
1617
}
17-
]
18+
],
19+
"elementType": "File"
1820
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
22
android.useAndroidX=true
33
android.enableJetifier=true
44
# version
5-
VERSION_NAME=2.1.1
6-
VERSION_CODE=6
5+
VERSION_NAME=2.2.0
6+
VERSION_CODE=7
77
# mavenCentral
88
GROUP_ID=io.github.yanndroid
99
ARTIFACT_ID=oneui

0 commit comments

Comments
 (0)