안녕하세요 stackoverflowers!Android Button Alpha가 2.2 이상으로 이상하게 보입니다.
이 내 버튼입니다 : 내가
button_newgame.getBackground().setAlpha(150);
는 2.2에 이상한 찾고 시작으로 150 알파의 설정
<Button
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="0.30"
android:text="@string/menu_button_newgame"
android:id="@+id/button_newgame"
/>
! 2.3.3에서는 버튼이 정상적으로 보입니다.
안드로이드 2.3.3 (일반)
안드로이드 2.2 (버그)
무엇을 할까? :)
디더링을 활성화 해 보셨습니까? 'button_newgame.getBackground(). setDither (true)' –
디더링이 작동하지 않습니다. – tialawllol