Android 库存按钮仅在蜂窝上显示为透明而非实心
我在活动中使用标准按钮。 在装有Honeycomg的平板电脑上,按钮是透明的(当它们被禁用时,它们看起来是透明的),但它们是启用的,也可以单击。因此,它们仍然很有趣,但很透明。只有一个我使用的切换按钮显示正确。 我怎样才能摆脱透明度? 坦率的 主要XML(部分):Android 库存按钮仅在蜂窝上显示为透明而非实心,android,button,transparency,android-3.0-honeycomb,Android,Button,Transparency,Android 3.0 Honeycomb,我在活动中使用标准按钮。 在装有Honeycomg的平板电脑上,按钮是透明的(当它们被禁用时,它们看起来是透明的),但它们是启用的,也可以单击。因此,它们仍然很有趣,但很透明。只有一个我使用的切换按钮显示正确。 我怎样才能摆脱透明度? 坦率的 主要XML(部分): Backrepeat7.xml: <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="f
Backrepeat7.xml:
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/backrepeat7">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:paddingLeft="10dip"
android:visibility="visible" >
<Button
android:id="@+id/bt_fahrt_erfassen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:enabled="true"
android:text="@string/bt_fahrt_erfassen"
android:visibility="visible" >
</Button>