1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-26 09:44:31 +02:00

add a horizontal scroll view to the graph for small devices.

This commit is contained in:
OliE
2018-01-14 11:22:24 +01:00
parent ea83911be8
commit 2f66dc0e65

View File

@@ -1,22 +1,26 @@
<android.support.design.widget.CoordinatorLayout
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">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="1">
android:orientation="vertical">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:orientation="horizontal"
android:gravity="center"
android:orientation="horizontal"
android:padding="5dp">
<android.support.design.widget.FloatingActionButton
@@ -108,6 +112,7 @@
app:rippleColor="#FFFF00" />
</LinearLayout>
</HorizontalScrollView>
<LinearLayout
android:layout_width="match_parent"