|
@@ -263,16 +263,22 @@
|
|
|
android:textStyle="bold"
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.wdkl.callingbed.util.MarqueeText
|
|
|
android:id="@+id/view_main_layout_tv_bed_num"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:layout_marginTop="-66dp"
|
|
|
- android:text="222"
|
|
|
+ android:layout_marginTop="-40dp"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="李四四"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="219sp"
|
|
|
+ android:textSize="180sp"
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
</RelativeLayout>
|
|
@@ -350,7 +356,7 @@
|
|
|
android:textSize="50sp"
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.wdkl.callingbed.util.MarqueeText
|
|
|
android:id="@+id/view_main_layout_tv_name"
|
|
|
android:layout_width="300dp"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -358,8 +364,11 @@
|
|
|
android:layout_alignParentLeft="true"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
- android:lines="1"
|
|
|
- android:ellipsize="end"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
android:text="张三三"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="95sp"
|