Hallo Pascal,
so sieht es im Moment aus:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:context="com.example.markus.blood.SelectionActivity">
<TextView
android:id="@+id/textView3"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="" />
<TextView
android:id="@+id/textView4"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/tvColumn1"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="@string/column1"
android:textColor="@color/colorFood"
android:textSize="20sp" />
<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="28dp"
android:layout_weight="311.41"
android:paddingLeft="30dp"
android:src="@color/colorPrimary"
app:srcCompat="@mipmap/ic_setting" />
</LinearLayout>
<ListView
android:id="@+id/listView_food"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="1dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp"
android:background="#ffffff"
android:divider="@color/colorPrimary"
android:dividerHeight="2dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
</LinearLayout>
</LinearLayout>
Gruß
Markus
P.S. Die Links hab ich wegen:
"Um Spam in unserem Forum zu vermeiden, können neue Mitglieder vorerst keine Links auf externe Webseiten veröffentlichen."
rausgenommen.
Empfohlener redaktioneller Inhalt
Mit Deiner Zustimmung wird hier ein externer Inhalt geladen.
Mit Klick auf den oben stehenden Button erklärst Du Dich damit einverstanden, dass Dir externe Inhalte angezeigt werden dürfen. Dabei können personenbezogene Daten an Drittanbieter übermittelt werden. Mehr Infos dazu findest Du in unserer Datenschutzerklärung.