Skip to content

Conversation

@Petrakeas
Copy link
Contributor

Even though the SDK did not support material components, most components worked correctly since they extended vanilla Android View classes and they were handled by our TxInterceptor.

TextInputLayout though did not work correctly. This is why we now explicitly check for this class in our TxInterceptorand and handle it in the TextInputLayoutTransformer.

The following components were also tested and found to work correctly: MaterialButton, MaterialCardView.

The SDK uses material:1.6.1 as a compileOnly dependency, similarly to appcompat.

The demo app now uses e material:1.6.1. The theme extends a MaterialComponents theme instead of an AppCompat theme. A TextInputLayout element has been added to the main activity's layout. The SDK's Spannable support is now enabled.

Even though the SDK did not support material components, most
components worked correctly since they extended vanilla Android View
classes and they were handled by our TxInterceptor.

`TextInputLayout` though did not work correctly. This is why we now explicitly
check for this class in our `TxInterceptorand` and handle it in the
`TextInputLayoutTransformer.`

The following components were also tested and found to work correctly:
`MaterialButton`, `MaterialCardView`.

The SDK uses `material:1.6.1` as a compileOnly dependency, similarly to `appcompat`.

The demo app now uses e  `material:1.6.1`. The theme extends a MaterialComponents
theme instead of an AppCompat theme. A TextInputLayout element has been added to the
main activity's layout. The SDK's Spannable support is now enabled.
@n1k0sv n1k0sv merged commit 948c95e into transifex:devel Sep 28, 2022
@wyngarde wyngarde mentioned this pull request Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants