1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-14 05:59:26 +01:00
Gadgetbridge/app/src/main/res/layout/fragment_statschart.xml

40 lines
1.6 KiB
XML
Raw Normal View History

<RelativeLayout 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"
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ActivityChartsActivity$PlaceholderFragment">
<com.github.mikephil.charting.charts.HorizontalBarChart
android:id="@+id/statschart"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="20"
android:layout_below="@+id/statsXAxisText"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/statsYAxisText"></com.github.mikephil.charting.charts.HorizontalBarChart>
<TextView
android:id="@+id/statsXAxisText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:paddingLeft="10dp"
android:text="@string/stats_x_axis_label" />
<TextView
android:id="@+id/statsYAxisText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginStart="-95dp"
android:elegantTextHeight="false"
android:rotation="90"
android:singleLine="true"
android:text="@string/stats_y_axis_label"
android:translationX="40dp" />
</RelativeLayout>