|
@@ -15,214 +15,139 @@
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
+ android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="0dp"
|
|
|
|
- android:layout_weight="1">
|
|
|
|
|
|
+ android:fillViewport="true">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
|
+ android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
|
+ android:background="@mipmap/bg_login_siping_tsgz"
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <View
|
|
|
|
|
|
+ <androidx.appcompat.widget.Toolbar
|
|
|
|
+ android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="390dp"
|
|
|
|
- android:background="@mipmap/bg_login_siping_tsgz" />
|
|
|
|
-
|
|
|
|
- <!-- <RelativeLayout-->
|
|
|
|
- <!-- android:id="@+id/rl_scan"-->
|
|
|
|
- <!-- android:layout_width="30dp"-->
|
|
|
|
- <!-- android:layout_height="30dp"-->
|
|
|
|
- <!-- android:layout_alignParentRight="true"-->
|
|
|
|
- <!-- android:layout_marginStart="10dp"-->
|
|
|
|
- <!-- android:layout_marginTop="10dp"-->
|
|
|
|
- <!-- android:layout_marginEnd="10dp"-->
|
|
|
|
- <!-- android:layout_marginBottom="10dp"-->
|
|
|
|
- <!-- android:background="@drawable/ic_scan2"-->
|
|
|
|
- <!-- android:visibility="gone">-->
|
|
|
|
-
|
|
|
|
- <!-- </RelativeLayout>-->
|
|
|
|
-
|
|
|
|
- <!-- <View-->
|
|
|
|
- <!-- android:id="@+id/view_setting"-->
|
|
|
|
- <!-- android:layout_width="30dp"-->
|
|
|
|
- <!-- android:layout_height="30dp"-->
|
|
|
|
- <!-- android:layout_alignParentRight="true"-->
|
|
|
|
- <!-- android:layout_centerVertical="true"-->
|
|
|
|
- <!-- android:background="@null" />-->
|
|
|
|
-
|
|
|
|
- <!-- </View>-->
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:orientation="vertical"
|
|
|
|
- android:padding="30dp">
|
|
|
|
|
|
+ android:layout_height="?actionBarSize"
|
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
|
+ android:gravity="center_horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/username_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
|
- android:layout_marginTop="15dp"
|
|
|
|
- android:text="用户名"
|
|
|
|
- android:textColor="@color/color_black_text"
|
|
|
|
- android:textSize="12dp" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ </androidx.appcompat.widget.Toolbar>
|
|
|
|
|
|
- <EditText
|
|
|
|
- android:id="@+id/userName_et"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:background="@null"
|
|
|
|
- android:drawableLeft="@drawable/icon_username_account_small"
|
|
|
|
- android:drawablePadding="15dp"
|
|
|
|
- android:hint="请输入用户名"
|
|
|
|
- android:inputType="textNoSuggestions"
|
|
|
|
- android:padding="15dp"
|
|
|
|
- android:text="@={viewModel.username}"
|
|
|
|
- android:textColor="@color/color_gray_text"
|
|
|
|
- android:textColorHint="@color/color_gray_text"
|
|
|
|
- android:textSize="12dp"
|
|
|
|
- tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
|
- <View
|
|
|
|
- style="@style/gray_line"
|
|
|
|
- android:layout_marginTop="8dp" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/password_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
|
- android:layout_marginTop="15dp"
|
|
|
|
- android:text="密码"
|
|
|
|
- android:textColor="@color/color_black_text"
|
|
|
|
- android:textSize="12dp" />
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_marginTop="50dp">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
+ android:layout_height="480dp"
|
|
|
|
+ android:layout_centerInParent="true"
|
|
|
|
+ android:background="@drawable/icon_loginbg"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
- <EditText
|
|
|
|
- android:id="@+id/userPassword_et"
|
|
|
|
|
|
+ <LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:background="@null"
|
|
|
|
- android:drawableLeft="@drawable/icon_password_small"
|
|
|
|
- android:drawablePadding="15dp"
|
|
|
|
- android:hint="请输入6-16密码"
|
|
|
|
- android:inputType="textPassword"
|
|
|
|
- android:padding="15dp"
|
|
|
|
- android:text="@={viewModel.password}"
|
|
|
|
- android:textColor="@color/color_gray_text"
|
|
|
|
- android:textColorHint="@color/color_gray_text"
|
|
|
|
- android:textSize="12dp"
|
|
|
|
- tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
|
|
+ android:layout_marginTop="140dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/userName_et"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
+ android:background="@drawable/bg_login"
|
|
|
|
+ android:drawableLeft="@drawable/icon_username_account_small"
|
|
|
|
+ android:drawablePadding="15dp"
|
|
|
|
+ android:hint="请输入账号"
|
|
|
|
+ android:inputType="textNoSuggestions"
|
|
|
|
+ android:paddingLeft="20dp"
|
|
|
|
+ android:paddingTop="15dp"
|
|
|
|
+ android:paddingBottom="15dp"
|
|
|
|
+ android:text="@={viewModel.username}"
|
|
|
|
+ android:textColor="#97989A"
|
|
|
|
+ android:textColorHint="#97989A"
|
|
|
|
+ android:textSize="14dp"
|
|
|
|
+ tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/userPassword_et"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
+ android:background="@drawable/bg_login"
|
|
|
|
+ android:drawableLeft="@drawable/icon_password_small"
|
|
|
|
+ android:drawablePadding="15dp"
|
|
|
|
+ android:hint="请输入密码"
|
|
|
|
+ android:inputType="textPassword"
|
|
|
|
+ android:paddingLeft="20dp"
|
|
|
|
+ android:paddingTop="15dp"
|
|
|
|
+ android:paddingBottom="15dp"
|
|
|
|
+ android:text="@={viewModel.password}"
|
|
|
|
+ android:textColor="#97989A"
|
|
|
|
+ android:textColorHint="#97989A"
|
|
|
|
+ android:textSize="14dp"
|
|
|
|
+ tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/config_tv"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="right"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
|
+ android:drawableLeft="@drawable/icon_setting_small"
|
|
|
|
+ android:drawablePadding="5dp"
|
|
|
|
+ android:text="配置"
|
|
|
|
+ android:textColor="#8a8a8a"
|
|
|
|
+ android:textSize="12dp" />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/submit"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="22dp"
|
|
|
|
+ android:layout_marginTop="50dp"
|
|
|
|
+ android:layout_marginRight="22dp"
|
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
|
+ android:background="@drawable/shape_fillet_bg_blue"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:paddingTop="10dp"
|
|
|
|
+ android:paddingBottom="10dp"
|
|
|
|
+ android:text="登录"
|
|
|
|
+ android:textColor="@color/color_white"
|
|
|
|
+ android:textSize="15dp" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <View
|
|
|
|
- style="@style/gray_line"
|
|
|
|
- android:layout_marginTop="8dp" />
|
|
|
|
-
|
|
|
|
- <!-- <TextView-->
|
|
|
|
- <!-- android:id="@+id/forget_pwd_tv"-->
|
|
|
|
- <!-- android:layout_width="wrap_content"-->
|
|
|
|
- <!-- android:layout_height="wrap_content"-->
|
|
|
|
- <!-- android:layout_marginTop="10dp"-->
|
|
|
|
- <!-- android:layout_gravity="right"-->
|
|
|
|
- <!-- android:drawablePadding="5dp"-->
|
|
|
|
- <!-- android:text="忘记密码 ?"-->
|
|
|
|
- <!-- android:textColor="#8a8a8a"-->
|
|
|
|
- <!-- android:textSize="12dp"/>-->
|
|
|
|
-=======
|
|
|
|
-<!-- <TextView-->
|
|
|
|
-<!-- android:id="@+id/forget_pwd_tv"-->
|
|
|
|
-<!-- android:layout_width="wrap_content"-->
|
|
|
|
-<!-- android:layout_height="wrap_content"-->
|
|
|
|
-<!-- android:layout_marginTop="10dp"-->
|
|
|
|
-<!-- android:layout_gravity="right"-->
|
|
|
|
-<!-- android:drawablePadding="5dp"-->
|
|
|
|
-<!-- android:text="忘记密码 ?"-->
|
|
|
|
-<!-- android:textColor="#8a8a8a"-->
|
|
|
|
-<!-- android:textSize="12dp"/>-->
|
|
|
|
->>>>>>> 0d1bdea6e8e3fd210d3de0280363f663d60405bc
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/config_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:layout_gravity="right"
|
|
|
|
- android:drawableLeft="@drawable/icon_setting_small"
|
|
|
|
- android:drawablePadding="5dp"
|
|
|
|
- android:text="配置"
|
|
|
|
- android:textColor="#8a8a8a"
|
|
|
|
- android:textSize="12dp" />
|
|
|
|
-
|
|
|
|
- <View
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:minHeight="300dp" />
|
|
|
|
-
|
|
|
|
- <!-- <RadioGroup-->
|
|
|
|
- <!-- android:id="@+id/radioGroup"-->
|
|
|
|
- <!-- android:layout_gravity="right"-->
|
|
|
|
- <!-- android:layout_marginTop="10dp"-->
|
|
|
|
- <!-- android:orientation="vertical"-->
|
|
|
|
- <!-- android:layout_width="wrap_content"-->
|
|
|
|
- <!-- android:layout_height="wrap_content">-->
|
|
|
|
- <!-- <RadioButton-->
|
|
|
|
- <!-- android:id="@+id/radio_01"-->
|
|
|
|
- <!-- android:text="航管局身份"-->
|
|
|
|
- <!-- android:checked="false"-->
|
|
|
|
- <!-- android:textColor="@color/color_black_text"-->
|
|
|
|
- <!-- android:textSize="12dp"-->
|
|
|
|
- <!-- android:layout_width="wrap_content"-->
|
|
|
|
- <!-- android:layout_height="wrap_content"/>-->
|
|
|
|
- <!-- <RadioButton-->
|
|
|
|
- <!-- android:id="@+id/radio_02"-->
|
|
|
|
- <!-- android:text="领导身份"-->
|
|
|
|
- <!-- android:checked="false"-->
|
|
|
|
- <!-- android:textColor="@color/color_black_text"-->
|
|
|
|
- <!-- android:textSize="12dp"-->
|
|
|
|
- <!-- android:layout_width="wrap_content"-->
|
|
|
|
- <!-- android:layout_height="wrap_content"/>-->
|
|
|
|
- <!-- </RadioGroup>-->
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/submit"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_gravity="bottom"
|
|
|
|
- android:layout_marginLeft="22dp"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:layout_marginRight="22dp"
|
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
|
- android:background="@drawable/shape_fillet_bg_blue"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:paddingTop="10dp"
|
|
|
|
- android:paddingBottom="10dp"
|
|
|
|
- android:text="登录"
|
|
|
|
- android:textColor="@color/color_white"
|
|
|
|
- android:textSize="15dp" />
|
|
|
|
|
|
+
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</layout>
|
|
</layout>
|