Git Product home page Git Product logo

dot-android-sdk-api-docs's People

Watchers

 avatar  avatar

dot-android-sdk-api-docs's Issues

Missing a way to customize `instructionCandidateSelectionTextColor`. iOS has it.

<color name="dot_detection_layer">#ffffffff</color>
<color name="dot_instruction_background">#fff8fbfb</color>
<color name="dot_instruction_candidate_selection_background">#ff00bfb2</color>
<color name="dot_instruction_text">#ff131313</color>
<color name="dot_placeholder">#ffffffff</color>
<color name="dot_placeholder_candidate_selection">#ff00bfb2</color>
<color name="dot_placeholder_overlay">#80131313</color>

Android SDK is missing a way to customize instructionCandidateSelectionTextColor.

iOS SDK has this feature, please provide parity between platforms

color resources do nothing and forbid use of attributes

Docs say override these colors

<color name="dot_face_auto_capture_instruction_text">@color/green</color>
<color name="dot_face_auto_capture_instruction_text_background">#FFAABB</color>
<color name="dot_face_auto_capture_instruction_text_stay_still">#FFEEAA</color>
<color name="dot_face_auto_capture_instruction_text_background_stay_still">#FF9800</color>
<color name="dot_eye_gaze_liveness_instruction_text">#ffffaabb</color>
<color name="dot_eye_gaze_liveness_instruction_text_background">#FF9800</color>

and these are not used in runtime, only colors that actually do something are these

<color name="dot_instruction_text">@color/facelift_black</color>
<color name="dot_instruction_background">@color/white</color>
<color name="dot_instruction_candidate_selection_background">@color/red</color>
<color name="dot_placeholder">@color/dot_instruction_background</color>
<color name="dot_placeholder_candidate_selection">@color/dot_instruction_candidate_selection_background</color>
<color name="dot_placeholder_overlay">@color/white_a30</color>

Also, library breaks styling via color attributes, for example

<color name="dot_instruction_text">?attr/colorOnSurface</color>

this crashes in runtime due to library using context.getColor, which is wrong

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.