support design开发控件
来源:互联网 发布:redis mac 客户端 编辑:程序博客网 时间:2024/06/09 23:43
xml:
FloatingActionButton
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/hello_world" /> <android.support.design.widget.FloatingActionButton android:id="@+id/search_close_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/abc_ic_menu_share_mtrl_alpha" app:backgroundTint="#00ffff" app:elevation="10dp" app:fabSize="normal" /> <android.support.design.widget.TextInputLayout android:id="@+id/textinput" android:layout_width="fill_parent" android:layout_height="wrap_content"> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" /> </android.support.design.widget.TextInputLayout></LinearLayout>
/*
* SnackBar
TextInputLayout:其中必须填充一个editview,否则没有意义
*/
0 0
- support design开发控件
- Android Support Design 控件 FloatingActionButton
- Material Design Support 8大控件介绍
- Android Design Support控件介绍之TabLayout
- Android Design Support Library 常用控件
- Material Design 开发利器:Android Design Support Library 介绍
- Design Support
- Android Design Support Library 中控件的使用简单介绍
- Design Support Library中Snackbar控件的简单用法
- Android Design Support Library 八个强大功能的控件
- Android Design Support Library控件使用总结(一)
- Android Design Support Library控件使用总结(二)
- Android Design Support Library常用控件介绍(上)
- Android Design Support控件之DrawerLayout简单使用
- Android Design Support Library常用控件(下)
- Design Support Library(二) 常规控件的使用介绍
- 学习Design Support Library中的几个新控件
- Eclipse下使用Android Design Support Library中的控件
- 存储过程 和 函数 区别
- Game of Life
- Eclipse无法检测到手机的解决方法
- IOS基础UI之(六)综合小案例-应用管理
- Invalid result location value/parameter 解决办法
- support design开发控件
- 【SQL】求两个日期值之间的工作天数
- 关于Android 性能优化的整理
- 实现lamp docker数据容器(mysql)与应用容器(apache+php)独立运行
- java中的集合
- wke升级vs2010,vs2013
- valgrind 检查内存泄漏
- super与this的用法
- 第七周 项目3-负数把正数赶出队列