Skip to content

[Issue]: Android Toolbar Insets are not Applied in Certain Scenarios #56

@mikedotmundy

Description

@mikedotmundy

Describe the Issue in Detail

See this thread in Rocket Chat for more information:
https://chat.rockrms.com/channel/mobile?msg=aiDw87YNnNDDizSko

In our environment, we have a LoginStatusPhoto defined in the Navigation Bar Action XAML. On iOS, there is margin on the right side of the photo. On Android however, there is no right margin (inset), so the profile image is on the edge of the screen.

Image

For the time being, I was able to achieve right margin with this code:

.android .navigation-bar-actions {
    margin-right: 12;
}

Can reproduce in

  • Orange App
  • Blue App

Steps to Reproduce

See above

Expected Behavior

Should be right margin (inset) on a LoginStatusPhoto in the Navigation bar.

Actual Behavior

There is no right margin (inset) on a LoginStatusPhoto in the Navigation bar.

Screenshots or Videos

See above

Reproduction XAML

Mobile Shell Version

v1.7.0.3

Last Known Working Version

No response

iOS Device Type(s) and iOS Version(s)

Not an issue on iOS

Android Device Type(s) and Android Version(s)

S23+, Android v14

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: verifiedThe issue and resolution is understood.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions