diff --git a/app/src/main/java/com/futo/circles/ui/sign_up/SignUpFragment.kt b/app/src/main/java/com/futo/circles/ui/sign_up/SignUpFragment.kt new file mode 100644 index 0000000000000000000000000000000000000000..5a060f2b081e40360ab3a4b87097caa51850154e --- /dev/null +++ b/app/src/main/java/com/futo/circles/ui/sign_up/SignUpFragment.kt @@ -0,0 +1,19 @@ +package com.futo.circles.ui.sign_up + +import android.os.Bundle +import android.view.View +import androidx.fragment.app.Fragment +import com.futo.circles.R + +class SignUpFragment : Fragment(R.layout.sign_up_fragment) { + + companion object { + fun newInstance() = SignUpFragment() + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + + } + +} \ No newline at end of file diff --git a/app/src/main/res/layout/sign_up_fragment.xml b/app/src/main/res/layout/sign_up_fragment.xml new file mode 100644 index 0000000000000000000000000000000000000000..ed8a0a1651a249df54a79595ca205361161640e4 --- /dev/null +++ b/app/src/main/res/layout/sign_up_fragment.xml @@ -0,0 +1,18 @@ +<?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" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Sign Up" + android:textSize="36sp" + android:textStyle="bold" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + +</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file diff --git a/app/src/main/res/navigation/nav_graph_log_in.xml b/app/src/main/res/navigation/nav_graph_log_in.xml new file mode 100644 index 0000000000000000000000000000000000000000..b830eb22942618d79d51f789cad7279d13b58c52 --- /dev/null +++ b/app/src/main/res/navigation/nav_graph_log_in.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<navigation 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" + app:startDestination="@id/logInFragment" + android:id="@+id/nav_graph_log_in"> + + + <fragment + android:id="@+id/logInFragment" + android:name="com.futo.circles.ui.sign_in.LogInFragment" + android:label="Log In" + tools:layout="@layout/log_in_fragment" > + <action + android:id="@+id/action_logInFragment_to_signUpFragment" + app:destination="@id/signUpFragment" /> + </fragment> + + <fragment + android:id="@+id/signUpFragment" + android:name="com.futo.circles.ui.sign_up.SignUpFragment" + android:label="Log In" + tools:layout="@layout/sign_up_fragment" /> + + +</navigation> \ No newline at end of file