以下のコードをアンドロイドスタジオで実行しても、私には望ましい結果が得られません。どうすればよいですか?私は、3つのTextViewsがデバイスの画面に垂直に均等に配置されることを望みます。線形レイアウトの等間隔の垂直スペーシングが機能しない
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:text="Debanshu"
android:textSize="24sp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:text="Chakraborty"
android:textSize="24sp"
android:layout_weight="1" />
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:text="Voltas"
android:textSize="24sp"
android:layout_weight="1"/>
</LinearLayout>
。ありがとうございます。今働いている。ちょうど学び始めました。 – user185995
スクリーンショットを使用すると、何が間違っているのが簡単になります。 –