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

Commit a4616d8

Browse files
committed
- readme update
1 parent 8541fa6 commit a4616d8

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Huge thanks to [BlackMesa123](https://github.com/BlackMesa123) who has contribut
1818

1919
- [Screenshots](#Screenshots)
2020
- [Installation](#Installation)
21+
- [Issues](#Issues)
2122
- [Documentation](#Documentation)
2223
- [Progress](#Progress)
2324
- [Changelog](#Changelog)
@@ -140,8 +141,19 @@ dependencies {
140141
</details>
141142
<br/>
142143

144+
## Issues
145+
146+
### Proguard
147+
143148
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).
144149

150+
### Preview render problem
151+
Some of the custom views might not render in the preview, because this library is using a font (```sec-roboto-light```), which Android Studio (and other IDEs probably too) don't know. To temporarily bypass this problem you can simply add
152+
```xml
153+
<string name="sesl_font_family_regular">sans-serif</string>
154+
```
155+
to your strings.xml. But don't forget to remove it afterwards for your release. Thanks to [roynatech2544](https://github.com/roynatech2544), for reporting this issue.
156+
145157
## Documentation
146158
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.
147159

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<string name="nothing"><![CDATA[>Nothing<]]></string>
44
<string name="nothing_summary">Swipe down and see the magic :D</string>
55

6-
<string name="sesl_font_family_regular" translatable="false">sans-serif</string> <!--todo: remove for release-->
6+
<string name="sesl_font_family_regular">sans-serif</string> <!--todo: remove for release-->
77
</resources>

0 commit comments

Comments
 (0)