-
Notifications
You must be signed in to change notification settings - Fork 318
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
Changed the elevation of the InstructionView so that it doesn't encounter overlapping issues. #1089
Conversation
2e8abf7
to
92c87c8
Compare
92c87c8
to
cc6dd29
Compare
9736222
to
f12369e
Compare
51a3d8b
to
9e79d17
Compare
@danesfeder ready for re-review |
9e79d17
to
a4b2978
Compare
a4b2978
to
012e9a2
Compare
012e9a2
to
12a764c
Compare
…it is always on top of the rest of the view
12a764c
to
7414f15
Compare
@@ -494,6 +495,7 @@ private void initializeView() { | |||
private void bind() { | |||
mapView = findViewById(R.id.navigationMapView); | |||
instructionView = findViewById(R.id.instructionView); | |||
ViewCompat.setElevation(instructionView, 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we considered extracting the magic number 10
into a constant specifying that this is actually putting the instructionView
at the top of the view hierarchy?
@devotaaabel feel free to address @Guardiola31337's comment / merge this when you have a chance |
Codecov Report
@@ Coverage Diff @@
## master #1089 +/- ##
===========================================
+ Coverage 23.68% 23.7% +0.01%
Complexity 735 735
===========================================
Files 194 194
Lines 8291 8286 -5
Branches 608 607 -1
===========================================
Hits 1964 1964
+ Misses 6142 6137 -5
Partials 185 185 |
Relates to #1072