diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-13 16:09:14 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-13 16:09:14 +0100 |
commit | bce1be54a1661c8512fa5fe24ba0ec35c4a9ff96 (patch) | |
tree | 0b80782316391075b61f2084469475ff10295ead /app/src/main/res/layout/weather.xml | |
parent | 31430df5989d2b3014633912be5d27485d3e3a25 (diff) |
minimal effort app
Diffstat (limited to 'app/src/main/res/layout/weather.xml')
-rw-r--r-- | app/src/main/res/layout/weather.xml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/app/src/main/res/layout/weather.xml b/app/src/main/res/layout/weather.xml new file mode 100644 index 0000000..99d36df --- /dev/null +++ b/app/src/main/res/layout/weather.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout 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"> + + <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appBarLayout2" + style="@style/Widget.MaterialComponents.AppBarLayout.Primary" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:fitsSystemWindows="true" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <com.google.android.material.appbar.MaterialToolbar + android:id="@+id/topAppBar" + style="@style/Widget.MaterialComponents.Toolbar.Primary" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@android:color/transparent" + android:elevation="0dp" + android:keyboardNavigationCluster="true" + app:navigationIcon="@drawable/arrow_left" + app:title="weertje" /> + + </com.google.android.material.appbar.AppBarLayout> + + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="0dp" + android:layout_height="0dp" + android:layout_marginStart="32dp" + android:layout_marginTop="32dp" + android:layout_marginEnd="32dp" + android:layout_marginBottom="32dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="1.0" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/appBarLayout2" + app:layout_constraintVertical_bias="1.0"> + + <Button + android:id="@+id/button" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:text="pak dat zonnetje" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <ListView + android:layout_width="0dp" + android:layout_height="0dp" + android:layout_marginTop="32dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/button" /> + </androidx.constraintlayout.widget.ConstraintLayout> +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |