diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 87d2978..618526c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -40,7 +40,7 @@ val statusBarColor = ContextCompat.getColor(context, - if (!nightMode) R.color.colorPrimaryDark else R.color.colorStatusBarDark) + if (!nightMode) R.color.colorPrimaryVariant else R.color.colorStatusBarDark) window?.statusBarColor = statusBarColor window?.navigationBarColor = statusBarColor } diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt index 94b3966..6c26d43 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt @@ -354,8 +354,8 @@ class SendTransactionFragment : ConnectedFragment(), ZXingScannerView.ResultHand cameraPreview.setFormats(listOf(BarcodeFormat.QR_CODE)) cameraPreview.setAspectTolerance(0.5f) cameraPreview.setAutoFocus(true) - cameraPreview.setLaserColor(R.color.colorAccent) - cameraPreview.setMaskColor(R.color.colorAccent) + cameraPreview.setLaserColor(R.color.colorSecondary) + cameraPreview.setMaskColor(R.color.colorSecondary) cameraPreview.setResultHandler(this) cameraPreview.startCamera() diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/views/DatePickerFragment.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/views/DatePickerFragment.kt index 312d3af..3fbb266 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/views/DatePickerFragment.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/views/DatePickerFragment.kt @@ -6,6 +6,7 @@ import android.os.Bundle import android.os.Message import android.widget.DatePicker import androidx.fragment.app.DialogFragment +import com.google.android.material.picker.MaterialDatePickerDialog import cy.agorise.bitsybitshareswallet.fragments.FilterOptionsDialog import java.util.* @@ -58,7 +59,7 @@ class DatePickerFragment : DialogFragment(), DatePickerDialog.OnDateSetListener val day = calendar.get(Calendar.DAY_OF_MONTH) // Create a new instance of DatePickerDialog and return it - val datePicker = DatePickerDialog(activity!!, this, year, month, day) + val datePicker = MaterialDatePickerDialog(activity!!, this, year, month, day) // Set maximum date allowed to today datePicker.datePicker.maxDate = maxTime diff --git a/app/src/main/res/drawable/outline_rounded_corners.xml b/app/src/main/res/drawable/outline_rounded_corners.xml index 38a5c24..2cb2af2 100644 --- a/app/src/main/res/drawable/outline_rounded_corners.xml +++ b/app/src/main/res/drawable/outline_rounded_corners.xml @@ -2,5 +2,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_pin_security_lock.xml b/app/src/main/res/layout/dialog_pin_security_lock.xml index eeb50eb..060c8c6 100644 --- a/app/src/main/res/layout/dialog_pin_security_lock.xml +++ b/app/src/main/res/layout/dialog_pin_security_lock.xml @@ -48,6 +48,7 @@ android:layout_height="wrap_content" android:layout_marginStart="@dimen/spacing_different_section" android:layout_marginEnd="@dimen/spacing_different_section" + app:boxBackgroundColor="?android:colorBackground" app:layout_constraintTop_toBottomOf="@id/tvSubTitle" app:layout_constraintBottom_toBottomOf="parent"> diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 4aa9f6a..a709b74 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -31,6 +31,7 @@ - #0099d6 - #006ba4 - #0099d6 + #006ba4 + #0099d6 #424242 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 192e9f1..c3edbca 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,43 +1,36 @@ - - - -