Media Gallery UI (Landscape Mode)
- [x] I have searched open and closed issues for duplicates
- [x] I am submitting a bug report for existing functionality that does not work as intended
- [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
- [x] This isn't a feature request or a discussion topic
Bug description
Actual result: The Header Toolbar Obfuscates the Full Screen View. Expected result: Header Toolbar Should Fade Away with the Navigation Menu.
Screenshots

Hey, can I work on this?
Hey, can I work on this?
👍
@Xashyar Just to be sure, do you want me to completely remove the Header Toolbar?
@jatinkumarg No, just that it should fade away by tapping on the underneath media (photo, video, etc.).
and I also suggest contacting @greyson-signal since PRs rarely get merged.
@danmoop Hi Danill, sorry for pinging you along, I thought this issue might be similar to #8915, would you mind taking a look as well?
Thanks in Advance.
@Xashyar Hello. Sure I checked the issue #8682. I think there is a solution to this problem, it will look like this:
@Override
public void onConfigurationChanged(Configuration newConfig) {
if(newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) {
toolbar.hide(); // when landscape mode is on -> hide toolbar
} else {
toolbar.show(); // when we are back to portrait -> show toolbar
}
}
And the file that handles menu buttons is this one The problem is that I can't access toolbar. I can access buttons (save, forward, etc.) but this box I cannot. It wants to hide me :( There are caption box, details box (more images that you can preview), caption text and whatever except for toolbar.
UPD: getSupportActionBar() was the thing I needed. Works fine now.