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

110 lines
4.2 KiB
XML
Raw Normal View History

2018-01-29 22:48:47 +01:00
<?xml version="1.0" encoding="utf-8"?>
2019-05-16 13:57:37 +02:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-01-29 22:48:47 +01:00
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"
2019-12-30 13:40:42 +01:00
tools:context="info.nightscout.androidaps.historyBrowser.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
2021-01-24 14:44:11 +01:00
android:id="@+id/noprofile"
2018-03-17 18:07:22 +01:00
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">
2019-08-07 17:36:48 +02:00
<androidx.appcompat.widget.AppCompatImageButton
2021-01-24 14:44:11 +01:00
android:id="@+id/left"
2018-01-29 22:48:47 +01:00
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
2021-01-24 14:44:11 +01:00
android:id="@+id/date"
2018-01-29 22:48:47 +01:00
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-01-29 22:48:47 +01:00
android:layout_weight="1"
2021-01-24 14:44:11 +01:00
android:text="@string/date" />
2018-01-29 22:48:47 +01:00
2019-08-07 17:36:48 +02:00
<androidx.appcompat.widget.AppCompatImageButton
2021-01-24 14:44:11 +01:00
android:id="@+id/right"
2018-01-29 22:48:47 +01:00
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" />
2019-08-07 17:36:48 +02:00
<androidx.appcompat.widget.AppCompatImageButton
2021-01-24 14:44:11 +01:00
android:id="@+id/end"
2018-01-29 22:48:47 +01:00
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
2021-01-24 14:44:11 +01:00
android:id="@+id/zoom"
2018-01-29 22:48:47 +01:00
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"
2020-04-24 15:55:06 +02:00
android:orientation="vertical">
2018-01-29 22:48:47 +01:00
2020-04-24 15:55:06 +02:00
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1">
2018-01-29 22:48:47 +01:00
<com.jjoe64.graphview.GraphView
2021-01-24 14:44:11 +01:00
android:id="@+id/bggraph"
2018-01-29 22:48:47 +01:00
android:layout_width="wrap_content"
2020-04-24 15:55:06 +02:00
android:layout_height="match_parent" />
2018-01-29 22:48:47 +01:00
2020-04-24 15:55:06 +02:00
<ImageButton
2021-02-04 12:03:34 +01:00
android:id="@+id/chart_menu_button"
2020-04-24 15:55:06 +02:00
android:layout_width="30dp"
android:layout_height="wrap_content"
2020-04-24 15:55:06 +02:00
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
2021-01-24 14:44:11 +01:00
android:contentDescription="@string/chart_menu"
2020-04-24 15:55:06 +02:00
android:paddingTop="5dp"
app:srcCompat="@drawable/ic_arrow_drop_down_white_24dp" />
2018-01-29 22:48:47 +01:00
2020-04-24 15:55:06 +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-01-29 22:48:47 +01:00
2020-04-24 15:55:06 +02:00
</RelativeLayout>
2018-01-29 22:48:47 +01:00
2020-04-24 15:55:06 +02:00
<LinearLayout
2021-01-24 14:44:11 +01:00
android:id="@+id/iob_graph"
2020-04-24 15:55:06 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
2018-01-29 22:48:47 +01:00
</LinearLayout>
</LinearLayout>
2019-05-16 13:57:37 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>