Closed Franzaine closed 8 years ago
@slomo ready for review
Should we really add fidesmo specific assets to nordpol?
@slomo valid question, but I am currently adding this to OpenKeychain as per their request which means that others might be interested as well. That is at least the current thinking
@petter-fidesmo
@Franzaine Maybe these ones can be default but there could be an option to override?
@slomo ready for re-review! :)
@petter-fidesmo ready for review! I don't want to wait until Yves is working again😏
@Franzaine This is beyond my android knowledge. Is there a simple example on how this would be used? Maybe we should add it to the OTP tutorial?
@Franzaine Left some comments. Should we add this to nordpol-android or should we create a new project, nordpol-android-ui?
@petter-fidesmo I think we should keep it as is. It should not make a too big impact on the lib size and there is very little code (if we want to be afraid of the dex limit ;) ) Just like we could incorporate it we can extract it too, in the future. If we feel like it.
@petter-fidesmo if you agree with my above comment and like the change I did to usage (I explained it a bit more) I'd like to merge this.
@Franzaine :+1:
This PR introduces NfcGuideView. NfcGuideView is an Android View that consists of a layout with a couple of child views. Depending on the state set with the public method:
public void setCurrentStatus(NfcGuideViewStatus nfcGuideViewStatus){...}
the view shows different states. The four states are defined in an enum: