react native - Dark android theme in RN? -


i'm new android , i'm trying android 'dark' theme work in android versions. theres lot of information , i'm not sure how interpret it:

  • holo isn't used anymore
  • android 6 doesn't support dark theme?
  • there material light/dark

how can dark theme (for alert , such), compatible versions of android api > 16?

you can use theme.appcompat dark theme , answer other question should use within style

    <item name="coloraccent">@color/accentcolor</item>     <item name="colorprimary">@color/primarycolor</item>     <item name="colorprimarydark">@color/darkprimarycolor</item> 

to change default accent, primary , darkprimary color


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -