Skip to content

Samsung's One UI design components for Android apps.

License

Notifications You must be signed in to change notification settings

OneUIProject/oneui-design

Repository files navigation



In this repository you'll find:

Any form of contribution, suggestions, bug report or feature request will be welcome.

OneUI Design Module

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.

Usage

  • 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>

OneUI Sample App

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.

Features

  • 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;

More info

Special thanks

  • Google for their Jetpack and Material Components libraries.
  • Samsung for their awesome OneUI Design. :)
  • All the current and future contributors and issue reporters. :D