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

46 lines
1.7 KiB
XML
Raw Normal View History

2020-05-03 00:32:26 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2021-02-04 12:03:34 +01:00
xmlns:tools="http://schemas.android.com/tools"
2020-05-03 00:32:26 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1">
<com.jjoe64.graphview.GraphView
2021-02-04 12:03:34 +01:00
android:id="@+id/bg_graph"
2020-05-03 00:32:26 +02:00
android:layout_width="wrap_content"
2022-01-19 17:21:59 +01:00
android:layout_height="200dp"
android:contentDescription="@string/a11y_graph"/>
2020-05-03 00:32:26 +02:00
<ImageButton
2021-02-04 12:03:34 +01:00
android:id="@+id/chart_menu_button"
2020-05-03 00:32:26 +02:00
android:layout_width="30dp"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
2021-02-04 12:03:34 +01:00
android:contentDescription="@string/chart_menu"
2020-05-03 00:32:26 +02:00
android:paddingTop="5dp"
app:srcCompat="@drawable/ic_arrow_drop_down_white_24dp" />
<TextView
2021-02-04 12:03:34 +01:00
android:id="@+id/iob_calculation_progress"
2020-05-03 00:32:26 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
2021-02-04 12:03:34 +01:00
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
tools:ignore="RelativeOverlap" />
2020-05-03 00:32:26 +02:00
</RelativeLayout>
<LinearLayout
2021-02-04 12:03:34 +01:00
android:id="@+id/iob_graph"
2020-05-03 00:32:26 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
</LinearLayout>