textview的多行滚动变成不能滑动了,被scrollview的滑动给拿去了。至于 百度说的改成 wrap_content也是不行的。
你的textview是直接在scrollview里面的吗?
scrollview设置成match_parent 试试
android:layout_height="wrap_content" 给个高度不要写成wrap_content
去掉android:maxLines="5"试试
TextView textView = (TextView) findViewById(R.id.tv_zfxy);
textView.setMovementMethod(ScrollingMovementMethod.getInstance());// 加上这句就一定可以了
1:添加属性: android:ellipsize="marquee"试试呢
2: android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/text_detail_barber_about"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text=""
android:textColor="@color/black"
android:textSize="@dimen/font_24px" />
</ScrollView>
http://zhidao.baidu.com/question/265090439748512005.html
已经解决了。谢谢大家
http://zhidao.baidu.com/question/265090439748512005.html
已经解决了。谢谢大家