You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
182 lines
6.5 KiB
182 lines
6.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_140dp"
|
|
android:background="@color/c_2964da"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/sw_26dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:id="@+id/tvName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="请登录"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sw_22sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvCompany"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/sw_6dp"
|
|
android:text="某工程"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sw_15sp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llSwitchProject"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_48dp"
|
|
android:layout_marginTop="@dimen/sw_8dp"
|
|
android:background="@color/white"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/sw_16dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/llTop">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawablePadding="@dimen/sw_16dp"
|
|
android:text="@string/switch_project"
|
|
android:textColor="@color/text_color_1"
|
|
android:textSize="@dimen/sw_15sp"
|
|
app:drawableLeftCompat="@drawable/switch_project" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<include
|
|
layout="@layout/line_hor"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_0_5dp"
|
|
android:layout_marginStart="@dimen/sw_45dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llChangePwd"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_48dp"
|
|
android:background="@color/white"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/sw_16dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/llTop">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawablePadding="@dimen/sw_16dp"
|
|
android:text="@string/change_pwd"
|
|
android:textColor="@color/text_color_1"
|
|
android:textSize="@dimen/sw_15sp"
|
|
app:drawableStartCompat="@drawable/change_pwd" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<include
|
|
layout="@layout/line_hor"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_0_5dp"
|
|
android:layout_marginStart="@dimen/sw_45dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llAbout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_48dp"
|
|
android:background="@color/white"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/sw_16dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/llTop">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawablePadding="@dimen/sw_16dp"
|
|
android:text="@string/about"
|
|
android:textColor="@color/text_color_1"
|
|
android:textSize="@dimen/sw_15sp"
|
|
app:drawableStartCompat="@drawable/about" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/arrow_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llLogin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_48dp"
|
|
android:layout_marginTop="@dimen/sw_8dp"
|
|
android:background="@color/white"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/sw_16dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/llTop">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/login"
|
|
android:textColor="@color/text_color_1"
|
|
android:textSize="@dimen/sw_15sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llLoginOut"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/sw_48dp"
|
|
android:layout_marginTop="@dimen/sw_8dp"
|
|
android:background="@color/white"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/sw_16dp"
|
|
android:visibility="gone"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/llTop">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/login_out"
|
|
android:textColor="@color/text_color_1"
|
|
android:textSize="@dimen/sw_15sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |