search

Home  >  Q&A  >  body text

android - xml的drawable作背景,是否会产生错误

如图,我使用了<ripple>标签,那么如果我API level21以下手机上使用这个xml,是会报错,还是会没有效果?

伊谢尔伦伊谢尔伦2771 days ago769

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:21:33

    First of all, you have to understand that if you want to use ripple notes, you must adjust the minSdkVersion to 21, which means that your application can no longer be installed on phones below 21, so there will not be the problem you mentioned. Mobile phones under the age of 21 cannot install and run your application, so there will be no question of "whether it has any effect."

    reply
    0
  • Cancelreply