mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Set images in relativelayout instead of gridlayout
This commit is contained in:
parent
020ec52489
commit
99d7a3624f
1 changed files with 12 additions and 11 deletions
|
|
@ -9,41 +9,42 @@
|
|||
android:weightSum="1"
|
||||
android:layout_centerHorizontal="true">
|
||||
|
||||
<GridLayout
|
||||
android:layout_gravity="center"
|
||||
<RelativeLayout
|
||||
android:gravity="center"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="240dp"
|
||||
android:layout_weight="0.09">
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="176dp"
|
||||
android:layout_height="118dp"
|
||||
app:srcCompat="@drawable/mount_zao"
|
||||
android:id="@+id/mount_zao"
|
||||
android:layout_row="4"
|
||||
android:layout_column="0" />
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
app:srcCompat="@drawable/llamas"
|
||||
android:id="@+id/llamas"
|
||||
android:layout_width="176dp"
|
||||
android:layout_height="118dp" />
|
||||
android:layout_height="118dp"
|
||||
android:layout_toRightOf="@+id/mount_zao"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="176dp"
|
||||
app:srcCompat="@drawable/rainbow_bridge"
|
||||
android:id="@+id/rainbow_bridge"
|
||||
android:layout_row="0"
|
||||
android:layout_column="0"
|
||||
android:layout_height="118dp" />
|
||||
android:layout_height="118dp"
|
||||
android:layout_below="@+id/mount_zao"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="176dp"
|
||||
app:srcCompat="@drawable/tulip"
|
||||
android:id="@+id/tulip"
|
||||
android:layout_height="118dp" />
|
||||
android:layout_height="118dp"
|
||||
android:layout_toRightOf="@+id/rainbow_bridge"
|
||||
android:layout_below="@+id/llamas"/>
|
||||
|
||||
</GridLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="295dp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue