2013-07-15 4 views
4

Android 기기 용 앱을 코딩 중이며 Nexus 4 휴대 전화에서 실행할 때 문제가 있습니다. Galaxy S3/Note 2와 일부 다른 장치에서도 잘 작동합니다.Nexus 4에 버그 표시

넥서스 4 매개 변수를 사용하여 AVD를 만들지 만 작동합니다.

문제는 내 주요 활동을 표시하는 문제입니다. 그것은 모자이크 그림과 같습니다.

logcat에는 아무 것도 없으며이를 수정하는 방법을 모르겠습니다.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:tools="http://schemas.android.com/tools" 
android:orientation="horizontal" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
tools:context=".MainActivity" > 

<LinearLayout 
    android:layout_width="fill_parent" 
    android:layout_height="match_parent" 
    android:orientation="vertical" > 


    <LinearLayout 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" > 

     <TextView 
      android:id="@+id/textView1" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="@string/Titre_fav" 
      android:textAppearance="?android:attr/textAppearanceLarge" /> 

     <ImageView 
      android:id="@+id/imageView1" 
      android:contentDescription="@string/image_desc_star_logo" 
      android:layout_width="25dp" 
      android:layout_height="25dp" 
      android:src="@drawable/ic_fav" /> 

    </LinearLayout> 
    <ScrollView 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"> 
     <LinearLayout 
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content" 
      android:id="@+id/fav_scroll"> 
     </LinearLayout> 
    </ScrollView> 

</LinearLayout> 
<RelativeLayout 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_alignParentBottom="true" 
     android:layout_marginBottom="50dp" > 
     <TextView 
      android:id="@+id/console" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="" /> 
</RelativeLayout> 
<RelativeLayout 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_alignParentBottom="true" > 
     <Button 
      android:id="@+id/nav_to_foud" 
      style="?android:attr/buttonStyleSmall" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_alignParentRight="true" 
      android:text="@string/nav_to_found_text" /> 

     <Button 
      android:id="@+id/nav_to_settings" 
      style="?android:attr/buttonStyleSmall" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="@string/nav_to_settings_text" /> 
    </RelativeLayout> 
</RelativeLayout> 

어떻게 수정할 수 있습니까?

10 개의 평판이 없기 때문에 스크린 샷을 게시 할 수 없습니다.


편집 : 나는 포스트 screnshot을 알 수 있습니다 감사합니다 :)

그것은처럼 보일 수 있습니다 무엇 :이 봐 무엇 correct screen

: 나는 해결책을 발견 enter image description here

+0

여기에 +1 .. 사진 게시 : ... .. 그리고 StackOverflow에 오신 것을 환영합니다. – Madushan

+0

사진 게시. +1! –

+0

그림 게시 됨 : – Tsuna77

답변

0

내 문제, 그것이 당신을 위해 작동하는지 모르겠습니다. 그러나 XML 파일에 배경을 추가하십시오. 좋아요 : 최상위 레이아웃의 android:background="#000000"