mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-09 15:56:36 +02:00
- Make ChartsHost independent from ChartsActivity - Rename ChartsActivity to ActivityChartsActivity - Rename AbstractChartFragment to AbstractActivityChartFragment - Pull common charts logic to parent classes: - From ActivityChartsActivity to AbstractChartsActivity - From AbstractActivityChartFragment to AbstractChartsFragment
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<RelativeLayout 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"
|
|
android:orientation="vertical"
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ActivityChartsActivity$PlaceholderFragment">
|
|
|
|
<TextView
|
|
android:id="@+id/stepsDateView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAlignment="center"
|
|
android:textAllCaps="false"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<ListView
|
|
android:id="@+id/itemListView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/stepsDateView"
|
|
android:layout_alignParentBottom="false"
|
|
android:layout_marginBottom="0dp"
|
|
android:layout_marginTop="0dp">
|
|
</ListView>
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="9dp"
|
|
app:srcCompat="@drawable/ic_insights" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|