B
Blackscreen
Neues Mitglied
- 0
Hey Leute!
Ich mache in der Schule eine App und habe ziemliche Layout-probleme, da ich
nicht wirklich damit klar komme ich kann es zwar definieren usw. aber mein
Layout schaut nicht wirklich ansprechend aus,
deswegen meine Frage habt ihr Tipps wie ich mein Layout verbessern kann?
Danke im Vorhinein!
Code:
Screenshot:
Ich mache in der Schule eine App und habe ziemliche Layout-probleme, da ich
nicht wirklich damit klar komme ich kann es zwar definieren usw. aber mein
Layout schaut nicht wirklich ansprechend aus,
deswegen meine Frage habt ihr Tipps wie ich mein Layout verbessern kann?
Danke im Vorhinein!
Code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/GridLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnCount="3"
android:orientation="horizontal"
android:rowCount="3" >
<ImageView
android:id="@+id/imageView1"
android:layout_gravity="left|top"
android:adjustViewBounds="true"
android:contentDescription="TanoBild"
android:maxHeight="100dp"
android:maxWidth="100dp"
android:scaleType="fitCenter"
android:src="@drawable/bemifo_fuer_web" />
<TableLayout android:layout_gravity="fill_horizontal" >
<TableRow
android:id="@+id/tableRow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</TableRow>
<TableRow
android:id="@+id/tableRow2"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</TableRow>
<TableRow
android:id="@+id/tableRow3"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</TableRow>
<TableRow
android:id="@+id/tableRow4"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</TableRow>
</TableLayout>
</GridLayout>
Screenshot:
