首页 > 其他 > 详细

个人冲刺博客第七天

时间:2019-05-28 20:30:06      阅读:87      评论:0      收藏:0      [点我收藏+]

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

技术分享图片

<?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>

  

个人冲刺博客第七天

原文:https://www.cnblogs.com/cuijunfeng/p/10939871.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!