From 7815e8d838fcd1bca3792671dc20dde77125a343 Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期一, 20 四月 2020 17:16:30 +0800 Subject: [PATCH] 基本完成联网考试和单机训练界面 --- app/src/main/res/layout/layout_stu_score.xml | 38 +++++++++++++++++++++++++++++++++----- 1 files changed, 33 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/layout_stu_score.xml b/app/src/main/res/layout/layout_stu_score.xml index 1a688e6..5ac0c05 100644 --- a/app/src/main/res/layout/layout_stu_score.xml +++ b/app/src/main/res/layout/layout_stu_score.xml @@ -1,11 +1,39 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/stu_score_bg"> -<ListView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:id="@+id/lv"></ListView> + <include android:id="@+id/title_item" layout="@layout/layout_score_item_title"/> + <LinearLayout + android:layout_width="match_parent" + android:layout_below="@+id/title_item" + android:layout_height="wrap_content"> + <ListView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="1dp" + android:id="@+id/lv"></ListView> + </LinearLayout> +<LinearLayout + android:layout_width="88dp" + android:layout_height="48dp" + android:layout_alignParentBottom="true" + android:layout_alignParentEnd="true" + android:orientation="horizontal"> + + <Button + android:id="@+id/btn_return" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@mipmap/return_bg" + android:drawableLeft="@mipmap/return_pic" + android:gravity="center_vertical" + android:paddingLeft="20dp" + android:text="杩斿洖" + android:drawablePadding="5dp" + android:textColor="#FFFFFF" + android:textSize="@dimen/network_train_textsize24px" /> +</LinearLayout> + </RelativeLayout> -- Gitblit v1.8.0