question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] [Accessibility] Showing card actions horizontally when there're not enough space

See original GitHub issue

Platform

  • Teams for Android

Author or host

Bot sends card to user

Version of SDK

Node.JS package botbuilder version 4.7.2

Details

Steps to reproduce:

  1. Open Teams and install Microsoft Apps Studio
  2. Go to App Studio, click New Card and paste the JSON below { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "wrap": true, "text": "Problem with wrapping text of adaptive card actions." } ], "actions": [ { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } } ] }
  3. Click Send to me as a Card
  4. Open Teams app on Android and observe the result image

Actual behavior: Action cards are stacked horizontally without scroll bar when there’re not enough space to show them all

Expected behavior: Wrap cards and show them vertically if there’re not enough space

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
shalinijoshi19commented, Nov 16, 2020

@anbah34 did the June release wtih the fix go out? Could you drop a link to the release here for reference at all?

Also @DeeJayTC / @SiarheiKuchukBelitsoft closing this issue out now; Pls feel free to file a new one or reactivate if you find this is not fixed with the latest Teams release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Constraint Layout put view below if there is not enough ...
I want the buttons to be positioned horizontally if they fit, if one of the buttons has to hyphenate, then I would like...
Read more >
Support different screen sizes
About paging · Load and display paged data · Page from network and database · Transform data streams · Manage and present loading...
Read more >
Autosize TextViews
Default. The default setting lets the autosizing of TextView scale uniformly on horizontal and vertical axes.
Read more >
android button layout smarty two rows if not enough space
A LinearLayout with horizontal orientation will only layout one row regardless of space. What you seem to want is a " FlowLayout ",...
Read more >
Accessibility in Compose | Jetpack ...
Accessibility services like Talkback and Switch Access allow users to move focus across elements on the screen. It is important that elements are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found