fix layout for small screen

This commit is contained in:
massimiliano 2019-01-06 10:28:06 +01:00
parent a18356180c
commit 17d7ef6bd1
3 changed files with 14 additions and 7 deletions

View File

@ -6,8 +6,8 @@ android {
applicationId "org.disroot.disrootapp" applicationId "org.disroot.disrootapp"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 28 targetSdkVersion 28
versionCode 14 versionCode 15
versionName "1.1.1" versionName "1.1.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }
buildTypes { buildTypes {

View File

@ -40,18 +40,20 @@
android:id="@+id/dashboard" android:id="@+id/dashboard"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="#203140"
android:fillViewport="true" android:fillViewport="true"
android:stackFromBottom="true" android:stackFromBottom="true"
android:transcriptMode="alwaysScroll" android:transcriptMode="alwaysScroll"
android:visibility="visible"> android:visibility="visible">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true">
<RelativeLayout <RelativeLayout
android:id="@+id/dashLayout" android:id="@+id/dashLayout"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="#203140" android:background="#203140">
android:gravity="center_horizontal">
<ImageButton <ImageButton
android:id="@+id/logo" android:id="@+id/logo"
@ -275,6 +277,7 @@
android:textColor="#ffffff" /> android:textColor="#ffffff" />
</LinearLayout> </LinearLayout>
</RelativeLayout> </RelativeLayout>
</HorizontalScrollView>
</ScrollView> </ScrollView>
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<changelog> <changelog>
<changelog>
<release version="1.1.2" versioncode="15" >
<change>Fixed layout for small screens</change>
</release>
<release version="1.1.1" versioncode="14" > <release version="1.1.1" versioncode="14" >
<change>Added more info for notes app</change> <change>Added more info for notes app</change>
<change>Corrected some typos</change> <change>Corrected some typos</change>