💍A simple and elegant Android native UI framework, free your hands! (一个简洁而优雅的Android原生UI框架,解放你的双手!)

★ 5,084⑂ 854👁 89⑃ 22● 138▤ 23
JavaCreated 2019-01-07xuexiangjys.github.io/XUI/
+0
Daily
+0
Weekly
+0
Monthly
5,084
stars
854
forks
89
watchers
22
prs
138
issues
23
releases

README

XUI






 English | Chinese

A simple and elegant Android native UI framework, free your hands! Click on the instruction document and experience it!

 Covers most of the UI components:TextView、Button、EditText、ImageView、Spinner、Picker、Dialog、PopupWindow、ProgressBar、LoadingView、StateLayout、FlowLayout、Switch、Actionbar、TabBar、Banner、GuideView、BadgeView、MarqueeView、WebView、SearchView...etc. A series of components and colorful style themes。

Please read 【wisdom of asking questions】 before raising the issue and strictly follow the issue template fill in and save everyone's time.

Please read the instruction document carefully before use, important things are to be repeated for three time!!!

please read the instruction document carefully before use, important things are to be repeated for three time!!!

Please read the instruction document carefully before use, important things are to be repeated for three time!!!

 About me

| WeChat public number   | juejin     |  zhihu    |  CSDN   |   jianshu   |   segmentfault  |   bilibili  |   toutiao
|---------|---------|--------- |---------|---------|---------|---------|---------|
| 我的Android开源之旅  |  Click me    |   Click me       |   Click me  |   Click me  |   Click me  |   Click me  |   Click me

 Rapid integration of X-Library

In order to facilitate the rapid integration of X-Library, I provide a template project for your reference: https://github.com/xuexiangjys/TemplateAppProject

In addition, I have also produced several video tutorials for your reference.

----

 Features

 Simple and elegant,the total size of the project library is less than 1M (about 644k after packaging).

 Rich components,provides the vast majority of our developers in common functional components.

 Easy to use,in order to facilitate rapid development and improve development efficiency, the API is optimized to provide one click access.

 Uniform style,the framework provides a series of unified styles to make the UI look beautiful and harmonious.

 High compatibility,the framework also provides three different sizes of device styles (4.5 inch, 7 inch and 10 inch) and is compatible with Android 17 at least, which makes UI compatibility stronger.

 Strong expansibility,each component provides rich properties and style APIs, and different styles of UI can be built by setting different style properties.

 Stargazers over time



----

 Usage

 Before you consider using XUI, you must be clear that this framework provides a whole set of UI solutions. If you just want to use a few of them, you don't need to introduce such a huge UI library. You can find better component libraries on GitHub. If you want to have a customized, unified UI overall solution, then you can continue to look!

 Add gradle dependency

1.In the project root directory build.gradle:


allprojects {
     repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}


2.Then add in the dependencies of build.gradle of the application project (usually app)

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON