How to make a Splash Screen with a text at bottom? - android

I was checking some of Google's apps splash screens and I realized that some of them have an Icon (centered) and a text at the bottom.
The Splash Screen API doc doesn't mention how one can do it and I didn't find anything related to it.
Is it possible to achieve it with the Splash Screen API? If not, what would be the recommended way to create a custom Splash Screen that is shown as soon as the user touches the app's icon?

I managed to solve this problem by following the topic Using a Launcher Theme in this post by Vinod Baste:
All in all, we can use the android:windowBackground attribute in a custom theme to reference the splash screen background drawable.

Related

How to get Native Splash Screen in Flutter?

Is there any way to remove default native Splash screen in Flutter. I want to show my own splash screen instead of default black screen.
Splash screen can't be provided through Flutter as iOS and Android both have a different way to show.
iOS: The default Flutter template includes an Xcode storyboard named LaunchScreen.storyboard that can be used to show your splash screen.
Android: The default Flutter project template includes a definition of a launch theme and a launched background. You can customize this by editing styles.xml, where you can define a theme whose windowBackground is set to the Drawable that should be displayed as the launch screen.
Source: https://flutter.dev/docs/development/ui/advanced/splash-screen

How to make circular reveal effect when theme changed? (Like in Telegram or VK)

I am using DayNight theme in my application. And I have a button that changes the theme. In VK and Telegram app there is a beautiful reveal animation that changes the theme without restarting activity or something like that.
I have tried to make that with reveal animation implementation in different ways, but it doesn't work or working bad in some cases with AppCompatDelegate.setDefaultNightMode(...). All examples with that reveal animation are for ActivityA -> ActivityB, but I just need to update theme without starting any activity.
And one more thing: AppCompatDelegate.setDefaultNightMode recreates my activity, so do I need a custom theme changing implementation?
And main question: how to create that animation with theme changing?
Examples:
Telegram (From Dark to Light)
Telegram (From Light to Dark)
VK (From Light to Dark)
VK (From Dark to Light)
since telegram is an open source app you can find the code -> line 3154: github.
it seems that it converts layout into bitmap and use it with an existing imageView to animate circular reveal

UI screen design

I am working on an Android application and have to code up the following design for one of the screens:
(Ignore the yellow stuff, I have just masked the Logo and the App-specific information for now)
My question is: How do I design this particular type of screen? The top pane is akin to an ActionBar in Android. However, when any button on the top pane is hit, this custom "popup" having a rectangular form with a small arrow on top pointing towards the button is display and does not interrupt the current/main activity.
I have looked around, but still dont understand how to accomplish this.
Any thoughts? Thanks!
You can use the native Action Bar along with the icons.
The only problem is if you want to show them all at once.
Some icons may be hidden depending on the size of the phone.
As for the custom pop-up, the toast feature is available to do that.
It is quite easy to adjust the position of toasts and customise toasts :
Customisation of toasts: http://developer.android.com/guide/topics/ui/notifiers/toasts.html#CustomToastView
Changing postion of toasts: How to change position of Toast in Android?

White screen and actionbar seen on app startup instead of black screen

As JadeMason said here https://android.stackexchange.com/a/1440/74487:
"Black is the default plot color for Android, so this is the placeholder until the app completes it's layout operation"
I noticed most other apps do show black screen while starting up until their layout is ready to show.
However, my app instead shows white screen with the actionbar visible (but the menu items in the action bar are not visible; it is just the black/darkgrey bar and the app icon on the left side of it that are visible).
The background color of the main activity of my app is black. And the radical color transition between the complete white and complete black is so ugly and fatigues my eyes.
I'd like to have the default black screen during my app startup. How to achieve this?
More information on my app:
My app has minSdkVersion 10 and targetSdkVersion 20.
My app theme is Theme.AppCompat.Light.DarkActionBar (is it the appcompat that is
causing this issue?)
Cyril Mottier has a really great blog post about this topic here.

App Icon with transparent background doesn't appear

I use this image like ic_launcher for my application
(source: fotohost.by)
In my application icon is displayed without background
But in my GO launcher EX it's displayed with background
(source: fotohost.by)
In what may be the problem?
Go launcher provides the functionality to enable/disable app icon base .
You have to disable it.
I think that this is a change made by a theme of the launcher.

Categories

Resources