我是Android新手 -Android滚动视图太长
我在屏幕上放置了滚动视图,只是在其中放置了一些文本。我这样做是因为在某些电话上,文字从屏幕上跑出来。
我遇到的问题是,我已经掉到页面上的滚动视图比它保存的内容更长 - 手机屏幕越窄,滚动视图越长。
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:fillViewport="true" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/app_background"
android:orientation="vertical"
android:padding="10dp" >
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="20"
android:inputType="textMultiLine"
android:lineSpacingExtra="3dp"
android:text="Get ready to melt fat and burn calories with Fit Body Boot Camp's 14 Day Fat Furnace Workout Program! This is a detailed 14 Day Workout plan based on Fit Body Boot Camp's Unstoppable Fitness Formula that has been implemented in close to 300 boot camps worldwide by hundreds of thousands of clients who made the decision to lose weight and get healthier."
android:textColor="#FFF"
android:textColorLink="#FFF"
android:textSize="20sp" >
</EditText>
这个之后还有一些edittext,但这是它的要点。如果你看到一些愚蠢的东西,让我知道。
你可以给它的外观在您的手机或模拟器截图? –