ViewPager不能左右滑动

原因是因为其中的一个TextView,用了一个android:singleLine=”true”的属性。

解决办法:去掉android:singleLine=”true”,使用android:maxLines=”1”替代

你可能感兴趣的:(Android)