firebase / firebase/firebase-android-sdk
Card type In-App Message layout disorder when rotating from portrait to landscape on Android
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 710
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 31
Description
### [READ] Step 1: Are you in the right place?
Yes
### [REQUIRED] Step 2: Describe your environment
* firebase-inappmessaging-display:20.1.1
* Android Studio version: __Arctic Fox | 2020.3.1 Patch3___
* Firebase Component: ___inappmessaging-display__
* Component version: ___20.1.1__
### [REQUIRED] Step 3: Describe the problem
#### Steps to reproduce:
- In firebase inappmessaging console, create a card type message including a long text body, an image, and a button.
- On android client side, define activity property android:configChanges="orientation|screenSize|keyboardHidden" in AndroidManifest.xml
- Once received the message, rotate the device from portrait to landscape or vice versa.
- Compare the card view layout in portrait and landscape orientation, after rotation to landscape, the card layout disorders, the long text body unscrollable, and the button NOT displayed in viewport, see ScreenRecords below.
#### Relevant Code:
AndroidMainfest.xml
#### ScreenRecords


Contributor guide
Assessment
This issue has not been assessed yet.