0
我在版式中有图像视图,而android:background
在Android 2.3.6及更低版本中无法正常工作。
它可以在更新的版本中完美运行。android:background =“#000000”在Android 2.3.6及以下版本无法正常工作
下面是代码:
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.5"
android:background="#000000" />
这也是内2点布局,但我不认为这将有助于解决这个问题,因为每一个孩子表现出完全一样,但是这个图像视图。如果你愿意,我会发布代码。
任何想法?
在此先感谢
检查此[链接](http://stackoverflow.com/questions/7378636/setting-background-colour-of-android-layout-element)和尝试.. – Lal
你试过“ #ff000000“确保完整的alpha? –
@Lal谢谢,我来看看。 –