@ -42,6 +42,6 @@ public class Product {
}
public static int getEms() {
return Math.min(ResUtil.getScreenWidth() / ResUtil.sp2px(18), 35);
return Math.min(ResUtil.getScreenWidth() / ResUtil.sp2px(20), 25);
@ -7,7 +7,6 @@
android:background="@drawable/shape_item"
android:ellipsize="marquee"
android:gravity="center"
android:maxEms="10"
android:singleLine="true"
android:textColor="@color/text"
android:textSize="14sp"