Git Product home page Git Product logo

expandabletextview's Issues

收起能否右对齐?

全文和收起按钮能否都右对齐,并且'全文'or'收起总是在一行,不会出现两个字分开在不同的行'
201
202
203

DynamicLayout是不是多余了

private CharSequence getNewTextByConfig() 函数里
switch (mCurrState){
case STATE_SHRINK: {
mLayout = new DynamicLayout(mOrigText, mTextPaint, mLayoutWidth, Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false);

是不是没必要调用DynamicLayout,因为mLayout不可能为空吧

etv_EllipsisHint设置无效

<cn.carbs.android.expandabletextview.library.ExpandableTextView android:id="@+id/tv_describe" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="@dimen/dp_5" android:paddingBottom="@dimen/dp_10" android:textColor="@color/txt_normal1" android:textSize="@dimen/font_size_normal" app:etv_MaxLinesOnShrink="3" app:etv_ToExpandHint="全文" app:etv_ToExpandHintColor="@color/txt_red" app:etv_ToShrinkHint="收起" app:etv_EllipsisHint="" app:etv_ToShrinkHintColor="@color/txt_red" tools:text="一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退一是非关联交易,即母公司向非关联公司出售资产,获取现金回报,并退出相关行业领域的经营产,获取现金回报,并退出相关行业领域的经并退出相关行业领域的经营产并退并退域的经营产并退并退域的经营产。" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.