天道酬勤,学无止境

splash-screen

Splash screens not working in PhoneGap Build

I can't get splash screens working at all, in either Android or iOS. I'm using PhoneGap Build and I've set config.xml like this, which is for v3.0.0 now. <?xml version="1.0" encoding="UTF-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/3.0.0" id = "myid" version = "1.0.0"> <name>myname</name> <description> mydesc </description> <author> </author> <preference name="permissions" value="none"/> <preference name="DisallowOverscroll" value="true"/> <preference name="android-minSdkVersion" value="14" /> <!-- JB 4.0 --> <preference name="fullscreen" value=

2022-01-18 06:02:51    分类:问答    android   ios   splash-screen   phonegap-build

Ionic - app hangs on splash screen

My ionic app is hanging on the splash screen - it was working fine and then I added some code, and went to test, and it's getting stuck. It gets to this point: ------ Debug phase ------ Starting debug of 2e5ac6066864be48322a757c4d0ccdfde52cf356 (N51AP, iPhone 5s (GSM), iphoneos, arm64) a.k.a. 'Eamon White’s iPhone' connected through USB... [ 0%] Looking up developer disk image [ 90%] Mounting developer disk image [ 95%] Developer disk image already mounted [100%] Connecting to remote debug server ------------------------- (lldb) command source -s 0 '/tmp/2F06F4BB-A7E5-4B97-87EC-A01CBEE5661A

2022-01-18 01:33:50    分类:问答    ios   iphone   ionic-framework   deployment   splash-screen

Android Splash screen does not display

The splash screen in my app does not display.Only a white backgound is shown. Then it goes to the next page.I have seen other similar questions in stackoverflow but it did not help me. splash.xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/splash"> </RelativeLayout> Code: public class Splash extends AppCompatActivity { @Override protected void onCreate( Bundle savedInstanceState) { super.onCreate(savedInstanceState)

2022-01-17 21:14:42    分类:问答    android   splash-screen

How does one change the background color for a loading out-of-browser Silverlight 3 application?

When running our Silverlight 3 application out-of-browser, startup takes a little time, but it's long enough to be noticeable. During this startup, the background of the window hosting the application displays an ugly white background color. When running in-browser, we have a splash screen, but that's loaded via JavaScript of course. How can I get a splash screen working for an out-of-browser Silverlight 3? Or if that's not possible, is there a way I can at least change the background color of the window?

2022-01-17 19:12:50    分类:问答    silverlight   silverlight-3.0   startup   splash-screen   out-of-browser

Create animated splashscreen delphi 7

I'm trying to make an animated splashscreen while my app loads his database. I already created a splashscreen but I want to make the image "move" from left to right while the db is getting converted. Been searching for a while now but all I could find is about progress bars... Here's my code: SplashScreen := TSplashScreen.Create(Application) ; SplashScreen.Show; Application.Initialize; SplashScreen.Update; SplashScreen.lblStatus.Caption:='Loading...'; SplashScreen.Update; SplashScreen.lblStatus.Caption:='Updating database...'; SplashScreen.Update; Application.Initialize; Application.CreateForm

2022-01-17 14:23:03    分类:问答    delphi   splash-screen   animated

Splash Screen with Animated GIF is not animating in WPF C#

So here is the situation. I am currently working on a C# WPF Desktop Application and I wanted to add a Splash Screen when starting the program. But I am not using the SplashScreen class. I am using an additional WPF windows class on top of the app of the same name, and I call that class Splashy. My splash screen has an animated GIF image that works well when animated on the WebBrowser control of the Splashy class below... <Image gif:ImageBehavior.AnimatedSource="Images/FSIntro.gif" Margin="10,1,0,10"> <Image.OpacityMask> <ImageBrush ImageSource="Images/FSIntro.gif"/> </Image.OpacityMask> <

2022-01-17 10:47:19    分类:问答    c#   wpf   splash-screen

将渐变背景颜色设置为 LaunchScreen,它将在中心显示徽标图像(Setting gradient background color to LaunchScreen which will display a logo image at center)

问题 我需要在启动屏幕上设置一个渐变背景,中间有一个UIImageView显示应用程序徽标。 我尝试拥有一个视图控制器,但我意识到永远不会调用代码。 我需要一些方法来获得行为,就像下面的代码一样 self.view.backgroundColor = UIColor(patternImage: UIImage(named: "background.png")!) 我经历了很多关于同一主题的答案,大多数关于渐变颜色的问题似乎没有任何额外的要求,比如显示除背景之外的另一张图像。 我可以在 IB 中对颜色进行硬编码,但我没有得到渐变。 回答1 您不能在启动屏幕中运行代码或使用任何自定义类。 基本上,启动屏幕可以使用界面构建器文件并适应大小类/自动布局,但您不能像您一样在代码中创建渐变。 您必须提供可拉伸的图像,其中包含足够的数据以使其在所有分辨率下都可用。 回答2 您可以使用 2 层UIImageView : 第一个是大的并包含背景渐变图像,第二层是标志的居中图像(带有透明背景)。

2022-01-16 19:21:23    分类:技术分享    ios   uiimageview   splash-screen   launch-screen

Android:启动画面没有显示,为什么?(Android: The splash screen does not get shown, why?)

问题 我正在学习Android。 从我到目前为止阅读的文档中,我无法弄清楚如何让启动视图显示(在睡眠期间,屏幕保持空白)。 看来我需要为主布局启动一个新活动,但这似乎很浪费(飞溅应该永远消失,我想重用它的线程)。 import android.app.Activity; import android.os.Bundle; import android.util.Log; public class Ext3 extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.splash); Log.v("Ext3", "starting to sleep"); try { Thread.sleep (5000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } Log.v("Ext3", "done sleeping"); setContentView (R.layout.main); } } 回答1 我相信你的启动画面永远不会显示,因为你从来没有给 UI

2022-01-16 18:30:16    分类:技术分享    android   splash-screen

Setting gradient background color to LaunchScreen which will display a logo image at center

I have a requirement to set a Gradient background to the launch screen with a UIImageView in the center which shows the app logo . I tried having a view controller but I realised code will never be invoked. I need some way to get behaviour as the code below does self.view.backgroundColor = UIColor(patternImage: UIImage(named: "background.png")!) I went through lot of answers about the same topic, most of the questions on gradient colour don't seem to have any additional requirements like showing another image other than the background . I can hardcode the color in IB but i don't get the

2022-01-16 18:19:43    分类:问答    ios   uiimageview   splash-screen   launch-screen

Android独特的闪屏:如何让它充满屏幕?(Android unique splash screen : how to make it fill screen?)

问题 我有一个独特的启动画面,称为 splash.png,大小为 1280x1280、150dpi 我在我的 React Native 项目中使用react-native-bootsplash ,但我认为这并不重要。 我的问题很简单:如何使我的启动画面在纵向模式下为全高,而不是更少,而不是更多,并保持其纵横比以使图片充满屏幕。 像background-size: cover在 css 中。 或者像 React Native 中的一个简单的<Image resizeMode="cover" style={{ height: '100%' }} /> 。 所以我有 : android/app/src/main/res/values/styles.xml <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!-- Customize your theme here. --> <item name="android:textColor">#000000</item> </style> <!-- BootTheme should inherit from AppTheme --> <style name=

2022-01-16 18:18:39    分类:技术分享    android   xml   react-native   react-native-android   splash-screen