zoukankan      html  css  js  c++  java
  • Android 4.0 的 GridLayout

    11105333_V3OP.png

    设计素材代码:

    1<?xml version="1.0" encoding="utf-8"?>

    2<GridLayout//#http://www.huiyi8.com/jiaoben/

    3       xmlns:android="http://schemas.android.com/apk/res/android"

    5        android:layout_width="match_parent"

    6        android:layout_height="match_parent"

    8        android:useDefaultMargins="true"

    9        android:alignmentMode="alignBounds"

    10        android:columnOrderPreserved="false"

    11 

    12        android:columnCount="4"

    13        >

    14

    15  <TextView

    16            android:text="Email setup"

    17           android:textSize="32dip"

    18 

    19            android:layout_columnSpan="4"

    20            android:layout_gravity="center_horizontal"

    21            />

    22 

    23    <TextView

    24            android:text="You can configure email in just a few steps:"

    25            android:textSize="16dip"

    26 

    27            android:layout_columnSpan="4"

    28            android:layout_gravity="left"

    29            />

    30 

    31    <TextView

    32            android:text="Email address:"

    33 

    34            android:layout_gravity="right"

    35            />

    36 

    37    <EditText

    38            android:ems="10"

    39            />

    40 

    41    <TextView

    42            android:text="Password:"

    43

    44            android:layout_column="0"

    45           android:layout_gravity="right"

    46            />

    47 

    48    <EditText

    49            android:ems="8"

    50            />

    51 

    52    <Space

    53           android:layout_row="4"

    54            android:layout_column="0"

    55            android:layout_columnSpan="3"

    56            android:layout_gravity="fill"

    57            />

    58 

    59    <Button

    60            android:text="Next"

    61 

    62            android:layout_row="5"

    63            android:layout_column="3"

    64            />

    65</GridLayout>

  • 相关阅读:
    HTML5标签变化
    接口测试基础入门学习
    1.1Axure简介
    win 7命令行大全
    程序集强签名
    源代码的文件头格式化
    redmine2.3环境搭建
    静态成员和方法的使用场合及利弊分析
    .Net Memory Profiler入门
    TransactionScope类
  • 原文地址:https://www.cnblogs.com/xkzy/p/3794888.html
Copyright © 2011-2022 走看看