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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -