Fixed about layout on smaller screens

Fixes #361
This commit is contained in:
M66B 2016-03-07 07:56:54 +01:00
parent a069c5bc07
commit 9ca1e6a873
1 changed files with 22 additions and 21 deletions

View File

@ -22,38 +22,39 @@
android:src="@mipmap/ic_launcher" /> android:src="@mipmap/ic_launcher" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:orientation="horizontal"> android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
android:orientation="vertical">
<TextView <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:orientation="horizontal">
android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
android:text="@string/app_name"
android:textAppearance="@style/TextLarge"
android:textStyle="bold" />
<TextView <TextView
android:id="@+id/tvVersionName" android:layout_width="wrap_content"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:text="@string/app_name"
android:layout_gravity="bottom" android:textAppearance="@style/TextLarge"
android:layout_marginLeft="4dp" android:textStyle="bold" />
android:layout_marginStart="4dp"
android:textAppearance="@style/TextLarge" <TextView
android:textStyle="bold" /> android:id="@+id/tvVersionName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textAppearance="@style/TextLarge"
android:textStyle="bold" />
</LinearLayout>
<TextView <TextView
android:id="@+id/tvVersionCode" android:id="@+id/tvVersionCode"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
android:textAppearance="@style/TextSmall" android:textAppearance="@style/TextSmall"
android:textSize="12sp" /> android:textSize="12sp" />
</LinearLayout> </LinearLayout>