1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-16 12:26:47 +01:00

Add scrollview to activity detail to handle landscape view

This commit is contained in:
vanous 2021-03-11 13:28:04 +01:00
parent 54409fbe55
commit 9cfb172bac

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/activity_battery_info_master_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -10,15 +14,15 @@
android:minWidth="1000dp"
android:orientation="vertical">
<include layout="@layout/activity_list_item"
<include
android:id="@+id/activityItemHolder"
android:layout_height="wrap_content"
android:layout_width="match_parent" />
layout="@layout/activity_list_item"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<FrameLayout
android:id="@+id/chartsFragmentHolder"
android:layout_width="match_parent"
android:layout_height="300dp"></FrameLayout>
</LinearLayout>
android:layout_height="300dp" />
</LinearLayout>
</ScrollView>