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

    今天我完成了用户订房主界面的布局设计。

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        android:orientation="vertical" >
    
        <ListView
            android:id="@android:id/list"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
        </ListView>
    
    </RelativeLayout>
    <?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="100dp"
        >
        <TextView
            android:id="@+id/Head"
            android:layout_width="0dp"
            android:layout_height="85dp"
            android:layout_weight="2"
            android:textSize="15sp"
            android:maxLines="10"
            android:text=""/>
    
        <ImageView
            android:id="@+id/Img"
            android:layout_width="0dp"
            android:layout_height="100dp"
            android:layout_weight="2"/>
    
        <Button
            android:id="@+id/Btn"
            android:layout_width="60dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="25dp"
            android:background="@drawable/btnpress"
            android:text="查看" />
    
    </LinearLayout>
  • 相关阅读:
    【[CQOI2015]选数】
    杜教筛
    【[CQOI2009]跳舞】
    【简单的数学题】
    【[SDOI2013]泉】
    【[AHOI2013]差异】
    【[HEOI2016/TJOI2016]序列】
    【[SDOI2008]Sandy的卡片】
    linux系统编程之信号(一)
    linux系统编程之进程(五)
  • 原文地址:https://www.cnblogs.com/20193925zxt/p/14910578.html
Copyright © 2011-2022 走看看