<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/layout1"
|
android:layout_width="@dimen/sh1280"
|
android:layout_height="@dimen/sw800"
|
android:background="#001738">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/sh65"
|
android:background="#000614" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="@dimen/sh65"
|
android:orientation="horizontal"
|
android:padding="@dimen/sh20">
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_weight="0">
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/faceOuterBorderViewParent"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:id="@+id/cameraImage"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_alignParentTop="true"
|
android:adjustViewBounds="true"
|
android:scaleType="fitCenter" />
|
<!--<android.opengl.GLSurfaceView
|
android:visibility="gone"
|
android:id="@+id/glSurfaceView"
|
android:layout_width="1dp"
|
android:layout_height="1dp" />-->
|
</RelativeLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:visibility="gone">
|
<!--<com.basic.security.widget.MarqueeTextView
|
android:layout_gravity="center_vertical"
|
android:id="@+id/marquee1"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="10dp"
|
android:text="北京贝思科技术有限公司"
|
android:textColor="@color/white"
|
android:textSize="28sp"
|
app:scroll_first_delay="0"
|
app:scroll_interval="2000"
|
app:scroll_mode="mode_forever" />-->
|
|
</LinearLayout>
|
|
</LinearLayout>
|
</RelativeLayout>
|
|
<TextView
|
android:layout_width="@dimen/sh20"
|
android:layout_height="match_parent" />
|
|
<LinearLayout
|
android:id="@+id/right"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/home"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/weather_image_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:scaleType="centerCrop"
|
android:src="@drawable/sunny"
|
android:visibility="gone" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_margin="@dimen/sh22"
|
android:background="#20111111"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<ImageView
|
android:id="@+id/weather_icon"
|
android:layout_width="@dimen/sw160"
|
android:layout_height="@dimen/sw160"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="@dimen/sh22" />
|
|
<TextView
|
android:id="@+id/temp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="@dimen/h10"
|
android:text="天气预报加载中..."
|
android:textColor="#e6e6fa"
|
android:textSize="@dimen/sh54" />
|
|
<TextView
|
android:id="@+id/address"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w80"
|
android:layout_marginTop="@dimen/h20"
|
android:textColor="#e6e6fa"
|
android:textSize="@dimen/h28" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h8"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/wind"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w80"
|
android:textColor="#e6e6fa"
|
android:textSize="@dimen/h28" />
|
|
<TextView
|
android:id="@+id/wind_class"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w80"
|
android:textColor="#e6e6fa"
|
android:textSize="@dimen/h28" />
|
</LinearLayout>
|
</LinearLayout>
|
|
<ImageView
|
android:id="@+id/advertiseSTopRight"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:scaleType="fitXY" />
|
</RelativeLayout>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/sh20" />
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:background="#001738">
|
|
<VideoView
|
android:id="@+id/videoViewS"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentEnd="true"
|
android:layout_alignParentLeft="true"
|
android:layout_alignParentRight="true"
|
android:layout_alignParentStart="true"
|
android:layout_alignParentTop="true"
|
android:visibility="gone" />
|
|
<ImageView
|
android:id="@+id/marquee1"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:scaleType="fitXY" />
|
|
</RelativeLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/advertiseS_parent"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="@dimen/sh65"
|
android:background="#001738"
|
android:padding="@dimen/sh20">
|
|
<com.basic.security.widget.MyImageView
|
android:id="@+id/advertiseS"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:scaleType="fitXY" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/sh65"
|
android:orientation="horizontal"
|
android:paddingLeft="@dimen/sh13"
|
android:paddingRight="@dimen/sh13">
|
|
<ImageView
|
android:layout_width="@dimen/sh33"
|
android:layout_height="wrap_content"
|
android:focusable="false"
|
android:scaleType="centerInside"
|
android:src="@drawable/logo1" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/sw10"
|
android:text="北京市育英中学欢迎你"
|
android:textColor="@color/white"
|
android:textSize="@dimen/sh22" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="1dp"
|
android:layout_weight="1" />
|
|
<TextView
|
android:id="@+id/currentTime"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/sw30"
|
android:text="2019-4-25 14:23:45"
|
android:textColor="@color/white"
|
android:textSize="@dimen/sh22" />
|
</LinearLayout>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/identity_list_background"
|
android:gravity="center"
|
android:paddingBottom="8dp"
|
android:layout_centerInParent="true"
|
android:paddingLeft="10dp"
|
android:paddingRight="10dp"
|
android:paddingTop="8dp"
|
android:id="@+id/toastParent"
|
android:visibility="gone"
|
>
|
<TextView
|
android:id="@+id/toast"
|
android:layout_width="@dimen/sw300"
|
android:layout_height="@dimen/sh100"
|
android:gravity="center"
|
android:text="身份证验证失败"
|
android:textColor="#FFFFFF"
|
android:textSize="@dimen/dp_21"
|
android:textStyle="bold" />
|
</FrameLayout>
|
</RelativeLayout>
|