fossasia/pslab-android

Use hidden color map in pin layout screens

Closed this issue · 0 comments

Actual Behaviour

The pin layout screens load an image which contains color coding of the pins, but it is never visible since it is set to "invisible" in fragment_pin_layout.xml.

Replacing android:visibility="invisible" with android:alpha="0.5" in fragment_pin_layout.xml makes the color map visible and lets the image of the PSLab shine through.

It is unclear why the image is hidden.

Expected Behaviour

The color map is used and the colors correspond with the colors in the popups.

Steps to reproduce it

  1. Open app.
  2. Tap menu symbol.
  3. Choose front layout or back layout.

Screenshots of the issue
Current layout
Screenshot_20240604-202850

Changed layout with added alpha value
Screenshot_20240604-201115

Popup with color which does not match color in color map
Screenshot_20240604-201128

Would you like to work on the issue?

Yes.