dependencies

// ...

implementation

'com.google.android.material:material:<version>'

// ...

To find out the latest version, visit Google Maven.

Set the light theme in <my-app>/android/app/src/main/res/values/styles.xml:

Set the dark theme in <my-app>/android/app/src/main/res/values-night/styles.xml

<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">

+<style name="NormalTheme" parent="Theme.MaterialComponents.Light.NoActionBar">

Set the dark theme in <my-app>/android/app/src/main/res/values-night/styles.xml

Signing the app

<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">