Build a list item with title, subtitle, and a right-side arrow icon without writing a custom XML layout.
Style a button with rounded corners and a ripple effect directly in XML without separate drawable shape files.
Create a multi-column text card for a product listing with labels at different corner positions.
Add a checkbox or divider line to a list item view using a single component instead of nested views.
Add via JitPack in your Gradle build file, supports Android API 14 and above.
SuperTextView is an Android library that extends the standard text display element in a way that covers many common layout patterns that developers would otherwise have to build from scratch. In Android development, a TextView is the basic building block for showing text on screen. SuperTextView wraps that concept into a more capable component that can hold multiple pieces of text at once, arranged in a grid of positions: top-left, center-left, bottom-left, top-center, center, bottom-center, top-right, center-right, and bottom-right. Beyond text arrangement, the component supports icons on the left and right sides, checkboxes, divider lines between list items, ripple touch effects, and customizable backgrounds with rounded corners, border colors, border widths, and solid fill colors. These styling options can be set directly in the XML layout file or through a chain of method calls in Java code, without needing separate drawable shape files for each variation. The repository also includes two related components. SuperButton applies the same shape and styling features specifically to buttons, making it simpler to define how a button looks without writing separate XML shape definitions. CommonTextView is a lighter version of SuperTextView with the same set of layout positions but simplified internal logic. The README is written in Chinese and includes code samples showing how to add the library to an Android project via Gradle, how to place the component in a layout file with various attributes set, and how to attach click listeners to individual zones within the view. The library supports Android API level 14 and above. It is distributed through JitPack, a package hosting service for GitHub projects.
← lygttpod on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.