Hallo zusammen,
ich versuche einen Einstieg in Xamarin zu finden, und arbeite gerade dieses Tutorial hier durch
docs.microsoft.com/de-de/xamar…quickstart?pivots=windows
Anders als im Tutorial beschrieben, bekomme ich es nicht hin, die Elemente untereinander zu platzieren, alle Elemente setzen sich nebeneinander.
Derzeit sieht mein Code in activity_main.xml so aus
Wer kann mir einen Tipp geben, was ich hier übersehen habe?
Danke!
*Titel bearbeitet da völlig irreführend* ~NoFear23m
ich versuche einen Einstieg in Xamarin zu finden, und arbeite gerade dieses Tutorial hier durch
docs.microsoft.com/de-de/xamar…quickstart?pivots=windows
Anders als im Tutorial beschrieben, bekomme ich es nicht hin, die Elemente untereinander zu platzieren, alle Elemente setzen sich nebeneinander.
Derzeit sieht mein Code in activity_main.xml so aus
C#-Quellcode
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:text="Enter a Phoneword"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:minWidth="25px"
- android:minHeight="25px"
- android:id="@+id/textView1" />
- <Button
- android:text="Button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/PhoneNumberText"
- android:layout_toLeftOf="@id/textView1"
- android:id="@+id/button1" />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/textView1"
- android:id="@+id/PhoneNumberText"
- android:text="1-855-Xamarin" />
- </LinearLayout>
Wer kann mir einen Tipp geben, was ich hier übersehen habe?
Danke!
*Titel bearbeitet da völlig irreführend* ~NoFear23m
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Nofear23m“ ()