Android 两个文本视图重叠在一起

Android 两个文本视图重叠在一起,android,layout,Android,Layout,使用此应用程序并通过fragment\u main.xml展示我的数据 我目前正在尝试将我的display\u poly\u type定位在display\u today\u poly之后,这是您看到的百分比值。如您所知,我将它们按层叠顺序排列,按时间顺序依次显示display\u today\u pool,display\u pool\u type,以及display\u today\u date <TextView android:id="@+id/display_today_

使用此应用程序并通过
fragment\u main.xml
展示我的数据

我目前正在尝试将我的
display\u poly\u type
定位在
display\u today\u poly
之后,这是您看到的百分比值。如您所知,我将它们按层叠顺序排列,按时间顺序依次显示
display\u today\u pool
display\u pool\u type
,以及
display\u today\u date

<TextView
    android:id="@+id/display_today_pollen"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_centerVertical="true"
    android:textAppearance="?android:attr/textAppearanceLarge"
    android:textSize="80sp"/>

<TextView
    android:id="@+id/display_pollen_type"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:text="@string/enter_area_code"
    android:layout_below="@+id/display_today_pollen"
    android:layout_marginBottom="-20dp"
    android:textSize="15sp"/>

<TextView
    android:id="@+id/display_today_date"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_centerVertical="true"
    android:layout_alignBottom="@+id/display_pollen_type"/>

我试着用一个
marginBottom
填充
display\u pool\u type
,但我相信它与
android:layout\u centerVertical=“true”
冲突。删除该选项并没有解决问题


底部对齐仅意味着两个视图的底部将具有相同的y位置。如果希望其中一个位于另一个的左侧,也可以使用layouttoleftof。如果您希望其中一个位于另一个之下,请使用下面的布局,而不是对齐底部。

非常感谢!我错过了我的日期显示。