Is there any compatibility issues with adaptivecards text formatting in mobiles at teams application?

134 Views Asked by At

We are using botframework webchat for developing a bot in teams as well as web via directline channel. Everything is fine in web and teams but when coming to teams in mobile devices, adaptive cards formatting is not working as same as web.  ac in mobile devices

in desktop

[![enter image description here][3]][3]

  {
 "type": "AdaptiveCard",
 "version": "1.0",
 "body": [
 {
 "type": "Container",
 "id" : "qna_card",
 "items": [
 {
 "type": "TextBlock",
 "text": ans[1],
 "horizontalAlignment": "Left",
 "color": "Accent",
 "weight": "Bolder",
 "size": "Medium"
 },
 {
 "type": "TextBlock",
 "text": ans[2],
 "wrap": true,
 "color": "Default"
 },
 {
 "type": "ActionSet",
 "actions": [
 {
 "type": "Action.OpenUrl",
 "title": read_more,
 "url": ans[3],
 "style": "positive"
 }
 ],
 "horizontalAlignment": "Center"
 }
 ]
 }
 ],
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "id" : "qna_card_id"
 }
0

There are 0 best solutions below