Migrated repository
Go to file
2022-01-31 17:40:58 +00:00
apps alertdialog cant working ,but layout may be failed sometime 2022-01-27 15:10:58 +08:00
cmake add style parser & loader 2022-01-25 09:46:58 +08:00
docs add plot.png 2022-01-07 18:10:37 +08:00
scripts fix some layout issue caused by textview 2022-01-26 11:15:58 +08:00
src fix tablayout's indicator 2022-01-31 17:40:58 +00:00
tests rename windows.h->cdroid.h 2022-01-18 16:21:54 +08:00
.gitignore add plplot 2021-12-14 18:33:00 +08:00
ali3528.sh CDROID's First commit 2021-06-24 10:12:55 +08:00
allwinnerx5.sh fix graph_fb compiles without rfb 2022-01-14 12:35:58 +08:00
CMakeLists.txt rename Root Project to CDROID 2022-01-24 13:25:23 +08:00
Doxyfile.in CDROID's First commit 2021-06-24 10:12:55 +08:00
LICENSE CDROID's First commit 2021-06-24 10:12:55 +08:00
README.md modify readme 2022-01-07 18:08:20 +08:00
x86build.sh CDROID's First commit 2021-06-24 10:12:55 +08:00

Introduction

CDroid is a android like GUI toolkit base on C++11,It is a cross-platform GUI engine for embedded system.

Features:

  • Multi Layer/Multi Window
  • Integrated with 30+ UI Components and 15+ Drawables(compatibal with android)
  • Full compatible with Android
  • Smooth Scrolling
  • Scrolling with SpringBack Support

Screen Shots

ListView ViewPager Pott ListView+Progress

UI Components:

  • View
  • TextView
  • EditText
  • Button
  • ImageView
  • ImageButton,
  • CompoundButton
  • ToggleButton
  • CheckBox
  • RadioButton
  • ProgressBar
  • SeekBar
  • Chronometer
  • AnalogClock,
  • SimpleMonthView
  • ViewGroup
  • RadioGroup
  • ScrollView
  • HorizontalScrollView
  • CalendarView
  • ViewPager
  • TabWidget
  • NumberPicker
  • AdapterView
  • AbsListView
  • Spinner
  • ListView
  • GridView
  • YearPickerView

Supported Layouts:

  • FrameLayout
  • LinearLayout
  • TableRow
  • TableLayout
  • AbsoluteLayout
  • GridLayout

Supported Drawables:

  • ColorDrawable
  • BitmapDrawable
  • NinepatchDrawable
  • InsetDrawable
  • ShapeDrawable
  • TransitionDrawable
  • LayerDrawable
  • StateListDrawable
  • LevelListDrawable
  • ClipDrawable
  • GradientDrawable
  • RotateDrawable
  • ScaleDrawable
  • AnimatedRotateDrawable
  • AnimatedImageDrawable
  • TransitionDrawable

Porting guide:

  • 1, A new porting must be placed to src/porting/xxx(where xxx is you chipset name)
  • 2, implement your porting api to xxx directory
  • 3, enter source root directory
  • 4, make a dir named outxxx,enter outxxx)
  • 5, cmake -DCMAKE_TOOLCHAN_FILE="your cmake toolchain path"
    -DCDROID_CHIPSET=xxx
    ..
  • 7,after step 4,makefile is created in directory outxxx where you can type make to build your program.
  • 8,you can export USE_RFB_GRAPH=ON before cmake is executed to to use remote framebuffer for test.

X86 Emulator:

  • 1.Ubuntu 18(64bit)Desktop
  • 2.install dependencs: sudo apt install build-essential cmake gdb pkg-config zip gettext libx11-dev
  • 3.Window'user can use MobaXterm's x11 display(or VNCViewer)