zoukankan      html  css  js  c++  java
  • 5.9日团队冲刺

    我主要来制作软件的课表导入,主界面,上课提醒,交作业提醒

    今天我制作了课程表导入功能,但是由于学校课表爬取对我来说有一定难度,并且我们的系主任只给了我们十天开发的时间,所以我们只能退而求其次,使用手动导入课表,感觉比较low了

    设置了课表界面;

    我主要来制作软件的课表导入,主界面,上课提醒,交作业提醒

    今天我制作了课程表导入功能,但是由于学校课表爬取对我来说有一定难度,并且我们的系主任只给了我们十天开发的时间,所以我们只能退而求其次,使用手动导入课表,感觉比较low了

    设置了课表界面;

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

        android:orientation="vertical"

        android:layout_width="match_parent"

        android:layout_height="match_parent" >

     

        <!--

        <LinearLayout

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:background="@drawable/top_bar_middle"

            android:orientation="horizontal" >

     

        <Button

            android:id="@+id/exitButton"

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:layout_weight="1"

            android:textSize="10sp"

            android:text="@string/exit" />

     

        <TextView

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:layout_weight="8"

            android:gravity="center"

            android:textSize="20sp"

            android:text="@string/heading" />

     

        <Button

            android:id="@+id/setButton"

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:layout_weight="1"

            android:textSize="10sp"

            android:text="@string/set" />

        </LinearLayout>

         -->

     

        <FrameLayout

            android:layout_width="match_parent"

            android:layout_height="50dip"

            android:background="@drawable/top_bar_middle"

            android:gravity="center_vertical"

            android:orientation="horizontal"

            android:paddingRight="2dip" >

     

            <TextView

                android:id="@+id/exitButton"

                android:layout_width="60dip"

                android:layout_height="35dip"

                android:layout_gravity="center_vertical"

                android:background="@drawable/top_bar_back"

                android:gravity="center_vertical"

                android:paddingLeft="20dip"

                android:text="@string/exit"

                android:textColor="#FFFFFF"

                android:textSize="15sp" >

            </TextView>

     

            <TextView

                android:layout_width="80dip"

                android:layout_height="50dip"

                android:layout_gravity="center_vertical|center"

                android:gravity="center"

                android:text="@string/heading"

                android:textColor="#9535ff"

                android:textSize="19sp" >

            </TextView>

     

            <TextView

                android:id="@+id/setButton"

                android:layout_width="50dp"

                android:layout_height="35dip"

                android:layout_gravity="center_vertical|right"

                android:background="@drawable/top_bar_reg_d"

                android:gravity="center"

                android:text="@string/set"

                android:textColor="#FFFFFF"

                android:textSize="15sp" >

            </TextView>

        </FrameLayout>

     

     

        <TabHost

            android:id="@+id/tabhost"

            android:layout_width="match_parent"

            android:layout_height="match_parent" >

            <LinearLayout

                android:orientation="vertical"

                android:layout_width="match_parent"

                android:layout_height="match_parent" >

                <TabWidget

                    android:id="@android:id/tabs"

                    android:background="@drawable/tab_bar"

                    android:layout_width="match_parent"

                    android:layout_height="50dip"/>

                <FrameLayout

                    android:id="@android:id/tabcontent"

                    android:background="@drawable/menu_bg"

                    android:layout_width="match_parent"

                    android:layout_height="match_parent" >

                    <ListView

                        android:id="@+id/list0"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip" />

                    <!--  android:background="#90FF00"  -->

                    <ListView

                        android:id="@+id/list1"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip"  />

                    <!--  android:background="#FFFF00"  -->

                    <ListView

                        android:id="@+id/list2"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip" />

                    <!--  android:background="#90FF0D"  -->

                    <ListView

                        android:id="@+id/list3"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip"  />

                    <!--  android:background="#00FF0D"  -->

                    <ListView

                        android:id="@+id/list4"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip"  />

                    <!--  android:background="#90FF0D"  -->

                    <ListView

                        android:id="@+id/list5"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip" />

                    <!--  android:background="#FFFF00"  -->

                    <ListView

                        android:id="@+id/list6"

                        android:scrollbars="none"

                        android:layout_width="match_parent"

                        android:layout_height="wrap_content"

                        android:divider="#0099ff"

                        android:dividerHeight="0.5dip" />

                    <!--  android:background="#90FF0D"  -->

                </FrameLayout>

            </LinearLayout>

        </TabHost>

     

    </LinearLayout>

    还有上课提醒功能界面

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

    <!--  

    <LinearLayout

        android:orientation="horizontal"

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#90FF00">

    <Button

        android:id="@+id/backtoMainButton" 

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:textSize="10sp"

        android:layout_weight="1"

        android:text="@string/back" />    

    <TextView

        android:layout_width="wrap_content" 

        android:layout_height="wrap_content" 

        android:text="@string/set"

        android:textSize="20sp"

        android:layout_weight="8"

        android:gravity="center"/>

    <TextView

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:layout_weight="5"

        android:textSize="15sp" />

    </LinearLayout>

    -->

     

        <FrameLayout

            android:layout_width="match_parent"

            android:layout_height="50dip"

            android:background="@drawable/top_bar_middle"

            android:gravity="center_vertical"

            android:orientation="horizontal"

            android:paddingRight="2dip" >

     

            <TextView

                android:id="@+id/backtoMainButton"

                android:layout_width="60dip"

                android:layout_height="35dip"

                android:layout_gravity="center_vertical"

                android:background="@drawable/top_bar_back"

                android:gravity="center_vertical"

                android:paddingLeft="20dip"

                android:text="@string/back"

                android:textColor="#FFFFFF"

                android:textSize="15sp" >

            </TextView>

     

            <TextView

                android:layout_width="80dip"

                android:layout_height="50dip"

                android:layout_gravity="center_vertical|center"

                android:gravity="center"

                android:text="@string/set"

                android:textColor="#000000"

                android:textSize="19sp" >

            </TextView>

        </FrameLayout>

    <LinearLayout

        android:layout_width="match_parent"

        android:layout_height="match_parent"

        android:orientation="vertical"

        android:background="@drawable/ver_bg" >

     <TextView

        android:layout_width="match_parent"

        android:layout_height="30dip"

        android:paddingLeft="10dp"

        android:gravity="center_vertical|left"

        android:text="@string/message_set"

        android:textColor="#888800"

        android:textSize="15sp"

        android:background="@drawable/tab_bar" />

        

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:textSize="10sp" />         

    <Switch

        android:id="@+id/switch_remind"

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:paddingLeft="10dp"

        android:text="@string/remind"

        android:textColor="#058"

        android:textSize="20sp"  />    

    <TextView

        android:layout_width="match_parent"

        android:layout_height="20dip" />      

     <TextView

        android:layout_width="match_parent"

        android:layout_height="30dip"

        android:paddingLeft="10dp"

        android:gravity="center_vertical|left"

        android:text="@string/about_app"

        android:textColor="#888800"

        android:textSize="15sp"

        android:background="@drawable/tab_bar" />       

    <TextView

        android:id="@+id/about_revision"

        android:layout_width="match_parent"

        android:layout_height="wrap_content" 

        android:paddingLeft="10dp"    

        android:text="@string/revision"

        android:textSize="20sp"

        android:clickable="true" 

        android:textColor="#058"

        android:onClick="click_version" />    

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:textSize="10sp" />                

    <TextView

        android:id="@+id/about_us"

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:paddingLeft="10dp"

        android:text="@string/us"

        android:textSize="20sp"

        android:clickable="true"

        android:textColor="#058"

        android:onClick="click_us" />           

    </LinearLayout>

    </LinearLayout>

  • 相关阅读:
    fmt:formatNumber use locale display negative currency in -$xxx.xx format in JSTL
    Order By 问题集合
    Order By 问题集合
    mybatis异常invalid comparison: java.util.Date and java.lang.String
    mybatis异常invalid comparison: java.util.Date and java.lang.String
    requestLayout, invalidate和postInvalidate的异同
    如何关闭打开了多个activity的activity
    关于handler的再次讨论
    Android中pull解析XML文件的简单使用
    使用广播退出打开了多个activity的程序
  • 原文地址:https://www.cnblogs.com/sunhongbin/p/13084207.html
Copyright © 2011-2022 走看看