hallo kann jemand bei Lösung der Aufgabe helfen?
Beiträge von Massade
-
-
Hallo Leute,
ich habe ein Aufgabe( ein App erstellen), leider weiße ich nicht wie soll ich das machen.
kann villeicht jemand helfen?
im anhang findet ihr die Augabestellung und ein Bild wie soll App ähnlich aussehen.Vielen Dank im Voraus
-
Super hat geklappt
ich danke dir sehr Michael. -
Hallo Leute,
ich möchte 2 Button nebeneinander(horizontal) unter den Text erstellen, weißt jemand wie?.
wenn ich in Orientation ( Horizontal) schreibe dann kommen alle übereinander.
XML
Alles anzeigen<?xml version="1.0" encoding="utf-8"?> <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="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" tools:context="com.example.massade.myfirstandroidprojekt.MainActivity" android:weightSum="1" android:orientation="vertical"> <TextView android:id="@+id/textView" android:layout_width="389dp" android:layout_height="wrap_content" android:layout_gravity="center" android:background="#00b8f5" android:gravity="center" android:hapticFeedbackEnabled="true" android:text="@string/text_con" android:textColor="#060606" android:textSize="35sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/Mybutton1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal|fill_horizontal" android:text="Click me!" android:textColor="#0029f5" /> <Button android:id="@+id/Mybutton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal|fill_horizontal" android:text="Click me!" android:textColor="#f50000" />
Im Anhang sehen Sie, wie soll das aussehen