You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ZHDCOA/app/src/main/res/layout/activity_weather_history.xml

75 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".ui.activity.WeatherHistoryActivity">
<include
android:id="@+id/toolbarView"
layout="@layout/layout_base" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:background="#cccccc"
android:minHeight="40dp">
<TextView
android:id="@+id/tv_st"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5px"
android:layout_weight="1"
android:gravity="center"
android:text="点击选择开始时间"
android:textSize="18sp" />
<TextView
android:layout_width="30dp"
android:layout_height="match_parent"
android:layout_margin="5px"
android:gravity="center"
android:textStyle="bold"
android:text="-"
android:textSize="20sp" />
<TextView
android:id="@+id/tv_et"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5px"
android:layout_weight="1"
android:gravity="center"
android:text="点击选择结束时间"
android:textSize="18sp" />
</LinearLayout>
<include
android:id="@+id/item_head"
layout="@layout/item_weather_header"
android:layout_width="match_parent"
android:layout_marginTop="5dp"
android:layout_height="40dp" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="10dp">
<ListView
android:id="@+id/lv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#00000000"
android:dividerHeight="0px"/>
<TextView
android:id="@+id/tv_nodata"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textColor="@color/viewfinder_mask"
android:gravity="center"
android:text="暂无数据"/>
</FrameLayout>
</LinearLayout>