Tag

expandable

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Nov 9, 2022 · Mobile Development

Implementing an Expandable TextView with Topic and URL Span Handling in Android

This article demonstrates how to build a custom Android TextView that supports clickable topic spans, URL interception, and smooth expand‑collapse behavior using StaticLayout measurements, custom ButtonSpan labels, and optional height‑animation, providing a reusable solution for rich mobile text displays.

AndroidMobile DevelopmentSpan
0 likes · 10 min read
Implementing an Expandable TextView with Topic and URL Span Handling in Android
Ctrip Technology
Ctrip Technology
Dec 16, 2016 · Frontend Development

Implementing Expandable Content with Pure CSS Using :target and :checked

This article explains how to create a "show more" effect without JavaScript by leveraging CSS pseudo‑classes like :target and :checked, detailing the required HTML structure, CSS rules, code examples, and the advantages and drawbacks of each approach.

Frontendcheckedcss
0 likes · 13 min read
Implementing Expandable Content with Pure CSS Using :target and :checked