터치 할 때 초점이없는 배경이있는 버튼입니다. 당신이 그것을 터치하면 변경 내용을 볼 수 있도록안드로이드에서 버튼을 눌렀을 때 배경이있는 버튼에 초점이 맞지 않는 이유는 무엇입니까?
<Button
android:id="@+id/continueID"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:background="@drawable/buttonbg"
android:focusableInTouchMode="true"
android:focusable="true"
android:onClick="invokeLogin"
android:text="Login"
android:textColor="#F7F9FA" />
어쩌면에 초점이 맞춰 있지만, 배경이 초점을 맞춘 상태에 대한 다른 이미지가 없습니다. –
버튼을 누른 상태에서 버튼에 포커스가 있으면 액티비티 클래스를 체크 인하십시오. –
기본적으로 포커스 @Akeshwar – mejkan