У меня есть TextView
, который сначала показывает небольшую часть длинного текста.
Пользователь может нажать кнопку "подробнее", чтобы развернуть TextView
и увидеть остальную часть этого текста.
Выполняя тесты, я могу достичь этого, просто поменяв значение TextView.setMaxLines
между 4 для свертывания и Integer.MAX_VALUE для расширения.
Теперь я хотел бы, чтобы это поведение сопровождалось анимацией. Я знаю, что в этом вопросе одно решение почти сделано, но я попытался реализовать его, но у меня ничего не получилось.
Может кто-то помочь мне с этим?