activity_screen.xml 1.0 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/root"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@drawable/img_one"
  9. tools:context="com.zkjc.common.base.ScreenActivity">
  10. <TextView
  11. android:id="@+id/time"
  12. android:layout_marginLeft="100dp"
  13. android:layout_marginRight="60dp"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_centerInParent="true"
  17. android:text="由于您长时间没有任何操作,系统自动进入屏保,点击屏幕即可继续核查"
  18. android:textColor="#fff"
  19. android:textSize="20sp"
  20. android:textStyle="bold"
  21. android:singleLine="true"
  22. android:ellipsize="marquee"
  23. android:marqueeRepeatLimit="marquee_forever"
  24. />
  25. </RelativeLayout>