Skip to content

Commit e024e17

Browse files
authored
Splash / Icon / Branding (#15)
* Icon & Android splash * Added banner * Update README.md
1 parent 81762f3 commit e024e17

33 files changed

Lines changed: 332 additions & 89 deletions

.github/assets/woo_app_banner.png

46.6 KB
Loading

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Header](.github/assets/woo_app_banner.png)
2+
13
# WooCommerceMobile
24

35
[![Version](https://img.shields.io/badge/Version-0.0.1-green)](https://github.com/ShiftHackZ/WooCommerceMobile/releases)

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ android {
3333
}
3434

3535
defaultConfig {
36-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3736
applicationId "com.shifthackz.wooapp"
38-
minSdkVersion 20
37+
minSdkVersion 21
3938
targetSdkVersion 33
4039
versionCode flutterVersionCode.toInteger()
4140
versionName flutterVersionName
@@ -56,4 +55,5 @@ flutter {
5655

5756
dependencies {
5857
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
58+
implementation 'androidx.core:core-splashscreen:1.0.0'
5959
}

android/app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
android:exported="true"
1313
android:hardwareAccelerated="true"
1414
android:launchMode="singleTop"
15-
android:theme="@style/LaunchTheme"
15+
android:theme="@style/Theme.App.Starting"
1616
android:windowSoftInputMode="adjustResize">
1717
<!-- Specifies an Android theme to apply to this Activity as soon as
1818
the Android process has started. This theme is visible to the user
@@ -26,9 +26,9 @@
2626
screen fades out. A splash screen is useful to avoid any visual
2727
gap between the end of Android's launch screen and the painting of
2828
Flutter's first frame. -->
29-
<meta-data
30-
android:name="io.flutter.embedding.android.SplashScreenDrawable"
31-
android:resource="@drawable/launch_background" />
29+
<!-- <meta-data-->
30+
<!-- android:name="io.flutter.embedding.android.SplashScreenDrawable"-->
31+
<!-- android:resource="@drawable/launch_background" />-->
3232
<intent-filter>
3333
<action android:name="android.intent.action.MAIN" />
3434
<category android:name="android.intent.category.LAUNCHER" />
33.9 KB
Loading

android/app/src/main/res/drawable-v21/launch_background.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

android/app/src/main/res/drawable/launch_background.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
1.81 KB
Loading

0 commit comments

Comments
 (0)