Android7.0中文API -- TableRow

完整内容请查看:http://www.zhdoc.net/android/reference/android/widget/TableRow.html

TableRow

public class TableRow
extends LinearLayout

java.lang.Object
   ↳android.view.View
    ↳android.view.ViewGroup
     ↳android.widget.LinearLayout
      ↳android.widget.TableRow


A layout that arranges its children horizontally. A TableRow should always be used as a child of a TableLayout. If a TableRow's parent is not a TableLayout, the TableRow will behave as an horizontal LinearLayout.
一种布局,其将子项水平放置。一个TableRow应该始终作为一个TableLayout的子项使用。如果一个TableRow的父项不是TableLayout,则TableRow将和一个水平方位的LinearLayout一样。

The children of a TableRow do not need to specify the layout_width and layout_height attributes in the XML file. TableRow always enforces those values to be respectively MATCH_PARENT and WRAP_CONTENT.
TableRow的子项无需在XML文件中指定layout_widthlayout_height。TableRow始终将这些值强制设置为MATCH_PARENTWRAP_CONTENT

Also see android.widget.TableRow.LayoutParams for layout attributes
参考android.widget.TableRow.LayoutParams了解布局属性。

摘要


嵌套类

classTableRow.LayoutParams

Set of layout parameters used in table rows. 
表行中使用的一组布局参数。 

继承XML属性

From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View

继承常量

From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View

继承字段

From class android.view.View

Public构造方法

TableRow(Context context)

Creates a new TableRow for the given context.
为指定的Context创建一个新的TableRow。

TableRow(Context context, AttributeSet attrs)

Creates a new TableRow for the given context and with the specified set attributes.
为指定的Context和指定的AttributeSet创建一个新的TableRow。

Public方法


完整内容请查看:http://www.zhdoc.net/android/reference/android/widget/TableRow.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值