ExpandableTextViewExample icon indicating copy to clipboard operation
ExpandableTextViewExample copied to clipboard

xml中无法修改收缩按钮的文本

Open shirongmiao opened this issue 8 years ago • 0 comments

看了下源码发现 mTvExpandCollapse.setText(mCollapsed ? getResources().getString(R.string.expand) : getResources().getString(R.string.collapse)); 一直是取R.string里的值,改成 mTvExpandCollapse.setText(mCollapsed ? textExpand : textCollapse); 就好了

shirongmiao avatar Jul 19 '17 06:07 shirongmiao