![Desired Layout Output](https://i.stack.imgur.com/1Xzz7.jpg)
![MY current Output as I am using RecyclerView with Cardview](https://i.stack.imgur.com/mn99U.png)
Я создаю макет, как показано на первом изображении.
Я использую RecyclerView с Cardview, чтобы завершить этот экран, но, как вы можете видеть на выходе эмулятора, я не получаю желаемый макет (показанный на первом изображении), так как он выглядит сумасшедшим, поскольку все элементы должны быть выровнены соответственно, как HTML-таблица в WEB и должен работать одинаково на всех устройствах.
Вот мой XML-файл ресурса макета
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textViewStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="TextView" />
<TextView
android:id="@+id/textViewHomeTeam"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="false"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/textViewStatus"
android:text="TextView" />
<ImageView
android:id="@+id/imageViewHomeTeamLogo"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_centerInParent="false"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/textViewHomeTeam"
android:padding="4dp" />
<TextView
android:id="@+id/textViewScore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="false"
android:layout_toRightOf="@+id/imageViewHomeTeamLogo"
android:text="TextView" />
<TextView
android:id="@+id/textViewMatchStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textViewStatus"
android:layout_centerInParent="false"
android:layout_toEndOf="@+id/imageViewHomeTeamLogo"
android:text="TextView" />
<ImageView
android:id="@+id/imageViewAwayTeamLogo"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_centerInParent="false"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/textViewScore"
android:padding="4dp" />
<TextView
android:id="@+id/textViewAwayTeam"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="false"
android:layout_centerHorizontal="false"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/imageViewAwayTeamLogo"
android:text="TextView" />
</RelativeLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
Пожалуйста, поправьте меня, чего не хватает.