zoukankan      html  css  js  c++  java
  • 今日进度

    界面代码:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="#f2f0b1"

    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <RelativeLayout
    android:background="@color/colorPrimary"
    android:id="@+id/rilltop"
    android:layout_width="match_parent"
    android:layout_height="250dp">
    <ImageView
    android:layout_alignParentBottom="true"
    android:layout_centerHorizontal="true"
    android:layout_marginBottom="30dp"
    android:src="@mipmap/千库网_卡通蓝色人物头像_元素编号12544782"
    android:layout_width="100dp"
    android:layout_height="100dp"/>
    </RelativeLayout>

    <RelativeLayout
    android:layout_margin="15dp"
    android:id="@+id/rillname"
    android:background="#ffffff"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <EditText
    android:hint="请输入用户名"
    android:textColor="#141414"
    android:textColorHint="#776E6E"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <ImageView
    android:src=""
    android:layout_alignParentRight="true"
    android:scaleType="center"
    android:layout_width="40dp"
    android:layout_height="50dp"/>
    </RelativeLayout>
    <RelativeLayout
    android:layout_margin="15dp"
    android:layout_marginTop="3dp"
    android:background="#ffffff"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <EditText
    android:hint="请输入密码"
    android:textColor="#141414"
    android:textColorHint="#776E6E"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    </RelativeLayout>
    <Button
    android:layout_margin="25dp"
    android:background="@color/colorPrimary"
    android:textSize="25sp"
    android:textColor="#ffffff"
    android:text="注 册"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />



    </LinearLayout>






    ?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:background="#f2f0b1"
    android:layout_height="match_parent">

    <RelativeLayout
    android:id="@+id/rilltop"
    android:background="@color/colorPrimary"
    android:layout_width="match_parent"
    android:layout_height="250dp">
    <ImageView
    android:layout_alignParentBottom="true"
    android:layout_centerHorizontal="true"
    android:layout_marginBottom="30dp"
    android:src="@mipmap/千库网_卡通蓝色人物头像_元素编号12544782"
    android:layout_width="100dp"
    android:layout_height="100dp"/>

    </RelativeLayout>
    <RelativeLayout
    android:layout_margin="15dp"
    android:id="@+id/rillname"
    android:background="#ffffff"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <EditText
    android:hint="请输入用户名"
    android:textColor="#141414"
    android:textColorHint="#776E6E"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <ImageView
    android:src=""
    android:layout_alignParentRight="true"
    android:scaleType="center"
    android:layout_width="40dp"
    android:layout_height="50dp"/>
    </RelativeLayout>
    <RelativeLayout
    android:layout_margin="15dp"
    android:layout_marginTop="3dp"
    android:background="#ffffff"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <EditText
    android:hint="请输入密码"
    android:textColor="#141414"
    android:textColorHint="#776E6E"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    </RelativeLayout>
    <Button
    android:layout_margin="25dp"
    android:background="#009688"
    android:textSize="25sp"
    android:textColor="#ffffff"
    android:text="登 录"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />
    <RelativeLayout
    android:layout_alignParentBottom="true"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <TextView
    android:text="无法登录?"
    android:textColor="#464040"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>
    <TextView
    android:layout_alignParentRight="true"
    android:text="新用户"
    android:textColor="#464040"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>
    </RelativeLayout>

    </LinearLayout>
  • 相关阅读:
    for循环删除数组中的元素crash问题
    iOS判断字符串中含不含有汉字
    iOS 拨打电话(解决openURL延迟和不同方法比较)
    ios oc单例宏定义
    iOS UIBezierPath简单实用
    iOS视图切割圆角
    iOS 内购集成与遇到的坑,添加新内购项目
    iOS工程中创建pch文件
    四舍五入的方法
    ScrollView定时器复用
  • 原文地址:https://www.cnblogs.com/hanmy/p/14882970.html
Copyright © 2011-2022 走看看