cost 414 ms
在 Maui 的 Splash 中創建動畫(設置 MainActivity OnCreate 和其他東西)?

[英]Creating animated in Splash in Maui (setting MainActivity OnCreate and other things)?

這個問題是從一篇Android的文章開始的,我試圖在Maui實現。 主要是關於實現自定義 Android 資源 XML 文件,但我在OnCreate上實現了東西。 因此,這就是開始的地方,但隨后升級了其他潛在的解決方案。 然后@user2153142 提供了 Xamarin 樣本,解決了這個問題。 ...

創建 flutter 應用程序時,如何將品牌添加到 ANDROID 12 的啟動畫面?

[英]How do i add a branding to a splash screen for ANDROID 12 when creating a flutter app?

我已經能夠輕松地為 android 的較低版本創建品牌,但 android 12 不支持品牌。 我想知道是否有解決 yaml 文件的問題,例如 Meta 如何能夠在他們所有的應用程序(WhatsApp、Instagram、Facebook)中創建品牌,盡管他們使用 React Native。 將目 ...

Lottie Animation 作為我的 react-native 應用程序的原生啟動畫面

[英]Lottie Animation as a native splash screen for my react-native App

我正在使用 lottie Animation 作為我的本機反應應用程序的初始屏幕。 當前的實現是我剛剛將 lottie animation 作為我的導航堆棧中的初始頁面,但是,在 JavaScript 控制之前存在延遲。 這在 IOS 上不是問題,但在 Android 上非常明顯。我想弄清楚是否有任 ...

Flutter 啟動畫面不是全屏 android 12

[英]Flutter splashscreen not full screen android 12

我正在創建一個帶有啟動畫面的 flutter 應用程序。 我已經使用了flutter_native_splash package,但是無論我在 manifest.xml、styles.xml 和 launch_background.xml 中做了什么更改,我都無法讓它填滿整個屏幕。 它以帶有圖像的 ...

無法啟動活動 ComponentInfo...您需要在此活動中使用 Theme.AppCompat 主題(或后代)

[英]Unable to start activity ComponentInfo... You need to use a Theme.AppCompat theme (or descendant) with this activity

我正在使用 SplashScreenApi 實現 SplashScreen,但是當我運行我的應用程序時,啟動畫面出現,然后我的應用程序崩潰並顯示此消息 這是我創建的 splashTheme.xml value -> new resourceFile -> styles.xml 這是我的 ...

導航組件和啟動畫面 API

[英]Navigation component and Splash Screen API

我剛剛將啟動畫面活動遷移到新的啟動畫面 API (( https://developer.android.com/develop/ui/views/launch/splash-screen ))。 我還使用導航組件從主要活動移動到次要活動。 到目前為止,我能夠打開主要活動。 這是主要活動中的 on ...

Flutter Android 開機畫面一直黑

[英]Flutter Android Splash Screen always black

奇怪的是,我的 android 應用啟動畫面在我的 android 模擬器上是白色的,但在我的個人手機上加載 APK 時是黑色的。 當我去調查時,我在 Android 清單中看到了這個: 當我 go 到 res drawable 時,我看到一個名為launch_background.xml的文件,這 ...

Android 在按下后重新打開應用程序時跳過啟動畫面

[英]Android skipping the splash screen when re-opening the app after having pressed back

所以我的情況就是這樣。 假設有一個MainActivity ,它唯一的工作就是啟動,調用installSplashScreen().setKeepOnScreenCondition { true }以使用新的向后兼容 API 顯示啟動畫面,然后在檢查一些 state 之后它確實startActivi ...

react-native-bootsplash windowSplashScreenBackground 不工作 Android 12

[英]react-native-bootsplash windowSplashScreenBackground not working Android 12

在這個問題上花了幾天時間之后,我請求你的幫助。 我將我的項目升級到 react-native 0.69.5,以及 react-native-bootsplash 4.3.2。 我正在嘗試使用圖標和背景顏色自定義啟動畫面,但只顯示圖標。 這是我的 styles.xml 文件: 我的 colors.x ...

帶有啟動畫面的文本 API

[英]Text with Splashscreen API

使用啟動畫面 API 時是否可以在啟動畫面中的徽標中添加文本? 我沒有在 Theme.SplashScreen 中找到任何關於“文本”的屬性。 ...

Android windowSplashScreenBrandingImage over windowSplashScreenAnimatedIcon if ScreenOrientation.SensorLandscape in some phone

[英]Android windowSplashScreenBrandingImage over windowSplashScreenAnimatedIcon if ScreenOrientation.SensorLandscape in some phone

我用一個 AnimatedIcon(黑色圓圈......一個簡單的 block.png)和一個 BrandingImage(紅色方塊:arborisoft_branding.png)創建了一個簡單的啟動畫面 但在某些手機上 BrandingImage 高於 AnimatedIcon ! 我們可 ...

具有不同開瓶器活動的 SplashScreen api

[英]SplashScreen api with different opener activity

我剛剛開始使用SplashScreen api。 我已經刪除了舊的SplashActivity ,並且在setContentView之前在MainActivity中調用installSplashScreen() 。 問題是當我使用SplashActivity (舊方法)時,我有機會選擇打開下一個活 ...

Cordova 閃屏被限制為一個小圓圈,其中 Cordova 11.0 和 Android 12 ZDB974238714CA8DE634A7CE1D08DE634A7CE1D08

[英]Cordova splashscreen is restricted to a small circle with Cordova 11.0 and Android 12 API?

我正在從 Cordova 10.x 遷移到 11.x,並遵循了這篇文章。 在以前的版本中,用戶必須提供所有分辨率的完整圖像,然后使用<splash>標簽進行定義; 現在,沒有<splash>標簽了,只有一張圖片。 結果是啟動畫面更小並且被限制在一個圓圈內,半徑為設備寬度的 ...

遷移到 android 12 及更高版本時在 ionic cordova 中添加多種尺寸的啟動畫面

[英]Add multiple sizes of splash screen in ionic cordova when migrating to android 12 and above

我正在嘗試將 ionic cordova 應用程序遷移到 android 12 (api 32)。 不能再使用<splash>標簽。 相反,我應該使用<preference name="AndroidWindowSplashScreenAnimatedIcon" value="pa ...

閃屏一直顯示在屏幕上

[英]Splash screen keeps showing on the screen

我正在使用 SplashScreen API。 當應用程序啟動時,我會顯示 SplashScreen,然后根據某些條件將用戶導航到正確的目的地。 這是邏輯: 因此,首先我檢查用戶是否選中了記住我的選項,當用戶第二次返回應用程序時,我需要自動登錄。 如果選中此選項,則我刷新令牌,然后將用戶導航到主流程 ...

Android 12 啟動畫面圖標

[英]Android 12 Splash screen icon

我想使用新的 Android 12 API 作為啟動畫面,但是如果我在主題內使用我的drawable圖標作為參數windowSplashScreenAnimatedIcon ,它會被拉伸。 如何調整該圖標的大小? 我的圖標不是矢量。 我必須使用 png 文件。 ...

閃屏前如何換屏?

[英]How to change the screen before the splash screen?

在我的自定義啟動屏幕顯示在我的 webview 上之前,我的 mipmap 徽標的前景與灰色背景一起顯示(啟動屏幕從onCreate()顯示): 我想將背景顏色更改為白色,並且如果可能的話,將圖像更改為而不是應用程序圖標的前景,同時顯示背景和前景,使其顯示為完整的徽標。 這可能嗎? 如果是這樣, ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM