【问题标题】:How to have a color show through a transparent image on Android?如何在Android上通过透明图像进行彩色显示?
【发布时间】:2023-03-23 09:14:01
【问题描述】:

在 Android 视图中通过 gif/png 的透明部分显示背景颜色的最简单方法是什么?

【问题讨论】:

    标签: android view transparent alpha


    【解决方案1】:

    您可以在布局中简单地设置android:background="_colorspec_"

    【讨论】:

      猜你喜欢
      • 2014-10-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-05
      • 2021-01-09
      • 2015-01-14
      • 1970-01-01
      相关资源
      最近更新 更多