141 lines
5.5 KiB
XML
141 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white"
|
|
tools:context=".liveVideo.WiFiManagementActivity">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/topBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivBack"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="16dp"
|
|
android:src="@drawable/back"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wiFi_management"
|
|
android:textColor="@color/black"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:background="@drawable/textinput_white_bg"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="16dp">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_wifi" />
|
|
|
|
<EditText
|
|
android:id="@+id/etWifiName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_weight="1"
|
|
android:background="@null"
|
|
android:hint="@string/enter_wifi_name"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp" />
|
|
|
|
<android.widget.Button
|
|
android:id="@+id/btnSelectWifi"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="32dp"
|
|
android:layout_marginStart="12dp"
|
|
android:background="@drawable/rounded_blue_bg"
|
|
android:text="@string/select_wifi"
|
|
android:textColor="@color/white"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/textinput_white_bg"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="16dp">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_lock" />
|
|
|
|
<EditText
|
|
android:id="@+id/etWifiPassword"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:background="@null"
|
|
android:hint="@string/enter_wifi_password"
|
|
android:inputType="textPassword"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/maskView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#80000000"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottomButtonLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="vertical"
|
|
android:layout_marginBottom="60dp"
|
|
android:padding="16dp">
|
|
|
|
<android.widget.Button
|
|
android:id="@+id/btnConfirm"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:background="@drawable/rounded_blue_bg"
|
|
android:text="@string/confirm"
|
|
android:textColor="@color/white"
|
|
android:textSize="16dp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |