aboutsummaryrefslogtreecommitdiffstats
path: root/android-mobile
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-11-17 13:47:40 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-17 15:45:45 +0100
commit35194c700233eadd1e5f8d3dcc6ff762c8376aed (patch)
tree21a4210f47f2af709920253899f3463fe1b0411a /android-mobile
parent5ad6e168c60c0ae184f73c0f7a4c8a3ebd66315d (diff)
downloadsubsurface-35194c700233eadd1e5f8d3dcc6ff762c8376aed.tar.gz
mobile: black and white backgrounds on starting
This very simple commit has a long story. See the mailing list subject "mobile: android splash screen (and issue 513) opacity weirdness". There is even more. I found the following deccription on Internet: https://falsinsoft.blogspot.nl/2017/07/qml-show-android-native-splash-screen.html and tried to implement this with the potentially nice Qt functionality (since 5.8) to manually get rid of the splash screen. Unfortunately, this does not work. Notice that there are subtile differences in the here found internet page, and the method originally implemented in commit 04e994b575. This fix is as mimimalistic as it can be. Just do not set black but white for the initial background. Unfortunately, there is still a small position change of the icon. It is known why, but solving is left as an exercise to the reader. Fixes: #513 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'android-mobile')
-rw-r--r--android-mobile/res/drawable/splash.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/android-mobile/res/drawable/splash.xml b/android-mobile/res/drawable/splash.xml
index a27a22df4..b4922cd7a 100644
--- a/android-mobile/res/drawable/splash.xml
+++ b/android-mobile/res/drawable/splash.xml
@@ -2,7 +2,7 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle" >
- <solid android:color="#000000FF"/>
+ <solid android:color="#FFFFFF" />
</shape>
</item>
<item>