<?xml version="1.0" encoding="utf-8"?>
|
<android.support.design.widget.CoordinatorLayout
|
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"
|
xmlns:tools="http://schemas.android.com/tools"
|
tools:context=".activity.GradeActivity"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:gravity="end"
|
android:padding="@dimen/dimen4"
|
android:background="@color/transStatusBar"
|
app:layout_constraintTop_toTopOf="parent">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/total_point"
|
android:textSize="@dimen/textSize_16"
|
android:textColor="@color/black"/>
|
|
<TextView
|
android:id="@+id/text_total_point"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="@dimen/dimen4"
|
android:layout_marginEnd="@dimen/dimen4"
|
android:textColor="@color/black"
|
android:textSize="@dimen/textSize_16"
|
android:text="0"/>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/unit_point"
|
android:textSize="@dimen/textSize_16"
|
android:textColor="@color/black"/>
|
</LinearLayout>
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="10dp"
|
android:orientation="vertical"
|
android:id="@+id/ll_grade"
|
android:background="@color/lightGray"
|
app:layout_constraintTop_toTopOf="parent">
|
|
<TextView
|
android:id="@+id/tv_no_data"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:textSize="@dimen/textSize_18"
|
android:hint="无数据"/>
|
|
</LinearLayout>
|
</ScrollView>
|
|
</LinearLayout>
|
|
<android.support.design.widget.FloatingActionButton
|
android:id="@+id/fab_refresh"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|end"
|
android:layout_marginEnd="@dimen/fab_margin"
|
android:layout_marginBottom="@dimen/fab_margin"
|
android:src="@drawable/ic_refresh_white_24dp"/>
|
|
</android.support.design.widget.CoordinatorLayout>
|