2014-05-14 1 views
0

안녕하세요. 저는 현재 내 앱에서 꺼내야 할 레이아웃이 있습니다. 지금 당장 발생하는 문제는 제거하면 모든 것이 실패하지만, 이유는 확실하지 않습니다. 해독하려고했지만 혼란 스러웠습니다.레이아웃을 삭제 한 Android XML 레이아웃이 모든 것을 엉망으로 만듭니다.

<LinearLayout 
     android:id="@+id/checkInBox" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_centerHorizontal="true" 
     android:layout_centerVertical="true" 
     android:background="@color/White" 
     android:gravity="center" 
     android:orientation="vertical" 
     android:paddingBottom="15dp" 
     android:paddingLeft="30dp" 
     android:paddingRight="30dp" 
     android:paddingTop="18dp" > 

     <TextView 
      android:id="@+id/textView1" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="@string/num" 
      android:textAppearance="?android:attr/textAppearanceLarge" 
      android:textSize="30sp" 
      android:textStyle="bold" /> 

     <TextView 
      android:id="@+id/textView4" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:gravity="center" 
      android:text="@string/qooway_m" 
      android:textAppearance="?android:attr/textAppearanceMedium" 
      android:textStyle="bold" /> 

     <Button 
      android:id="@+id/checkInButton" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_marginTop="10dp" 
      android:background="@drawable/login_button" 
      android:text="@string/check" 
      android:textAppearance="?android:attr/textAppearanceLarge" 
      android:textColor="@color/White" /> 

    </LinearLayout> 
+3

충돌을 일으키는 원인을 알려주는 로그를 보지 않고도 말할 수 없습니다. 그러나 어딘가에서 앱이 레이아웃을 직접 사용하려고한다고 말할 수 있습니다. – zgc7009

답변

0

을 파악, ID가 다른 사용 된 곳

감사합니다 ~!

관련 문제