Skip to content

Commit

Permalink
packers layout done
Browse files Browse the repository at this point in the history
  • Loading branch information
umangsh28 committed Nov 4, 2021
1 parent 3a8f60c commit 9ad068d
Show file tree
Hide file tree
Showing 37 changed files with 1,752 additions and 13 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,23 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'


//animation
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22'





// Kotlin
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package dev.kingbond.moveon.ui.packageandmovers

class dummyPackage {
class Moversandpackers {


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package dev.kingbond.moveon.ui.packageandmovers.fragMov.confirm

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import dev.kingbond.moveon.R


class confirmPage : Fragment() {


override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_confirm_page, container, false)
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package dev.kingbond.moveon.ui.packageandmovers.fragMov.cost

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.Navigation
import dev.kingbond.moveon.R

class CoastPage : Fragment() {


override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
val view =inflater.inflate(R.layout.fragment_coast_page, container, false)

view.findViewById<Button>(R.id.coastBtn).setOnClickListener {
Navigation.findNavController(view).navigate(R.id.action_coastPage_to_confirmPage)
}


return view
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package dev.kingbond.moveon.ui.packageandmovers.fragMov.houseSize

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.Navigation
import dev.kingbond.moveon.R


class HouseSize : Fragment() {


override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
val view= inflater.inflate(R.layout.fragment_house_size, container, false)

view.findViewById<Button>(R.id.houseBtn).setOnClickListener {
Navigation.findNavController(view).navigate(R.id.action_houseSize_to_houseCategory)
}

return view
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package dev.kingbond.moveon.ui.packageandmovers.fragMov.housecategory

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.Navigation
import dev.kingbond.moveon.R



class HouseCategory : Fragment() {


override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
val view= inflater.inflate(R.layout.fragment_house_category, container, false)

view.findViewById<Button>(R.id.categoryBtn).setOnClickListener {
Navigation.findNavController(view).navigate(R.id.action_houseCategory_to_itemList)
}

return view
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package dev.kingbond.moveon.ui.packageandmovers.fragMov.itemList

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.Navigation
import dev.kingbond.moveon.R


class ItemList : Fragment() {


override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
val view= inflater.inflate(R.layout.fragment_item_list, container, false)

view.findViewById<Button>(R.id.itemBtn).setOnClickListener {
Navigation.findNavController(view).navigate(R.id.action_itemList_to_coastPage)
}

return view
}




}
16 changes: 16 additions & 0 deletions app/src/main/res/drawable/blue_box.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<stroke
android:width="1dp"
android:color="#1E54B7" />

<solid android:color="#1F1F1F" />

<padding
android:left="1dp"
android:right="1dp"
android:bottom="1dp"
android:top="1dp" />

<corners android:radius="7dp" />
</shape>
Binary file added app/src/main/res/drawable/costscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/frame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/house.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9ad068d

Please sign in to comment.