zoukankan      html  css  js  c++  java
  • 安卓---TextVies、Button、EditText

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

    <LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content">

    <TextView
    android:id="@+id/tv"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="Second"
    android:maxLength="6"
    android:textColor="#FF0000"
    android:textSize="50px"
    android:textStyle="bold"
    android:password="true"
    />

    <TextView
    android:id="@+id/tv2"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="Second111"
    android:maxLength="9"
    android:textColor="#00ff00"
    android:textSize="50px"
    android:textStyle="bold"
    android:password="true"

    />

    <Button
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="按钮"

    />

    <EditText
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="我是好人" ndroid:enabled="false"
    >
    </EditText>

  • 相关阅读:
    Go 单元测试、基准测试、并发基准测试
    Go url编码和字符转码
    ssh 登录进入 docker container
    Python 开发
    Ethereum 源码分析之 accounts
    Ethereum 源码分析之框架
    数据库视图
    共识算法:PBFT、RAFT
    JQuery Mobile
    Android Studio
  • 原文地址:https://www.cnblogs.com/www123----/p/6874662.html
Copyright © 2011-2022 走看看