FlatUi的简单介绍
来源:互联网 发布:nga芙妹淘宝店 编辑:程序博客网 时间:2024/04/29 09:44
在网上没找到详细的介绍,所以还是自己动手完成任务吧~~好难!!
compile 'com.github.eluleci:flatui:3.0.0'
首先就是里面包含空间的分类 如下:
<com.cengalabs.flatui.views.FlatEditText android:layout_width="wrap_content" android:layout_height="wrap_content" /><com.cengalabs.flatui.views.FlatAutoCompleteTextView android:layout_width="wrap_content" android:layout_height="wrap_content" /><com.cengalabs.flatui.views.FlatButton android:layout_width="wrap_content" android:layout_height="wrap_content" /><com.cengalabs.flatui.views.FlatCheckBox android:layout_width="wrap_content" android:layout_height="wrap_content" /><com.cengalabs.flatui.views.FlatRadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" /><com.cengalabs.flatui.views.FlatSeekBar android:layout_width="wrap_content" android:layout_height="wrap_content" /><com.cengalabs.flatui.views.FlatToggleButton android:layout_width="wrap_content" android:layout_height="wrap_content" />
接下来最累的就是详细的介绍他们的属性了,都是我自己根据人家的代码总结的,可能会有错误 还请大家见谅~~
1.
<com.cengalabs.flatui.views.FlatEditText android:layout_width="wrap_content" android:layout_height="wrap_content" />
EditText
android:includeFontPadding="true"
flatui:fl_fieldStyle="fl_flat"
flatui:fl_theme="@array/grass"
flatui:fl_borderWidth="0dp"
fl_fieldStyle就是指输入框的背景样式,fl_box 就是盒子形状,内空外有边框,背景默认白色。fl_flat就是填充背景。fl_transparent那当然就是透明啦,背景和布局背景一致。。
fl_theme有这么几种 Sand ,Orange,Candy,Blossom,Grape,Deep,Sky,Grass,Dark,Snow,Sea,Blood.主要的体现就是颜色的不同,你也可以自己定义Theme,前面几种具体的颜色自己可以试一下。。。
AutoCompleteTextView
相同的属性只有fl_theme,外观不算好看~~
flatButton
flatui:fl_textAppearance="fl_light"
flatui:fl_blockButtonEffectHeight="3dp"
~作废~~不写了~~这个开源库太不好玩了!!
0 0
- FlatUi的简单介绍
- FlatUI
- FlatUI风格的qml控件
- [Silverlight FlatUI]Silverlight的扁平化风格控件集
- Qt实现FlatUI样式
- sniffer的简单介绍
- JSValidation的简单介绍
- P2P的简单介绍
- ping的简单介绍
- gridview的简单介绍
- echo的简单介绍
- DOM的简单介绍
- Transact_SQL的简单介绍
- MSMQ的简单介绍
- Python简单的介绍
- OpenGL的简单介绍
- MSMQ的简单介绍
- ActiveX的简单介绍
- xss问题
- fgets函数与fputs函数
- 网络课程视频网站
- 剑指offer 快速排序
- j2me版本的俄罗斯方块写法要点
- FlatUi的简单介绍
- 雍正杀“舅”:握着领导把柄,隆科多必须死?
- JAVA 上加密算法的实现用例
- 简明 Python 编程规范
- python matplotlib 画心形线
- hdu 1269 迷宫城堡(tarjan判连通)
- LintCode-最长公共子串
- HttpServletRequest类的getAttribute()方法与getParameter()方法的区别
- 好东西大家一起分享