zoukankan      html  css  js  c++  java
  • 第一次冲刺(七)

    今天我完成了用户信息界面的布局。

    代码为:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
            <ImageView
                android:id="@+id/touxiang"
                android:layout_width="75dp"
                android:layout_height="75dp"
                android:layout_marginStart="50dp"
                android:layout_marginTop="50dp"
                android:scaleType="fitXY"
                android:background="@mipmap/ic_launcher_round"/>
            <TextView
                android:id="@+id/nowid"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="70dp"
                android:layout_marginStart="50dp"
                android:textSize="20sp" />
    
        </LinearLayout>
    
        <Button
            android:id="@+id/editbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="50dp"
            android:background="@drawable/button"
            android:text="修改密码"/>
    
        <Button
            android:id="@+id/myreservebutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="10dp"
            android:background="@drawable/button"
            android:text="我的预定"/>
    
        <Button
            android:id="@+id/lookbutton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="10dp"
            android:background="@drawable/button"
            android:text="关于酒店"/>
    
        <Button
            android:id="@+id/outbutton"
            android:layout_width="100dp"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="250dp"
            android:background="@drawable/backbutton"
            android:text="退出登录"/>
    
    </LinearLayout>
  • 相关阅读:
    关于《哈利波特》书的购买方案
    你的灯亮着吗读后感三
    jmeter做接口测试
    jmeter的分布式部署
    JMeter的定时器
    我的功能测试用例是怎么写
    常见的功能测试检查点
    测试用例概论
    敏捷开发与迭代开发
    软件测试模型
  • 原文地址:https://www.cnblogs.com/20193925zxt/p/14910591.html
Copyright © 2011-2022 走看看