2 つの異なる列に 2 つの画像を含むグリッド レイアウトを使用していますが、画像が使用可能なスペースをすべて埋めていません。
両方の列を半分の幅にする必要があります (今のところ、一番左の列が他の列よりも大きいため)。どうやってやるの?
これは私がこれまでに持っているものですが、blackBowl がほとんどのスペースを占めています...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res/com.whitepebbles"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity2" >
<android.support.v7.widget.GridLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
app:columnCount="4" >
<TextView
android:id="@+id/whiteBowl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_column="0"
app:layout_gravity="center|top"
app:layout_row="5"
android:background="@drawable/wbowl00"
app:layout_columnSpan="2"/>
<TextView
android:id="@+id/blackBowl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_column="3"
app:layout_columnSpan="2"
app:layout_gravity="center"
app:layout_row="5"
android:background="@drawable/bbowl00" />
</android.support.v7.widget.GridLayout>