AndroidAPS/app/src/main/res/layout/activity_historybrowse.xml

133 lines
5 KiB
XML
Raw Normal View History

2018-01-29 22:48:47 +01:00
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-07-29 00:08:28 +02:00
tools:context="info.nightscout.androidaps.activities.HistoryBrowseActivity">
2018-01-29 22:48:47 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2018-03-17 18:07:22 +01:00
<TextView
android:id="@+id/historybrowse_noprofile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/noprofileset"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@android:color/holo_red_light"
android:textStyle="bold"
android:visibility="gone" />
2018-01-29 22:48:47 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageButton
android:id="@+id/historybrowse_left"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-01-29 22:48:47 +01:00
app:srcCompat="@drawable/ic_chevron_left_black_24dp" />
<Button
android:id="@+id/historybrowse_date"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-01-29 22:48:47 +01:00
android:layout_weight="1"
android:text="Button" />
<ImageButton
android:id="@+id/historybrowse_right"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-01-29 22:48:47 +01:00
app:srcCompat="@drawable/ic_chevron_right_black_24dp" />
<ImageButton
android:id="@+id/historybrowse_end"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-01-29 22:48:47 +01:00
app:srcCompat="@drawable/ic_last_page_black_24dp" />
<Button
android:id="@+id/historybrowse_zoom"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-01-29 22:48:47 +01:00
android:layout_weight="1"
android:text="24" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2018-03-16 23:32:17 +01:00
<RelativeLayout
2018-01-29 22:48:47 +01:00
android:layout_width="wrap_content"
2018-02-12 19:39:45 +01:00
android:layout_height="0dp"
2018-03-16 23:32:17 +01:00
android:layout_weight="1">
<com.jjoe64.graphview.GraphView
android:id="@+id/historyybrowse_bggraph"
android:layout_width="wrap_content"
android:layout_height="match_parent" />
<ImageButton
android:id="@+id/overview_chartMenuButton"
android:layout_width="30dp"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:paddingTop="5dp"
app:srcCompat="@drawable/ic_arrow_drop_down_white_24dp" />
2018-04-21 10:50:55 +02:00
<TextView
android:id="@+id/overview_iobcalculationprogess"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:textSize="15sp" />
2018-03-16 23:32:17 +01:00
</RelativeLayout>
2018-01-29 22:48:47 +01:00
<com.jjoe64.graphview.GraphView
android:id="@+id/historybrowse_iobgraph"
android:layout_width="wrap_content"
android:layout_height="100dp" />
<SeekBar
android:id="@+id/historybrowse_seekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"/>
2018-01-29 22:48:47 +01:00
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
android:id="@+id/historybrowse_apsresult"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</FrameLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>
</android.support.constraint.ConstraintLayout>