Browse Source

Flutter added new files

master
Robby Zambito 5 months ago
parent
commit
7b38a7af21
2 changed files with 24 additions and 0 deletions
  1. +6
    -0
      android/app/src/main/kotlin/me/robbyzambito/hamlet/MainActivity.kt
  2. +18
    -0
      android/app/src/main/res/values-night/styles.xml

+ 6
- 0
android/app/src/main/kotlin/me/robbyzambito/hamlet/MainActivity.kt View File

@ -0,0 +1,6 @@
package me.robbyzambito.hamlet
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}

+ 18
- 0
android/app/src/main/res/values-night/styles.xml View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>

Loading…
Cancel
Save