mirror of
https://github.com/a-mayb3/KanbanCloneAndroid.git
synced 2026-03-21 10:05:39 +01:00
54 lines
2.5 KiB
XML
54 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="com.campusaula.edbole.kanban_clone_android.ui.MainActivity">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Logged in as: "
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
android:id="@+id/loggedInAs"
|
|
android:textAlignment="textStart"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintVertical_bias="0.0"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginStart="16dp" />
|
|
|
|
<Button
|
|
android:text="Not you? Log out here..."
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="33dp"
|
|
android:id="@+id/logoutButton"
|
|
app:layout_constraintTop_toBottomOf="@+id/loggedInAs"
|
|
app:layout_constraintStart_toStartOf="@+id/loggedInAs"
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
android:textSize="8sp" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:layout_editor_absoluteX="0dp"
|
|
app:layout_constraintTop_toBottomOf="@+id/logoutButton"
|
|
android:layout_marginTop="8dp"
|
|
android:id="@+id/projectsRecyclerView" />
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
app:srcCompat="@android:drawable/ic_input_add"
|
|
android:id="@+id/addProjectActionButton"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|