标签:
开发步骤:
android:password属性
代码:
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:collapseColumn="2" android:stretchColum="1"> <TableRow android:layout_width="fill_parent" android:layout_height="wrap_content"> </TableRow> <TableRow android:layout_width="fill_parent" android:layout_height="wrap_content"> </TableRow> </TableLayout>
<EditText android:id="@+id/txtAccount" adnroid:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="请输入账号:" android:textSize="12sp" android:textColor="#FFFFFF"/>
<Button android:id="@+id/btnRegister" android:layout_width="0dp" android:layout_height="wrap_content" android:text="立即注册" android:textSize="15sp" android:textColor="#646464" android:layout_weight="1"/>
运行:
标签:
原文地址:http://www.cnblogs.com/zulo/p/5065499.html