-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update android splash screen for Android 12.0 (#510)
* Add v31 Splash Screen * Update GitTrends.Android.csproj * Update GitTrends.Android.csproj * Add splash_theme.xml * Add `AndroidX.Core.SplashScreen.SplashScreen.InstallSplashScreen()` * Fix GitTrendWhite * Fix GitTrendWhite * Update Splash Screen * Fix Icon Sizes
- Loading branch information
1 parent
527857b
commit 77d8fda
Showing
22 changed files
with
284 additions
and
825 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+32.9 KB
GitTrends.Android/Resources/drawable-hdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.5 KB
GitTrends.Android/Resources/drawable-mdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.5 KB
GitTrends.Android/Resources/drawable-night-hdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+47.1 KB
GitTrends.Android/Resources/drawable-night-xhdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.5 KB
GitTrends.Android/Resources/drawable-night-xxhdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+107 KB
GitTrends.Android/Resources/drawable-night-xxxhdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.4 KB
GitTrends.Android/Resources/drawable-night/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
GitTrends.Android/Resources/drawable-v26/SplashScreenAnimatedIcon.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@color/splash_screen_background" /> | ||
<foreground android:drawable="@drawable/splashscreenanimatedicon" /> | ||
</adaptive-icon> |
File renamed without changes
Binary file added
BIN
+47.7 KB
GitTrends.Android/Resources/drawable-xhdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.5 KB
GitTrends.Android/Resources/drawable-xxhdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+108 KB
GitTrends.Android/Resources/drawable-xxxhdpi/splashscreenanimatedicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="MainTheme" parent="MainTheme.Base"> | ||
</style> | ||
<!-- Base theme applied no matter what API --> | ||
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:--> | ||
<item name="windowNoTitle">true</item> | ||
<!--We will be using the toolbar so no need to show ActionBar--> | ||
<item name="windowActionBar">false</item> | ||
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette --> | ||
<!-- colorPrimary is used for the default action bar background --> | ||
<item name="colorPrimary">#1E2423</item> | ||
<!-- colorPrimaryDark is used for the status bar --> | ||
<item name="colorPrimaryDark">#121212</item> | ||
<!-- colorAccent is used as the default value for colorControlActivated | ||
<style name="MainTheme" parent="MainTheme.Base"> | ||
</style> | ||
<!-- Base theme applied no matter what API --> | ||
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:--> | ||
<item name="windowNoTitle">true</item> | ||
<!--We will be using the toolbar so no need to show ActionBar--> | ||
<item name="windowActionBar">false</item> | ||
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette --> | ||
<!-- colorPrimary is used for the default action bar background --> | ||
<item name="colorPrimary">#1E2423</item> | ||
<!-- colorPrimaryDark is used for the status bar --> | ||
<item name="colorPrimaryDark">#121212</item> | ||
<!-- colorAccent is used as the default value for colorControlActivated | ||
which is used to tint widgets --> | ||
<item name="colorAccent">#338F82</item> | ||
<!-- You can also set colorControlNormal, colorControlActivated | ||
<item name="colorAccent">#338F82</item> | ||
<!-- You can also set colorControlNormal, colorControlActivated | ||
colorControlHighlight and colorSwitchThumbNormal. --> | ||
<item name="windowActionModeOverlay">true</item> | ||
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> | ||
</style> | ||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> | ||
<item name="colorAccent">#338F82</item> | ||
</style> | ||
<style name="LaunchTheme" parent="Theme.AppCompat"> | ||
<item name="android:windowBackground">@drawable/splash_screen</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
<item name="windowActionModeOverlay">true</item> | ||
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> | ||
</style> | ||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> | ||
<item name="colorAccent">#338F82</item> | ||
</style> | ||
<style name="LaunchTheme" parent="Theme.AppCompat"> | ||
<item name="android:windowBackground">@drawable/splash_screen</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowSplashScreenBackground">@color/splash_screen_background</item> | ||
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splashscreenanimatedicon</item> | ||
</style> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="MainTheme" parent="MainTheme.Base"> | ||
</style> | ||
<!-- Base theme applied no matter what API --> | ||
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:--> | ||
<item name="windowNoTitle">true</item> | ||
<!--We will be using the toolbar so no need to show ActionBar--> | ||
<item name="windowActionBar">false</item> | ||
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette --> | ||
<!-- colorPrimary is used for the default action bar background --> | ||
<item name="colorPrimary">#338F82</item> | ||
<!-- colorPrimaryDark is used for the status bar --> | ||
<item name="colorPrimaryDark">#1C473D</item> | ||
<!-- colorAccent is used as the default value for colorControlActivated | ||
<style name="MainTheme" parent="MainTheme.Base"> | ||
</style> | ||
<!-- Base theme applied no matter what API --> | ||
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:--> | ||
<item name="windowNoTitle">true</item> | ||
<!--We will be using the toolbar so no need to show ActionBar--> | ||
<item name="windowActionBar">false</item> | ||
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette --> | ||
<!-- colorPrimary is used for the default action bar background --> | ||
<item name="colorPrimary">#338F82</item> | ||
<!-- colorPrimaryDark is used for the status bar --> | ||
<item name="colorPrimaryDark">#1C473D</item> | ||
<!-- colorAccent is used as the default value for colorControlActivated | ||
which is used to tint widgets --> | ||
<item name="colorAccent">#338F82</item> | ||
<!-- You can also set colorControlNormal, colorControlActivated | ||
<item name="colorAccent">#338F82</item> | ||
<!-- You can also set colorControlNormal, colorControlActivated | ||
colorControlHighlight and colorSwitchThumbNormal. --> | ||
<item name="windowActionModeOverlay">true</item> | ||
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> | ||
</style> | ||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> | ||
<item name="colorAccent">#F97B4F</item> | ||
</style> | ||
<style name="LaunchTheme" parent="Theme.AppCompat"> | ||
<item name="android:windowBackground">@drawable/splash_screen</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
<item name="windowActionModeOverlay">true</item> | ||
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> | ||
</style> | ||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> | ||
<item name="colorAccent">#F97B4F</item> | ||
</style> | ||
<style name="LaunchTheme" parent="Theme.AppCompat"> | ||
<item name="android:windowBackground">@drawable/splash_screen</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowSplashScreenBackground">@color/splash_screen_background</item> | ||
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splashscreenanimatedicon</item> | ||
</style> | ||
</resources> |