는,이 코드는 잘 지금까지findViewById가 InputMethodService에서 작동하지 않습니다. 어떻게해야합니까? 나는 안드로이드 키보드를 만들려고 해요
package keyboard.rob.com;
import...
public class xyz extends InputMethodService
implements KeyboardView.OnKeyboardActionListener {
private LinearLayout mInputView;
@Override public View onCreateInputView() {
mInputView = (LinearLayout) getLayoutInflater().inflate(R.layout.main, null);
return mInputView;
}
...
하지만 나중에 내가
LinearLayout LinLayBg = (LinearLayout)findViewById(R.id.LL_total);
단추로 채울 수 있도록하기 위해 노력하고있어 경우에 작동, 그것은 쇼
는
어떤 아이디어 "*있어서 findViewById를 (INT)는 입력 zyz *에 대한 정의는"? 감사!
덕분에, 일! :) – Roger
듣고 다행 :) – Houcine