"<Keyboard>" does not set the required layout_height attribute:
(1) Set to "wrap_content"
(2) Set to "fill_parent"
"<Row>" does not set the required layout_width attribute:
(1) Set to "wrap_content"
(2) Set to "fill_parent"
"<Row>" does not set the required layout_height attribute:
(1) Set to "wrap_content"
(2) Set to "fill_parent"
"<Key>" does not set the required layout_width attribute:
(1) Set to "wrap_content"
(2) Set to "fill_parent"
"<Key>" does not set the required layout_height attribute:
(1) Set to "wrap_content"
(2) Set to "fill_parent"
com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup
You must supply a layout_height attribute.
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)
- com.example.android.softkeyboard.LatinKeyboardView (Fix Build Path, Edit XML, Create Class)
0
A
답변
3
그것은 당신의 XML 키보드 레이아웃 파일이 구성 요소 중 일부에 대한 android:layout_width
및/또는 android:layout_height
이 누락되어 있음을 의미한다. 당신이 res/layout
폴더에 키보드 레이아웃 파일을 가하고 있습니다처럼
두 번째 눈에 편집
, 그것은 보인다. 그것은 res/xml
폴더에 속합니다.
+0
그것은 내 코드가 틀릴 것임에 틀림 없다라고하는 일을 doesnt한다. ... 나는 무엇을해야하는지에 관해 모른다. – evc
+0
@evc - 갱신 된 대답을 보라 –
0
프로젝트에서 XML 파일은
는 "필요한 layout_height 속성을 설정하지 마십시오"요소가 있습니다. 각 요소에 대한
는, 예를 들어, 설정 :<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
**android:layout_height="fill_parent"**
android:background="@android:color/transparent">
관련 문제
- 1. 0x0F는 무엇을 의미합니까? 그리고이 코드는 무엇을 의미합니까?
- 2. 이 코드는 무엇을 의미합니까?
- 3. 아래의 코드는 무엇을 의미합니까?
- 4. 이 코드는 무엇을 의미합니까?
- 5. 아래 코드는 무엇을 의미합니까?
- 6. 이 코드는 무엇을 의미합니까?
- 7. .htaccess 코드는 무엇을 의미합니까?
- 8. 이 코드는 무엇을 의미합니까?
- 9. RijndaelManaged에서이 코드는 무엇을 의미합니까?
- 10. 이 jQuery 코드는 무엇을 의미합니까?
- 11. 이 C++ 코드는 무엇을 의미합니까?
- 12. 이 코드는 무엇을 의미합니까? $ .getJSON
- 13. 이 배열 코드는 무엇을 의미합니까?
- 14. PHP -이 코드는 무엇을 의미합니까?
- 15. 이 PHP 코드는 무엇을 의미합니까?
- 16. EIO 오류 코드는 무엇을 의미합니까?
- 17. MediaPlayer 오류 코드는 무엇을 의미합니까?
- 18. 이 렌더링 코드는 무엇을 의미합니까?
- 19. 이 Mac-1 코드는 무엇을 의미합니까?
- 20. 이 쉘 스크립트 코드는 무엇을 의미합니까?
- 21. 이 코드는 objective-c에서 무엇을 의미합니까?
- 22. 관리되는 코드와 관리되지 않는 코드는 무엇을 의미합니까?
- 23. 펄 인터프리터의 상태 코드는 무엇을 의미합니까?
- 24. 대괄호와 캐럿이있는이 jQuery 코드는 무엇을 의미합니까?
- 25. 이 expressionengine 템플릿 코드는 무엇을 의미합니까?
- 26. "벡터"의이 코드는 무엇을 의미합니까? (C++)
- 27. SVN의 E 상태 코드는 무엇을 의미합니까?
- 28. .plist 파일의 XML 코드는 무엇을 의미합니까?
- 29. 이 자바 스크립트 코드는 무엇을 의미합니까?
- 30. 이 2 줄의 코드는 무엇을 의미합니까 (튜토리얼에서 *)?
시작 부분에을 자르다. –
evc