Android UI控件之容器控件
2018-10-14 19:30
120 查看
基本概念
继承关系:
View----ViewGroup---LinearLayout, RelativeLayout, FrameLayout, AbsoluteLayout-----TableLayout(继承自LinearLayout)
LinearLayout
属性有:
gravity:设置布局管理器的对齐方式,默认是左对齐和上对齐。
orientation:设置布局管理器的排列方式,默认是水平排列
RelativeLayout
属性:
gravity, ignoregravity
子组件的true和false的xml属性
layout_centerhorizontal,…….
阅读更多相关文章推荐
- android中的五大布局(控件的容器,可以放button等控件)
- Android UI控件系列:TabWidget(切换卡)
- Android UI控件之Gallery --拖动、覆盖、循环、3D图片浏览 效果之二
- android UI进阶之自定义组合控件
- Android UI基础 --基本控件
- Android的Ui高级控件
- Android UI之控件四步走思路
- Android UI控件之AlertDialog
- Android UI 设计:ListView 控件与 SimpleAdapter 适配器
- Android UI控件系列:Toast(提示)
- Android 常用UI控件收藏
- Android UI开发专题(四) View自绘控件
- Android L 新增UI控件:RecyclerView CardView的简单使用
- Android开发-UI控件:实现ListView过滤功能,继承于BaseAdapter,非ArrayAdapter。
- Day3.4--Android简单UI控件之ImageView以及ScaleType的使用
- Android UI开发专题(四) View自绘控件
- Android UI开发 View自绘控件 分享
- Android基础UI控件之Button
- Android基础UI控件之AutoCompleteTextView
- Android:UI控件Fragment、FragmentStack