zoukankan      html  css  js  c++  java
  • 结对项目——My note(二)

    备忘录显示笔记列表的界面代码

    <?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" >
         
        <EditText
            android:id="@+id/etName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:ems="10"
            android:singleLine="true" >
             
            <requestFocus />
        </EditText>
         
        <EditText
            android:id="@+id/etContent"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:ems="10"
            android:gravity="top" />
         
        <ListView
            android:id="@android:id/list"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="2" >
        </ListView>
         
        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" >
             
            <Button
                android:id="@+id/btnSave"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="保存" />
             
            <Button
                android:id="@+id/btnCancel"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="取消" />
             
            <Button
                android:id="@+id/btnAddPhoto"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="拍照" />
             
            <Button
                android:id="@+id/btnAddVideo"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="录像"
                android:layout_weight="1" />
        </LinearLayout>
         
    </LinearLayout>

  • 相关阅读:
    vue工程项目中配置测试环境及生产环境线上地址
    复杂表格的拖拉拽,及行列拖拽
    前端骨架屏的资料
    关于vue中的重复key的警告问题
    git 约定规范
    git 博客
    关于svg的一些事
    vue单文件组件2(webpack打包)
    vue单文件组件1(webpack打包)
    vue-resource
  • 原文地址:https://www.cnblogs.com/lixue1206/p/7019638.html
Copyright © 2011-2022 走看看