update readme and screenshots

This commit is contained in:
侯歌 2022-07-06 09:46:10 +08:00
parent 74ebca83e3
commit a7fb3fc189
7 changed files with 9 additions and 9 deletions

View File

@ -3,11 +3,12 @@
# **Features:** # **Features:**
* Multi Layer/Multi Window * Multi Layer/Multi Window
* Integrated with 30+ UI Components and 15+ Drawables(compatibal with android) * Integrated with 30+ UI Components and 15+ Drawables(compatible with android)
* Full compatible with Android * All UI Components(Layouts,Drawables...)can be designed in AndroidStudio or Eclipse
* Smooth Scrolling * Vector Graph supported via Cairo
* Scrolling with SpringBack Support
# **Screen Shots** # **Screen Shots**
![demo1](https://gitee.com/houstudio/cdroid/raw/master/docs/videos/uidemo1.gif)
![demo2]((https://gitee.com/houstudio/cdroid/raw/master/docs/videos/uidemo2.gif)
![ListView](https://gitee.com/houstudio/cdroid/raw/master/docs/videos/listview_springback.gif) ![ListView](https://gitee.com/houstudio/cdroid/raw/master/docs/videos/listview_springback.gif)
![ViewPager](https://gitee.com/houstudio/cdroid/raw/master/docs/videos/viewpagerimg.gif) ![ViewPager](https://gitee.com/houstudio/cdroid/raw/master/docs/videos/viewpagerimg.gif)
![Pott](https://gitee.com/houstudio/cdroid/raw/master/docs/images/screenshots/plot.png) ![Pott](https://gitee.com/houstudio/cdroid/raw/master/docs/images/screenshots/plot.png)

View File

@ -8,7 +8,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:background="#00FF00"> android:background="#111111">
<Button android:id="@+id/BtnGo" <Button android:id="@+id/BtnGo"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -4,7 +4,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" > android:orientation="vertical" >
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -75,7 +74,7 @@
android:gravity="center" android:gravity="center"
android:text="One Light for test" android:text="One Light for test"
android:textSize="32dp" android:textSize="32dp"
android:background="#123456" android:background="#111111"
android:drawableTop="mipmap/light_on" android:drawableTop="mipmap/light_on"
/> />

View File

@ -61,6 +61,6 @@
android:paddingRight="30dp" android:paddingRight="30dp"
android:layout_marginLeft="20dp" android:layout_marginLeft="20dp"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:background="#FF0000"> android:background="#111111">
</androidx.viewpager.widget.ViewPager> </androidx.viewpager.widget.ViewPager>
</LinearLayout> </LinearLayout>

View File

@ -43,7 +43,7 @@ public:
ListView*lv=new ListView(800,480); ListView*lv=new ListView(800,480);
lv->setDivider(new ColorDrawable(0x80224422)); lv->setDivider(new ColorDrawable(0x80224422));
lv->setDividerHeight(1); lv->setDividerHeight(1);
lv->setFastScrollEnabled(true); //lv->setFastScrollEnabled(true);
lv->setSelector(new ColorDrawable(0x8800FF00)); lv->setSelector(new ColorDrawable(0x8800FF00));
lv->setVerticalScrollBarEnabled(true); lv->setVerticalScrollBarEnabled(true);
lv->setOverScrollMode(View::OVER_SCROLL_ALWAYS); lv->setOverScrollMode(View::OVER_SCROLL_ALWAYS);

BIN
docs/videos/uidemo1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

BIN
docs/videos/uidemo2.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 MiB