Имеется разметка:
<?xml version="1.0" encoding="utf-8"?>
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:shrinkColumns="*"
android:stretchColumns="*"
android:id="@+id/tableLayout"
android:background="#ff0000">
<TableRow
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="#00f">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/month_label_text_view"
android:layout_height="match_parent"
android:layout_width="wrap_content"/>
<Button
android:id="@+id/button_next_month"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="end"
android:background="@drawable/arrow_right_large"/>
</FrameLayout>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<TextView
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="#000"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<TextView
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="#fff"/>
</TableRow>
Выглядит это так:
Как сделать, не меняя фоновой картинки кнопки, чтобы все 3 ряда имели одинаковую высоту, занимая весь экран?