All Projects → mahimrocky → ShowMoreText

mahimrocky / ShowMoreText

Licence: other
This is simple library for creating textview expandable. Like Continue or Less. This library extended versiion TextView. Easy to use.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ShowMoreText

Materialchipview
Material Chip view. Can be used as tags for categories, contacts or creating text clouds
Stars: ✭ 1,181 (+1117.53%)
Mutual labels:  tags, tag, chip
TagView
The tag selection library with edit text and list
Stars: ✭ 46 (-52.58%)
Mutual labels:  tags, tag, chip
material-chip-view
Material Chip view. Can be used as tags for categories, contacts or creating text clouds
Stars: ✭ 1,300 (+1240.21%)
Mutual labels:  tags, tag, chip
Music Metadata
Stream and file based music metadata parser for node. Supporting a wide range of audio and tag formats.
Stars: ✭ 455 (+369.07%)
Mutual labels:  tags, tag
audio-tag-analyzer
Extracts metadata music metadata found in audio files
Stars: ✭ 18 (-81.44%)
Mutual labels:  tags, tag
Vue Gl
Vue.js components rendering 3D WebGL graphics reactively with three.js
Stars: ✭ 434 (+347.42%)
Mutual labels:  tags, tag
React Input Tags
React component for tagging inputs.
Stars: ✭ 10 (-89.69%)
Mutual labels:  tags, tag
Standard Version
🏆 Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
Stars: ✭ 5,806 (+5885.57%)
Mutual labels:  tags, tag
Id3
Library to read, modify and write ID3 & Lyrics3 tags in MP3 files. Provides an extensible framework for retrieving ID3 information from online services.
Stars: ✭ 27 (-72.16%)
Mutual labels:  tags, tag
HexTags
Customize tags & chat colors!
Stars: ✭ 53 (-45.36%)
Mutual labels:  tags, tag
SSCTaglistView
Customizable iOS tag list view, in Swift.
Stars: ✭ 54 (-44.33%)
Mutual labels:  tags, tag
Music Metadata Browser
Browser version of music-metadata parser Supporting a wide range of audio and tag formats.
Stars: ✭ 105 (+8.25%)
Mutual labels:  tags, tag
tag-picker
Better tags input interaction with JavaScript.
Stars: ✭ 27 (-72.16%)
Mutual labels:  tags, tag
phppimaco
Biblioteca para geração de Etiquetas PIMACO
Stars: ✭ 61 (-37.11%)
Mutual labels:  tags, tag
android-prefix-suffix-edit-text
EditText with support for non editable prefix and suffix.
Stars: ✭ 36 (-62.89%)
Mutual labels:  edittextview
bcp-47-normalize
Normalize, canonicalize, and format BCP 47 tags
Stars: ✭ 16 (-83.51%)
Mutual labels:  tag
react-tag-manager
Google Tag Manager for React
Stars: ✭ 24 (-75.26%)
Mutual labels:  tag
react-textinput-chip
React library to generate textinput chip.
Stars: ✭ 14 (-85.57%)
Mutual labels:  chip
tag
Git utility to create tags in order to identify specific releases
Stars: ✭ 24 (-75.26%)
Mutual labels:  tags
github-tags
给Github项目添加标签的Chrome插件,支持按标签搜索,支持数据云同步
Stars: ✭ 34 (-64.95%)
Mutual labels:  tags

Release

ShowMoreText

This is simple library for creating textview expandable. Like Continue or Less. This library extended versiion TextView. Easy to use.

Sample

Root Gradle

    allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

App Gradle:

dependencies {
	   implementation 'com.github.mahimrocky:ShowMoreText:1.0.2'
	}

You have to use just this xml. You can modify or set color your own textView. But don`t need to use maxLength or maxLine in text view. It may be confilict with library.

XML Section

    <com.skyhope.showmoretextview.ShowMoreTextView
        android:id="@+id/text_view_show_more"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/text"
        />

So this part describe how you sort your text? You can sort your text by line number or character length

In Activity you can use like:

    ShowMoreTextView textView = findViewById(R.id.text_view_show_more);
    
    //You have to use following one of method    
    
    // For using character length
    textView.setShowingChar(numberOfCharacter);
    //number of line you want to short
    textView.setShowingLine(numberOfLine);

You can change text of Show more or Show less

    textView.addShowMoreText("Continue");
    textView.addShowLessText("Less");

You can change text color of Show more or Show less

    textView.setShowMoreColor(Color.RED); // or other color
    textView.setShowLessTextColor(Color.RED); // or other color

Happy Coding

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].