Gelöschter Account
- Forum-Beiträge: 7
28.07.2011, 18:30:55 via Website
28.07.2011 18:30:55 via Website
Hallo ;)
ich habe ein kleines problem bei der erstellung eines Layouts:
Und zwar ist eine kleine verschiebung beim Button vorhanden...kann jemand mal schnell über den layoutcode gucken?
Danke
ich habe ein kleines problem bei der erstellung eines Layouts:
Und zwar ist eine kleine verschiebung beim Button vorhanden...kann jemand mal schnell über den layoutcode gucken?
1<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4 android:orientation="vertical" android:layout_width="fill_parent"
5 android:layout_height="fill_parent">
6
7 <AutoCompleteTextView android:id="@+id/empfaenger"
8 android:layout_width="fill_parent" android:layout_height="wrap_content"
9 android:hint="To...." />
10
11 <LinearLayout android:orientation="horizontal"
12 android:layout_width="fill_parent" android:layout_height="wrap_content">
13
14 <EditText android:layout_width="fill_parent"
15 android:layout_height="100px" android:inputType="textMultiLine"
16 android:id="@+id/nachricht" android:text="" android:layout_weight="25" />
17
18 <Button android:layout_width="fill_parent"
19 android:layout_height="100px" android:id="@+id/senden" android:text="senden"
20 android:layout_weight="70" />
21
22
23 </LinearLayout>
24
25</LinearLayout>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4 android:orientation="vertical" android:layout_width="fill_parent"
5 android:layout_height="fill_parent">
6
7 <AutoCompleteTextView android:id="@+id/empfaenger"
8 android:layout_width="fill_parent" android:layout_height="wrap_content"
9 android:hint="To...." />
10
11 <LinearLayout android:orientation="horizontal"
12 android:layout_width="fill_parent" android:layout_height="wrap_content">
13
14 <EditText android:layout_width="fill_parent"
15 android:layout_height="100px" android:inputType="textMultiLine"
16 android:id="@+id/nachricht" android:text="" android:layout_weight="25" />
17
18 <Button android:layout_width="fill_parent"
19 android:layout_height="100px" android:id="@+id/senden" android:text="senden"
20 android:layout_weight="70" />
21
22
23 </LinearLayout>
24
25</LinearLayout>
Danke
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.