Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Status Timeline 1.0 #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .idea/misc.xml

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

Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class DisplayGrievance : AppCompatActivity() {
finish()
}

// var adapter2 = GrievanceRecycleViewAdapter(context,list)
}

fun getGriData(context:Context,loc_long:Double,loc_lat:Double){
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/java/com/harshad/projectclean/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import android.content.Intent
import android.content.SharedPreferences
import android.content.pm.PackageManager
import android.location.Geocoder
import android.location.Location
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
Expand All @@ -15,9 +14,6 @@ import androidx.core.app.ActivityCompat
import com.google.android.gms.location.*
import com.harshad.projectclean.databinding.ActivityMainBinding
import java.lang.Exception
import com.google.android.gms.location.LocationCallback
import com.google.android.gms.location.LocationRequest.PRIORITY_HIGH_ACCURACY
import com.google.android.gms.tasks.CancellationToken

//import okhttp3.MediaType.Companion.toMediaType
//import okhttp3.MultipartBody
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/drawable/ic_complete.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/success" />

</shape>
6 changes: 6 additions & 0 deletions app/src/main/res/drawable/ic_current.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/current" />

</shape>
6 changes: 6 additions & 0 deletions app/src/main/res/drawable/ic_fail.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/cancel" />

</shape>
474 changes: 387 additions & 87 deletions app/src/main/res/layout/activity_gri_detail.xml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<color name="background">#dddddd</color>
<color name="lightgray">#EDE7F6</color>

<color name="success">#4CAF50</color>
<color name="cancel">#E64A19</color>
<color name="current">#2196F3</color>
<color name="textSecondary">#A1A1A1</color>


<color name="instafirstclor">#3c43e5</color>
<color name="instacenterclord">#d34267</color>
<color name="instalastclor">#f6ac35</color>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.ProjectClean" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<style name="Theme.ProjectClean" parent="Theme.MaterialComponents.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
Expand Down