Browse Source

update logo

master
daivph 5 years ago
parent
commit
b8d8624052
12 changed files with 17 additions and 6 deletions
  1. BIN
      android/app/src/main/ic_launcher-web.png
  2. +5
    -0
      android/app/src/main/res/drawable/ic_logo_tpf.xml
  3. +3
    -3
      android/app/src/main/res/drawable/launch_background.xml
  4. BIN
      android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  5. BIN
      android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  6. BIN
      android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  7. BIN
      android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  8. BIN
      android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  9. BIN
      android/app/src/main/res/mipmap-xxxhdpi/splash_tpf.png
  10. BIN
      assets/png/splash.png
  11. +8
    -3
      lib/presentation/screens/splash/view/splash_page.dart
  12. +1
    -0
      lib/utils/const_assets.dart

BIN
android/app/src/main/ic_launcher-web.png View File

Before After
Width: 512  |  Height: 512  |  Size: 37KB Width: 512  |  Height: 512  |  Size: 28KB

+ 5
- 0
android/app/src/main/res/drawable/ic_logo_tpf.xml View File

@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1024dp"
android:height="1024dp"
android:viewportWidth="1024"
android:viewportHeight="1024" />

+ 3
- 3
android/app/src/main/res/drawable/launch_background.xml View File

@@ -4,9 +4,9 @@
<item android:drawable="@android:color/white" />

<!-- You can insert your own image assets here -->
<!-- <item>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
android:src="@mipmap/splash_tpf" />
</item>
</layer-list>

BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher.png View File

Before After
Width: 72  |  Height: 72  |  Size: 544B Width: 72  |  Height: 72  |  Size: 4.8KB

BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher.png View File

Before After
Width: 48  |  Height: 48  |  Size: 442B Width: 48  |  Height: 48  |  Size: 2.7KB

BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png View File

Before After
Width: 96  |  Height: 96  |  Size: 721B Width: 96  |  Height: 96  |  Size: 5.5KB

BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png View File

Before After
Width: 144  |  Height: 144  |  Size: 1.0KB Width: 144  |  Height: 144  |  Size: 7.9KB

BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png View File

Before After
Width: 192  |  Height: 192  |  Size: 1.4KB Width: 192  |  Height: 192  |  Size: 11KB

BIN
android/app/src/main/res/mipmap-xxxhdpi/splash_tpf.png View File

Before After
Width: 1080  |  Height: 1920  |  Size: 97KB

BIN
assets/png/splash.png View File

Before After
Width: 1080  |  Height: 1920  |  Size: 97KB

+ 8
- 3
lib/presentation/screens/splash/view/splash_page.dart View File

@@ -1,4 +1,6 @@
import 'package:farm_tpf/utils/const_assets.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class SplashPage extends StatelessWidget {
static Route route() {
@@ -7,8 +9,11 @@ class SplashPage extends StatelessWidget {

@override
Widget build(BuildContext context) {
return const Scaffold(
body: Center(child: CircularProgressIndicator()),
);
return Scaffold(
body: Image.asset(
AppAssets.icActionCropStatus,
width: Get.width,
height: Get.height,
));
}
}

+ 1
- 0
lib/utils/const_assets.dart View File

@@ -1,6 +1,7 @@
class AppAssets {
static const baseAssets = 'assets/png/';
static const logo = baseAssets + 'logo.png';
static const splash = baseAssets + 'splash.png';
static const logoWithSlogan = baseAssets + 'logoWithSlogan.png';
static const tempImage = baseAssets + 'tempImage.png';
static const icActionNursery = baseAssets + 'icActionNursery.png';

Loading…
Cancel
Save