Skip to content

Instantly share code, notes, and snippets.

@behrends
Created January 17, 2022 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save behrends/3ffe9dd92d2ce2e3c66b10ce3355ae6a to your computer and use it in GitHub Desktop.
Save behrends/3ffe9dd92d2ce2e3c66b10ce3355ae6a to your computer and use it in GitHub Desktop.
TIF19 - activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity">
<EditText
android:id="@+id/editNoteTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textAutoCorrect"
android:text="Titel der Notiz" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Speichern" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment