All Projects → bravoborja → Readmoretextview

bravoborja / Readmoretextview

Licence: apache-2.0
A Custom TextView with trim text

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Readmoretextview

Wmzdialog
功能最多样式最多的弹窗,支持普通/微信底部/日期/地区/日历/选择/编辑/分享/菜单/自定义弹窗等,支持多种动画,链式编程调用(Pop-up windows with the most functions and styles, support normal/WeChat bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)
Stars: ✭ 673 (-58.09%)
Mutual labels:  custom, textview
Cp sssss
Naive screen-space subsurface scattering solution for Unity 5.
Stars: ✭ 119 (-92.59%)
Mutual labels:  custom
Mini Graph Card
Minimalistic graph card for Home Assistant Lovelace UI
Stars: ✭ 1,370 (-14.69%)
Mutual labels:  custom
Tkkeyboardcontrol
TKKeyboardControl adds keyboard awareness and scrolling dismissal (like iMessages app) to any view with only 1 line of code for Swift.
Stars: ✭ 110 (-93.15%)
Mutual labels:  textview
Yi Hack Allwinner V2
Custom firmware for Yi 1080p camera based on Allwinner platform
Stars: ✭ 100 (-93.77%)
Mutual labels:  custom
Pull To Refresh
ESPullToRefresh is developed and maintained by Vincent Li. If you have any questions or issues in using ESPullToRefresh, welcome to issue. If you want to contribute to ESPullToRefresh, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 1,591 (-0.93%)
Mutual labels:  textview
Stepbarview
Step Bar View (make your own customized StepBar)
Stars: ✭ 97 (-93.96%)
Mutual labels:  custom
Typewriterview
Android library for typewriter like effects
Stars: ✭ 124 (-92.28%)
Mutual labels:  textview
Sscustomedittextoutlineborder
Same as an Outlined text fields presented in Material Design page but with some dynamic changes
Stars: ✭ 119 (-92.59%)
Mutual labels:  custom
Pincodeinputview
A input text view for entering pin code.
Stars: ✭ 108 (-93.28%)
Mutual labels:  textview
Jhform
JhForm - 自定义表单工具,更加简单,快捷的创建表单、设置页面
Stars: ✭ 108 (-93.28%)
Mutual labels:  textview
Nextgrowingtextview
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above.
Stars: ✭ 1,540 (-4.11%)
Mutual labels:  textview
Oblate
Custom theme for my personal website and blog.
Stars: ✭ 117 (-92.71%)
Mutual labels:  custom
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (-14.26%)
Mutual labels:  custom
Android Textview Linkbuilder
Insanely easy way to define clickable links within a TextView.
Stars: ✭ 1,549 (-3.55%)
Mutual labels:  textview
React Video Renderer
Build custom video players effortless
Stars: ✭ 100 (-93.77%)
Mutual labels:  custom
Ar Position
ActiveRecord behavior, which provides ability for custom records order setup
Stars: ✭ 107 (-93.34%)
Mutual labels:  custom
Szmentionsswift
Library to help handle mentions
Stars: ✭ 109 (-93.21%)
Mutual labels:  textview
Drawabletextview
自定义控件 :drawable 跟随TextView居中 The drawable follows the text centered
Stars: ✭ 124 (-92.28%)
Mutual labels:  textview
Ddanimatedswitch
👍🏼 Awesome animated switch
Stars: ✭ 124 (-92.28%)
Mutual labels:  custom

ReadMoreTextView

A Custom TextView with trim text

Download

To add the ReadMoreTextView library to your Android Studio project, simply add the following gradle dependency:

compile 'com.borjabravo:readmoretextview:2.1.0'

Usage

To use the ReadMoreTextView on your app, add the following code to your layout:

<com.borjabravo.readmoretextview.ReadMoreTextView
    android:id="@+id/text_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>

You can customize ReadMoreTextView with:

  • app:trimExpandedText: Text that appears when the view is expanded.
  • app:trimCollapsedText: Text that appears when the view is collapsed.
  • app:trimLength: Trim length to determine when the clickable text is displayed.
  • app:showTrimExpandedText: Show the trim text if it's true.
  • app:colorClickableText: Text color of trim clickable text.
  • app:trimMode: Choose trim mode with two options: trimModeLength or trimModeLines.

Screenshots

screenshot screenshot

License

Copyright 2016 Borja Bravo

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

   http://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.
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].