mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-10-14 17:09:35 +02:00
Keep date and chooser visible, scroll only visualisations
This commit is contained in:
parent
ae9ae3eec3
commit
5a1cdc2506
@ -7,54 +7,52 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".activities.DashboardFragment">
|
tools:context=".activities.DashboardFragment">
|
||||||
|
|
||||||
<ScrollView
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<LinearLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="horizontal">
|
||||||
|
<TextView
|
||||||
<RelativeLayout
|
android:id="@+id/dashboard_date"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal">
|
android:layout_margin="8dp"
|
||||||
<TextView
|
android:text="@string/activity_summary_today"
|
||||||
android:id="@+id/dashboard_date"
|
android:textStyle="bold"
|
||||||
android:layout_width="wrap_content"
|
android:textSize="30sp" />
|
||||||
android:layout_height="wrap_content"
|
<TextView
|
||||||
android:layout_margin="8dp"
|
android:id="@+id/arrow_left"
|
||||||
android:text="@string/activity_summary_today"
|
android:layout_width="wrap_content"
|
||||||
android:textStyle="bold"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="30sp" />
|
android:text="\u003C"
|
||||||
<TextView
|
android:textStyle="bold"
|
||||||
android:id="@+id/arrow_left"
|
android:textSize="40sp"
|
||||||
android:layout_width="wrap_content"
|
android:paddingHorizontal="8dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_toLeftOf="@+id/arrow_right" />
|
||||||
android:text="\u003C"
|
<TextView
|
||||||
android:textStyle="bold"
|
android:id="@+id/arrow_right"
|
||||||
android:textSize="40sp"
|
android:layout_width="wrap_content"
|
||||||
android:paddingHorizontal="8dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toLeftOf="@+id/arrow_right" />
|
android:text="\u003E"
|
||||||
<TextView
|
android:textStyle="bold"
|
||||||
android:id="@+id/arrow_right"
|
android:textSize="40sp"
|
||||||
android:layout_width="wrap_content"
|
android:paddingHorizontal="8dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"/>
|
||||||
android:text="\u003E"
|
</RelativeLayout>
|
||||||
android:textStyle="bold"
|
|
||||||
android:textSize="40sp"
|
<ScrollView
|
||||||
android:paddingHorizontal="8dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_alignParentEnd="true"/>
|
android:layout_height="match_parent">
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<androidx.gridlayout.widget.GridLayout
|
<androidx.gridlayout.widget.GridLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/dashboard_gridlayout"
|
android:id="@+id/dashboard_gridlayout"
|
||||||
app:columnCount="2">
|
app:columnCount="2" />
|
||||||
|
</ScrollView>
|
||||||
</androidx.gridlayout.widget.GridLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
|
||||||
</ScrollView>
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user