Dynamic Color in Android Studio With Kotlin | Android Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 6

  • @bhargavsharma2701
    @bhargavsharma2701 Год назад +2

    Nice information thanks 👍👍😊

  • @SinghAnshu-c6m
    @SinghAnshu-c6m Год назад +1

    Suppperrrr session🎉🎉

  • @okayabhi
    @okayabhi Год назад +1

    Very informative 👏

  • @juniormanhenge9254
    @juniormanhenge9254 Год назад

    Thank you, bro!😁😁
    Thanks for this!
    I don't know what to say!
    I just, ohhhh man, thanks CodingBlaze!😎

  • @YaMehdi
    @YaMehdi Год назад +3

    thx, Do you share my opinion? i think the best way is to use Dyanmic color is to set color with code (java or kotlin) instead of set it in XML (?attr/colorPrimary), the XML way will work only in Android 12 & above, but if you use the coding way you will able to set if (Build..VERSION..SDK_INT > Build..VERSION_CODES..S) {} !!!

    • @anantkumar5084
      @anantkumar5084 Год назад +1

      i haven't tried this but yeah it can work , in case of custom color that we also want to be dynamic it will not work btw its good