|
@@ -176,10 +176,17 @@
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
android:textSize="60sp" />
|
|
android:textSize="60sp" />
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.wdkl.callingbed2.util.MarqueeText
|
|
android:id="@+id/view_main_layout_tv_bed_number"
|
|
android:id="@+id/view_main_layout_tv_bed_number"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
+ android:paddingLeft="20dp"
|
|
|
|
+ android:paddingRight="20dp"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
+ android:singleLine="true"
|
|
android:text="--"
|
|
android:text="--"
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
android:textSize="96sp"
|
|
android:textSize="96sp"
|
|
@@ -244,11 +251,18 @@
|
|
android:gravity="center_horizontal"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/shape_patient_bg">
|
|
android:background="@drawable/shape_patient_bg">
|
|
- <TextView
|
|
|
|
|
|
+ <com.wdkl.callingbed2.util.MarqueeText
|
|
android:id="@+id/view_main_layout_tv_patient_name"
|
|
android:id="@+id/view_main_layout_tv_patient_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginTop="40dp"
|
|
|
|
+ android:paddingLeft="20dp"
|
|
|
|
+ android:paddingRight="20dp"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
+ android:singleLine="true"
|
|
android:text="张小米"
|
|
android:text="张小米"
|
|
android:textColor="#3CA2E0"
|
|
android:textColor="#3CA2E0"
|
|
android:textSize="120sp"
|
|
android:textSize="120sp"
|