• 安卓


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

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingBottom="@dimen/activity_vertical_margin"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        tools:context="com.example.foolishfan.user_v10.Login">
        <RelativeLayout
            android:id="@+id/login_view"
            android:layout_width="400dp"
            android:layout_height="800dp"
            android:layout_centerInParent="true"
             >
      
            <Button
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text="登录"
                android:id="@+id/login_btn_login"
                android:onClick="finish_login"
                android:background="#545bcb"
                android:textSize="20dp"
                android:textColor="#ffffff"
                android:layout_below="@+id/login_edit_pwd"
                android:layout_alignParentLeft="true"
                android:layout_alignParentStart="true"
                android:layout_marginTop="52dp" />
      
            <EditText
                android:layout_width="400dp"
                android:layout_height="60dp"
                android:inputType="textPassword"
                android:ems="10"
                android:id="@+id/login_edit_pwd"
                android:drawableLeft="@android:drawable/ic_lock_idle_lock"
                android:hint="请输入您的密码"
                android:layout_below="@+id/login_edit_account"
                android:layout_alignParentLeft="true"
                android:layout_alignParentStart="true" />
      
            <EditText
                android:layout_width="400dp"
                android:layout_height="60dp"
                android:inputType="textPersonName"
                android:id="@+id/login_edit_account"
                android:drawableLeft="@android:drawable/ic_menu_myplaces"
                android:hint="请输入您的用户名"
                android:layout_below="@+id/logo"
                android:layout_alignParentLeft="true"
                android:layout_alignParentStart="true"
                android:layout_marginTop="20dp" />
     
            <ImageView
                android:id="@+id/logo"
                android:layout_width="300dp"
                android:layout_height="150dp"
                android:layout_alignParentEnd="true"
                android:layout_alignParentLeft="true"
                android:layout_alignParentStart="true"
                android:layout_alignParentTop="true"
                android:background="#000001" />
     
        </RelativeLayout>
        <RelativeLayout
            android:id="@+id/login_success_view"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:layout_marginLeft="15.0px"
            android:layout_marginRight="15.0px"
            android:layout_marginTop="62.0px"
            android:background="#ff3f3f3f"
            android:paddingBottom="10.0px"
            android:paddingTop="21.0px"
            android:visibility="gone" >
      
            <TextView
                android:id="@+id/login_success_show"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:textColor="#ff3f3f3f"
                android:textSize="20.0dip" />
        </RelativeLayout>
      
    </RelativeLayout>
     
  • 相关阅读:
    pandas
    使用Selenium模拟浏览器抓取淘宝商品美食信息
    Pycharm安装第三方库
    shift 函数
    mysql 基础(一)
    mysql基础(三)
    Python Programming for Finance
    进程线程
    股票上市代码及上市时间
    SQLyog连接数据库报错plugin caching_sha2_password could not be loaded
  • 原文地址:https://www.cnblogs.com/fanbudufan/p/13986231.html
Copyright © 2020-2023  润新知