가능한 중복 :
creating custom android keyboard layout안드로이드 사용자 정의 키보드 XML 파일
내가 내 자신의 IME 개발을 시작,하지만 난 XML 파일에 붙어있어. Eclipse는 Keyboard 나 Row 나 Key 클래스를 찾지 못하는 것 같습니다. 누구든지이 문제를 해결하는 방법이나 Java로 ime 레이아웃을 코딩하는 방법을 알려 줄 수 있습니까? 이 설명에 정보가 부족한 경우 알려 주시면 무료로 알려드립니다. NOTE: This project contains Java compilation errors, which can cause rendering failures for custom views. Fix compilation problems first.
"" does not set the required layout_width attribute: (1) Set to "wrap_content" (2) Set to "match_parent" "" does not set the required layout_height attribute: (1) Set to "wrap_content"
내가 설정 한 경우 layout_widht 그것을 보여줍니다 속성 : 어쨌든, 처음에는 모두 감사합니다 는이 보여
NOTE: This project contains Java compilation errors, which can cause rendering failures for custom views. Fix compilation problems first.
com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup Exception details are logged in Window > Show View > Error Log The following classes could not be found: - Keyboard (Fix Build Path, Edit XML) - Row (Fix Build Path, Edit XML)
오류 메시지가 표시됩니까? 그들을 게시하십시오. – ajtrichards
내 의견에 \ n을 어떻게 추가합니까? – user1708101