更新时间:2022-02-09 15:46:23
由于Android版本不同,***做法是同时包含以下参数:
Because of different Android versions, the best practice is to include these parameters at the same time:
<item name="android:maxLines">1</item>
<item name="android:lines">1</item>
<item name="android:singleLine">true</item>
如果不这样做,它将在某些设备上无法正常工作.
If you don't, it will not work correctly on some devices.