2012-12-03 2 views
0

레이아웃의 일식 배경이 변경되고 새보기 (버튼)가 추가되었습니다.안드로이드 응용 프로그램의 레이아웃을 변경하지 마십시오

내 응용 프로그램을 시작했지만 에뮬레이터에서 변경된 내용이 없습니다.

무엇을 할 수 있습니까? Mayby 이클립스 버그예요?

+0

Eclipse 버그? 관련 코드 스 니펫 – Blackbelt

+0

이클립스 Eclipse가 가끔 "Inparseed aapt error (s)!"라는 메시지를 표시합니다. 콘솔에서 출력물을 확인하십시오 by.idev.android.ownsqlitedb.activity.IdevOwnSqliteDbActivity line 1 Android ADT Problem "이 오류를 삭제합니다. 응용 프로그램을 다시 실행하십시오 –

+0

"분석되지 않은 aapt 오류! 콘솔에서 출력을 확인하십시오."콘솔 내용은 무엇입니까? – Blackbelt

답변

0

이 프로젝트를 인터넷에서 다운로드했습니다. 처음에는 검은 배경이었다. 새보기를 추가했습니다. 모두 괜찮 았습니다. 하지만 변경된 배경을 시작한 후 -이 버그

XML 등장 : 앱을 다시 테스트 할 때마다

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:background="@android:color/white" 
    android:orientation="vertical" > 

    <Button 
     android:id="@+id/button1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:text="Button" /> 

    <EditText 
     android:id="@+id/txtInd" 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:ems="10" > 

     <requestFocus /> 
    </EditText> 

<ListView 
    android:id="@android:id/list" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"> 
    </ListView> 

</LinearLayout> 
0

, 에뮬레이터에서 앱의 아이콘을 클릭하지 마십시오. 그러나 프로젝트를 선택하고 enter image description here

클릭하십시오. 작동하지 않는 경우. 프로젝트를 다음에서 청소 해보십시오. Project >>>Clean

관련 문제