Merge pull request #4140 from osmandapp/splash_screen

Fix logo jumping between spalsh screens
This commit is contained in:
vshcherb 2017-07-19 11:23:40 +02:00 committed by GitHub
commit 98b44a8264
3 changed files with 6 additions and 6 deletions

View file

@ -2,9 +2,9 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" <layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque"> android:opacity="opaque">
<item android:drawable="@color/map_background_color_light"/> <item android:drawable="@color/map_background_color_light"/>
<item> <item android:top="@dimen/splash_screen_logo_top">
<bitmap <bitmap
android:gravity="center" android:gravity="center_horizontal|top"
android:src="@drawable/ic_logo_splash_osmand"/> android:src="@drawable/ic_logo_splash_osmand"/>
</item> </item>
</layer-list> </layer-list>

View file

@ -2,9 +2,9 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" <layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque"> android:opacity="opaque">
<item android:drawable="@color/map_background_color_light"/> <item android:drawable="@color/map_background_color_light"/>
<item> <item android:top="@dimen/splash_screen_logo_top">
<bitmap <bitmap
android:gravity="center" android:gravity="center_horizontal|top"
android:src="@drawable/ic_logo_splash_osmand"/> android:src="@drawable/ic_logo_splash_osmand"/>
</item> </item>
</layer-list> </layer-list>

View file

@ -2,9 +2,9 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" <layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque"> android:opacity="opaque">
<item android:drawable="@color/map_background_color_light"/> <item android:drawable="@color/map_background_color_light"/>
<item> <item android:top="@dimen/splash_screen_logo_top">
<bitmap <bitmap
android:gravity="center" android:gravity="center_horizontal|top"
android:src="@drawable/ic_logo_splash_osmand_plus"/> android:src="@drawable/ic_logo_splash_osmand_plus"/>
</item> </item>
</layer-list> </layer-list>