나는 사용자 정의 제목으로 TabActivity를 사용하고을받지 못했습니다.글고 초점 모노 안드로이드
TabControl.xml
활동이 시작됩니다
android:focusable="true"
android:focusableInTouchMode="true"
포함, 기본 탭은 Tab0이다. Tab0의 .XML에서
는 :android:focusable="true"
android:focusableInTouchMode="true"
동안 사용자 정의 제목 표시 줄에 대한 TitleBar.xml
에는 다음이 포함
<RelativeLayout
//not setting android:focusable here >
<EditText
android:id="@+id/edsearch"
android:focusable="true"
android:focusableInTouchMode="true"
android:nextFocusUp="@id/edsearch"
android:nextFocusLeft="@id/edsearch" >
하지만 모든 입력을 입력 할 때 문제입니다 EditText
이 TitleBar
인 경우 작동하지 않습니다. 이 문제의 원인은 EditText
에 포커스가없는 것일 수 있습니다.
그것을 수습하기 위해, 나는 제안 In this discussion
로 :nextFocusUp
및 :nextFocusUp
을 사용하지만 여전히 작동하지 않습니다.
나는 그것의 클릭에 발사됩니다 글고 치기에 대한 OnClick 이벤트를 사용했습니다. 내가 글고 치기로 모든 입력을 제공 할 수 아니에요으로
그러나 TextChanged 이벤트가 실행지고 있지 않습니다. 내가 모노 안드로이드에 새로 온 사람으로
는, 어떤 도움에 감사드립니다.