-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55132de
commit 91cc0ab
Showing
22 changed files
with
578 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
app/src/main/java/com/itcraftsolution/raido/Fragments/UserCarBookFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.itcraftsolution.raido.Fragments; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.fragment.app.Fragment; | ||
|
||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import com.itcraftsolution.raido.R; | ||
import com.itcraftsolution.raido.databinding.FragmentUserCarBookBinding; | ||
|
||
public class UserCarBookFragment extends Fragment { | ||
|
||
private FragmentUserCarBookBinding binding; | ||
|
||
@Override | ||
public View onCreateView(LayoutInflater inflater, ViewGroup container, | ||
Bundle savedInstanceState) { | ||
// Inflate the layout for this fragment | ||
binding = FragmentUserCarBookBinding.inflate(getLayoutInflater()); | ||
|
||
return binding.getRoot(); | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
app/src/main/java/com/itcraftsolution/raido/Fragments/UserDetailRideFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.itcraftsolution.raido.Fragments; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.fragment.app.Fragment; | ||
|
||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import com.itcraftsolution.raido.R; | ||
import com.itcraftsolution.raido.databinding.FragmentUserDetailRideBinding; | ||
|
||
public class UserDetailRideFragment extends Fragment { | ||
|
||
private FragmentUserDetailRideBinding binding; | ||
|
||
@Override | ||
public View onCreateView(LayoutInflater inflater, ViewGroup container, | ||
Bundle savedInstanceState) { | ||
// Inflate the layout for this fragment | ||
binding = FragmentUserDetailRideBinding.inflate(getLayoutInflater()); | ||
|
||
return binding.getRoot(); | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
app/src/main/java/com/itcraftsolution/raido/Fragments/UserHomeFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.itcraftsolution.raido.Fragments; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.fragment.app.Fragment; | ||
|
||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import com.itcraftsolution.raido.R; | ||
import com.itcraftsolution.raido.databinding.FragmentUserHomeBinding; | ||
|
||
public class UserHomeFragment extends Fragment { | ||
|
||
private FragmentUserHomeBinding binding; | ||
|
||
@Override | ||
public View onCreateView(LayoutInflater inflater, ViewGroup container, | ||
Bundle savedInstanceState) { | ||
// Inflate the layout for this fragment | ||
binding = FragmentUserHomeBinding.inflate(getLayoutInflater()); | ||
|
||
binding.btnSearchRide.setOnClickListener(new View.OnClickListener() { | ||
@Override | ||
public void onClick(View view) { | ||
getParentFragmentManager().beginTransaction().replace(R.id.frUserMainContainer, | ||
new UserDetailRideFragment()).addToBackStack(null).commit(); | ||
} | ||
}); | ||
return binding.getRoot(); | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
app/src/main/java/com/itcraftsolution/raido/Fragments/UserNotificationFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.itcraftsolution.raido.Fragments; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.fragment.app.Fragment; | ||
|
||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import com.itcraftsolution.raido.R; | ||
import com.itcraftsolution.raido.databinding.FragmentUserNotificationBinding; | ||
|
||
public class UserNotificationFragment extends Fragment { | ||
|
||
private FragmentUserNotificationBinding binding; | ||
|
||
@Override | ||
public View onCreateView(LayoutInflater inflater, ViewGroup container, | ||
Bundle savedInstanceState) { | ||
// Inflate the layout for this fragment | ||
binding = FragmentUserNotificationBinding.inflate(getLayoutInflater()); | ||
|
||
return binding.getRoot(); | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
app/src/main/java/com/itcraftsolution/raido/Fragments/UserProfileFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.itcraftsolution.raido.Fragments; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.fragment.app.Fragment; | ||
|
||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import com.itcraftsolution.raido.R; | ||
import com.itcraftsolution.raido.databinding.FragmentUserHomeBinding; | ||
import com.itcraftsolution.raido.databinding.FragmentUserProfileBinding; | ||
|
||
public class UserProfileFragment extends Fragment { | ||
|
||
private FragmentUserProfileBinding binding; | ||
|
||
@Override | ||
public View onCreateView(LayoutInflater inflater, ViewGroup container, | ||
Bundle savedInstanceState) { | ||
// Inflate the layout for this fragment | ||
binding = FragmentUserProfileBinding.inflate(getLayoutInflater()); | ||
|
||
return binding.getRoot(); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout 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" | ||
tools:context=".Fragments.UserCarBookFragment"> | ||
|
||
<!-- TODO: Update blank fragment layout --> | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:text="car booked" /> | ||
|
||
</FrameLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?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" | ||
tools:context=".Fragments.UserDetailRideFragment"> | ||
|
||
<ImageView | ||
android:id="@+id/imageView" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="@dimen/_14mdp" | ||
android:layout_marginTop="@dimen/_14mdp" | ||
android:padding="@dimen/_4mdp" | ||
android:src="@drawable/baseline_keyboard_backspace_24" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/textView6" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="@dimen/_12mdp" | ||
android:layout_marginEnd="@dimen/_14mdp" | ||
android:fontFamily="@font/opensansbold" | ||
android:text="Active Rides" | ||
android:textColor="@color/black" | ||
android:textSize="@dimen/_18font_mdp" | ||
app:layout_constraintBottom_toBottomOf="@+id/imageView" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toEndOf="@+id/imageView" | ||
app:layout_constraintTop_toTopOf="@+id/imageView" /> | ||
|
||
<androidx.recyclerview.widget.RecyclerView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="@dimen/_16mdp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintHorizontal_bias="0.5" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/textView6" /> | ||
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
Oops, something went wrong.