thealeksandr / PFLockScreen-Android

Apache License 2.0
223 stars 84 forks source link

Override fingerprint dialog theme #43

Closed MaximKulikov closed 5 years ago

MaximKulikov commented 5 years ago

Hello. We had trouble overriding background color to PFFingerprintAuthDialogFragment toolbar. It seams problem in line 61 setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Material_Light_Dialog); that we have to clue how to override.

We suggest try custom theme, that we can override, or use NO_TITLE style and add title in xml content

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.