• 第一次冲刺(六)


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

    <?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>
  • 相关阅读:
    博客园设置简约主题
    day25-48
    day1-10
    drf app
    flask 框架 练习
    vue入门 显示数据 操作属性 操作样式 条件渲染
    flask 配置文件 路由 视图 模板 中间件
    flask 使用数据库连接池
    Android 工程中添加依赖
    apk反编译
  • 原文地址:https://www.cnblogs.com/20193925zxt/p/14910578.html
Copyright © 2020-2023  润新知