Merge pull request #189 from AdrianLxM/adridev

make things scrollable for small devices
This commit is contained in:
Milos Kozak 2017-02-20 14:14:30 +01:00 committed by GitHub
commit 9e736ea0f9
2 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,10 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="info.nightscout.androidaps.plugins.Actions.ActionsFragment"> tools:context="info.nightscout.androidaps.plugins.Actions.ActionsFragment">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -75,5 +79,6 @@
android:textColor="@color/colorTreatmentButton" /> android:textColor="@color/colorTreatmentButton" />
</LinearLayout> </LinearLayout>
</ScrollView>
</FrameLayout> </FrameLayout>

View file

@ -5,6 +5,10 @@
tools:context="info.nightscout.androidaps.plugins.DanaR.DanaRFragment"> tools:context="info.nightscout.androidaps.plugins.DanaR.DanaRFragment">
<ScrollView
android:layout_height="wrap_content"
android:layout_width="match_parent">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -304,5 +308,6 @@
android:layout_weight="1" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</ScrollView>
</FrameLayout> </FrameLayout>