| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <com.taobao.prettyfish.ui.chart.MovableLineChart |
| android:id="@+id/mlv_datachart" |
| android:layout_width="match_parent" |
| android:layout_height="200dp" |
| android:layout_marginTop="30dp" |
| android:layout_marginRight="30dp" |
| android:layout_marginLeft="30dp" |
| android:layout_marginBottom="15dp" /> |
| |
| <TextView |
| android:id="@+id/tv_datadetail" |
| android:text="@string/prettyfish_datadetail" |
| android:textColor="@color/pf_font_blue" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_below="@+id/mlv_datachart" |
| android:layout_alignParentEnd="false" |
| android:layout_alignParentRight="true" |
| android:layout_marginRight="30dp" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_marginLeft="30dp" |
| android:layout_below="@+id/tv_datadetail"> |
| |
| <TextView |
| android:id="@+id/tv_datatype" |
| android:text="@string/prettyfish_datatype" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <TextView |
| android:id="@+id/tv_starttime" |
| android:text="@string/prettyfish_datastarttime" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <TextView |
| android:id="@+id/tv_endtime" |
| android:text="@string/prettyfish_dataendtime" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <TextView |
| android:id="@+id/tv_num" |
| android:text="@string/prettyfish_datanum" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <TextView |
| android:id="@+id/tv_min" |
| android:text="@string/prettyfish_datamin" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <TextView |
| android:id="@+id/tv_max" |
| android:text="@string/prettyfish_datamax" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <TextView |
| android:id="@+id/tv_avg" |
| android:text="@string/prettyfish_dataavg" |
| android:layout_marginBottom="10dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| </LinearLayout> |
| |
| <ListView |
| android:id="@+id/lv_datalist" |
| android:visibility="gone" |
| android:background="@color/pf_white" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" /> |
| |
| </RelativeLayout><!-- From: file:/Users/ricky/Desktop/ricky/allgitcode/prettyfish/prettyfish_base/src/main/res/layout/prettyfish_datachart.xml --> |