私のAndroidデザインに問題があるようです。ここで問題がある:Textviewレスポンスマージン/パディング
あなたが見ることができるように、「のhttp:// LABEL 2をここには、」ラベル1文字の上に右である:「これはラベル1のためだけのテストです。.. ..... "どのように長くても短くても、" http:// LABEL 2 GOES HERE "が常に" label 1 "30dp以下になるようにするにはどうしたらいいですか?ここで
は私のXMLファイルであるように、私はそれを作ることができますどのように
:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:tools="http://schemas.android.com/tools"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout 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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:minHeight="1000dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="About:"
android:id="@+id/about"
android:textSize="16dp"
android:layout_marginTop="30dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/label1"
android:textSize="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Website:"
android:id="@+id/website"
android:textSize="16dp"
android:layout_marginTop="30dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/label2"
android:textSize="16dp"
android:autoLink="web"/>
</RelativeLayout>
</ScrollView>
あなたはすでにこのためのXMLを含めることができます。 – buczek
@buczek XMLコードでOPを編集しました。 – johnny880