In this repository you'll find:
- Source code of the oneui-design library
- Source code of our One UI Sample app (see Kotlin version
Any form of contribution, suggestions, bug report or feature request will be welcome.
The "oneui-design" library (not to be confused with the old OneUI Design Library) consists of custom components made to help you implement One UI in your apps with ease, if you're actually interested on the base libraries please take a look at oneui-core. Check our documentation page to learn more about this module.
-
Make sure your Android project has oneui-core libraries implemented;
-
Add the design library in your dependencies:
dependencies {
// ...
implementation 'io.github.oneuiproject:design:<version>'
}
- Apply the main theme in your AndroidManifest file:
<application
...
android:theme="@style/OneUITheme" >
...
</application>
The One UI Sample app has been made to showcase the components from both our oneui-core libraries and oneui-design module. You can download the latest apk here, for the older versions of the app please check the deprecated OneUI Design Library repository.
- Supports Android 6.0 (api 23) and above;
- Supports both Samsung and non-Samsung devices;
- One UI 4 Color Theme support;
- Example UI for the following components:
- AppCompat (Base widgets/theme);
- Material Components (Tabs, Bottom navigation);
- Date/Time/Color pickers;
- ListViews (AppPicker, Contacts, Icons);
- Preferences;
- Swipe to Refresh;
- Google for their Jetpack and Material Components libraries.
- Samsung for their awesome OneUI Design. :)
- All the current and future contributors and issue reporters. :D