Currentstyles.xml
Код: Выделить всё
@drawable/launch_background
?android:colorBackground
#804EFD
@style/NormalTheme
@drawable/ic_splash_layer
Код: Выделить всё
Код: Выделить всё
Код: Выделить всё
class MainActivity : FlutterFragmentActivity() {
private var methodChannelResult: MethodChannel.Result? = null
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
MethodChannel(
flutterEngine.dartExecutor.binaryMessenger,
CHANNEL
).setMethodCallHandler { call, result ->
this.methodChannelResult = result
}
}
}
Скриншот:

Что я пробовал?
- Включая следующее в файлы Styles.xml и Values-night/styles.xml :
Код: Выделить всё
false
true
true
- Добавление следующего кода в MainActivity.kt:
Код: Выделить всё
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
this.window.requestFeature(Window.FEATURE_NO_TITLE)
}
Хотелось бы знать:
- Почему это происходит
- Какие изменения мне нужно внести, чтобы удалить панель инструментов
Подробнее здесь: https://stackoverflow.com/questions/789 ... -to-3-24-1
Мобильная версия