奇妙な問題があります。マージンが正常に機能していません。実際にはすべてが機能しているわけではありません。マージンの下部またはマージンの上部を編集しても、変更は見られません。
著作権を一番下に固定し、ボタンにテキストビューからのスペースを確保したい。
私の質問: テキストビューの著作権を一番下に固定するにはどうすればよいですか? ボタンとテキストビューの間にスペースを作成するにはどうすればよいですか?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#ffffff"
android:padding="20dp"
>
<TextView
android:id="@+id/titel1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="ACT-test"
android:textSize="20sp"
android:textStyle="bold" >
</TextView>
<TextView
android:id="@+id/tekst1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="Text."
android:textSize="15sp"
>
</TextView>
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Doe de ACT-test"
android:background="@drawable/yellow"
style="@style/ButtonText"
android:layout_marginTop="50dp" >
</Button>
<Button
android:id="@+id/button2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Bekijk je ACT-scores"
android:background="@drawable/blue"
style="@style/ButtonText" >
</Button>
<TextView
android:id="@+id/copyright"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="Copyright 2002."
android:textSize="10sp"
android:paddingRight="20dp"
android:paddingLeft="20dp"
android:layout_marginBottom="10dp" >
</TextView>
</LinearLayout>