zoukankan      html  css  js  c++  java
  • 第一阶段个人冲刺博客第七天

    今天做了空教室查询界面,附上代码和运行截图。

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@mipmap/jiaoshipicture"
        android:orientation="vertical">
    
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
            android:text="空教室查询界面" />
    
        <Spinner
            android:id="@+id/工作周"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:entries="@array/ctype"
            android:prompt="@string/app_name"></Spinner>
    
        <Spinner
            android:id="@+id/节数"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:entries="@array/ccourse"
            android:prompt="@string/app_name"></Spinner>
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="请输入您想要查询的节数" />
    
        <Button
            android:id="@+id/btnCreate"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:baselineAligned="false"
            android:text="确认"
            android:textColor="#E91E63" />
    
        <ScrollView
            android:layout_width="wrap_content"
            android:layout_height="match_parent">
    
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical" />
        </ScrollView>
    
    </LinearLayout>
    

      

  • 相关阅读:
    POJ_1456 Supermarket 【并查集/贪心】
    CSS before和after伪类
    CSS anchor专为链接属性选择器
    CSS 属性选择器
    CSS float浮动
    CSS 外边距和内填充
    CSS 边框属性
    CSS 背景
    CSS 组和选择器
    CSS 引入方式
  • 原文地址:https://www.cnblogs.com/cuijunfeng/p/10939871.html
Copyright © 2011-2022 走看看