第七周(2) 打卡功能

2021-08-02 18:58:21 字數 1605 閱讀 8648

在這半周的工作中,我們小組仍然主要進行後台客戶端的**編寫工作以及介面的優化,在這裡,我對自己主要從事的工作,即客戶端的打卡功能的規劃,做乙個重點的介紹。

計畫介面為乙個列表,顯示出每個人的打卡狀態,以及上傳的**。具體**如下所示:

<?xml version="1.0" encoding="utf-8"?>

xmlns:android=""

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="vertical">

android:layout_width="match_parent"

android:layout_height="?attr/actionbarsize"

android:background="@color/white"

android:padding="0dp">

android:layout_width="?attr/actionbarsize"

android:layout_height="?attr/actionbarsize"

android:layout_alignparentleft="true"

android:background="@drawable/*******_back_bg"

android:onclick="commentback"

android:src="?attr/homeasupindicator" />

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_centerinparent="true"

android:text="打卡"

android:textcolor="@color/black"

android:textsize="19sp" />

relativelayout>

android:id="@+id/comment_lv"

android:layout_width="match_parent"

android:layout_height="match_parent" />

linearlayout>

邏輯**目前還沒有編寫,因為後半周時還沒有後台介面,所以只進行了一下類的建立與介面獲取,這裡不再貼**。

同時下半周我幫頁面做了一些xml方面的工作,**大致如下:

xmlns:android=""

xmlns:tools="" >

android:id="@+id/frame"

android:background="#ffeee9e2"

android:layout_width="match_parent"

android:layout_height="match_parent"

tools:context=".myactivity" />

layout="@layout/buttons" />

merge>

2021 01 27 打卡學習C 第七天

二 函式提高 給變數起別名 語法 資料型別 別名 原名示例 include using namespace std intmain 輸出結果 示例 include using namespace std intmain 輸出結果 函式傳參時,可以利用引用的技術讓形參修飾實參,可以簡化指標修改實參 類...

實訓第七周(2)

這次主要實現了聊天記錄列表的adapter,即上次的msgrecyclerview的adapter,主要是各類訊息的左右顯示和各條訊息的頭像設定。1.通過訊息的msgdirectionenum和msgtypeenum屬性 網易雲信提供 確定訊息的顯示位置和方式。private int getmsgv...

2019 04 09打卡(資料結構單鏈表2)

單鏈表的刪除和尾插法建立部分 來自教材 1 int remove linklist first,int i,datatype x 11 刪除表中第i個元素,通過引用型引數x返回該元素的值 1 尾插法建立單鏈表 2 include linklist.h 3 void createlistrear li...