0
초보자 Android 개발자. Eclipse를 사용하여 앱을 작성하고 디자인하고 있습니다.Android - 디자이너 및 에뮬레이터에서 텍스트가 바뀌지 만 기기에는 포함되지 않습니다.
갑자기 TextViews가 실제 Android 기기에서 텍스트 배치를 중단했습니다. 경고 대화 상자가 더 이상 랩핑되지 않습니다. 배치는 디자이너와 에뮬레이터에서 올바르게 작동합니다.
마지막으로 테스트했을 때 장치에 올바르게 포장되었습니다. 그렇게 한 후, 몇 가지 버튼 만 추가하여 새로운 활동을 추가했습니다. 나는 아래에있는 메인 메뉴 활동에 아무것도 변경 믿지 않습니다. 내가 사용
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/textViewRedeem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".ActivityMainMenu" >
<Button
android:id="@+id/buttonQuickStart"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:onClick="handleQuickStart"
android:text="@string/buttonQuickStart" />
<Button
android:id="@+id/buttonLoad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textViewLoad"
android:layout_alignRight="@+id/buttonQuickStart"
android:layout_below="@+id/textViewNew"
android:layout_marginTop="18dp"
android:onClick="handleLoad"
android:text="@string/buttonLoad" />
<Button
android:id="@+id/buttonRedeemCode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textViewLoad"
android:layout_below="@+id/textViewLoad"
android:layout_marginTop="14dp"
android:onClick="handleRedeem"
android:text="@string/buttonRedeemCode" />
<Button
android:id="@+id/buttonNew"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textViewQuickStart"
android:layout_alignRight="@+id/buttonQuickStart"
android:layout_below="@+id/textViewQuickStart"
android:layout_marginTop="18dp"
android:onClick="handleNew"
android:text="@string/buttonNew" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/buttonRedeemCode"
android:layout_below="@+id/buttonRedeemCode"
android:text="@string/defineRedeem"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="false"/>
<TextView
android:id="@+id/textViewQuickStart"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/buttonQuickStart"
android:layout_below="@+id/buttonQuickStart"
android:text="@string/defineQuickStart"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="false"/>
<TextView android:id="@+id/textViewNew"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/buttonNew"
android:layout_below="@+id/buttonNew"
android:text="@string/defineNew"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="false"/>
<TextView
android:id="@+id/textViewLoad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textViewNew"
android:layout_below="@+id/buttonLoad"
android:text="@string/defineLoad"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="false" />
AVD는 안드로이드 4.3과 3.2 "HVGA 슬라이더입니다 실제 장치 I 이 응용 프로그램을 테스트하는 것은 Android 2.3.6 및 3.65 "화면이있는 Samsung S7500L입니다.