Fixed layout alignments, especially for KitKat

This commit is contained in:
Karim Abou Zeid 2015-04-22 14:06:11 +02:00
commit a8f342fe39
2 changed files with 18 additions and 16 deletions

View file

@ -1,12 +1,13 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
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:orientation="vertical"
android:paddingTop="@dimen/main_toolbar_padding_top">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
@ -28,11 +29,11 @@
android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/empty_text_size"
android:textColor="?android:textColorSecondary"
android:layout_gravity="center"
android:fontFamily="sans-serif-light"
android:text="@string/playlist_empty_text"
android:layout_gravity="center" />
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/empty_text_size" />
<LinearLayout
android:layout_width="wrap_content"