Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Android][Button Icon Rendering] [Button icons placed on the left of the title are pushed out of the button, icon size not honored] #3543

Description

@shbhadra

Platform

What platform is your issue or question related to? (Delete other platforms).

  • Android

Author or host

Host

Version of SDK

1.2.0

Details

  • Upon configuring the HostConfig to place the button icons to the left of the button title, the icons are pushed out of the bounds of the button.

  • Icon size for the button icon as mentioned in the HostConfig is not honoured.

button_icon

Note the following observations :

  • For the case that there is only a single button the icon is infact rendered within the bounds of the button.

  • For the case of multiple buttons, only the icon in the last button is rendered within the bounds of the button.

  • The size of the icon is always rendered at the very small size as shown in the screenshot above irrespective of the value defined in the host config json.

Expecting the result to be similar to what is rendered on web, as shown in the image below
desktop_btns

Please find the following in the attached zip

  1. Json for the card shown in the screenshot
  2. HostConfig used for the card in the screenshot.
  3. The screenshot itself.

button_icon_render_issue.zip

Metadata

Metadata

Assignees

Labels

BugPartner-MsftTeamsIssues related to AC integration with Microsoft Teams partnerPartner-MsftTeamsMobileBugs related specifically to Teams Mobile integration (iOS/Android)Platform-Android

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions