ReadMoreTextView

This library provides collapsible Text widgets with ‘Read more’ text. (Including Jetpack Compose)

Collapsed
Expanded

Libraries

ReadMore-View

A library that provides collapsible TextView with ‘Read more’ text. (for Android View System)

ReadMore-Foundation

A library that provides collapsible BasicText with ‘Read more’ text. (for Jetpack Compose)

ReadMore-Material

A library that provides collapsible Text with ‘Read more’ text based on Material Theme. (for Jetpack Compose)

ReadMore-Material3

A library that provides collapsible Text with ‘Read more’ text based on Material3 Theme. (for Jetpack Compose)

Attributes

readMoreMaxLines

2 (default)
"1"

readMoreOverflow

Ellipsis (default)
Clip

readMoreText

“” (default)
"Read more"

readMoreTextSize

Same with textSize (default)
"11sp"

readMoreTextColor

Same with textColor (default)
"#FF0000"

readMoreTextUnderline

false (default)
true

readMoreTextStyle

Normal (default)
Bold
Italic

License

Copyright 2022 NAVER Webtoon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

GitHub

View Github