我有一个“TextView”的问题,我不知道如何解决。我在“LinearLayout”中有三个“TextView”,并且文本将保持与断线相同的大小。目前,文本是在同一行上,但大小不同。该怎么办?下面的图像和代码:Android:如何并排修复TextView?
<LinearLayout
android:id="@+id/complementaryInfoLayout"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_width="match_parent"
android:orientation="horizontal"
android:background="@color/purewhite">
<TextView
android:id="@+id/textCategory"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18sp"
android:textColor="#545454"
android:layout_marginStart="15dp"
android:text="@string/placeholder" />
<TextView
android:id="@+id/textCity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18sp"
android:textColor="#545454"
android:text="@string/placeholder" />
<TextView
android:id="@+id/textNeighborhood"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18sp"
android:textColor="#545454"
android:text="@string/placeholder" />
</LinearLayout>