|
|
@@ -7,267 +7,6 @@
|
|
|
android:layout_height="match_parent"
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
- <ScrollView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:fitsSystemWindows="true"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="20dp">
|
|
|
-
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:hint="Server">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.MaterialAutoCompleteTextView
|
|
|
- android:id="@+id/et_server"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
-
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
-
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_server"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="56dp"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:text="Save" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:hint="MCC">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_mcc"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
-
|
|
|
- android:layout_weight="1"
|
|
|
- android:hint="MNC">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_mnc"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:hint="Country">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_country"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="Number">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_number"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:id="@+id/tl_iccid"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="ICCID"
|
|
|
- app:endIconDrawable="@drawable/ic_refresh"
|
|
|
- app:endIconMode="custom">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_iccid"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:id="@+id/tl_imei"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="IMEI"
|
|
|
- app:endIconDrawable="@drawable/ic_refresh"
|
|
|
- app:endIconMode="custom">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_imei"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:id="@+id/tl_imsi"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="IMSI"
|
|
|
- app:endIconDrawable="@drawable/ic_refresh"
|
|
|
- app:endIconMode="custom">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_imsi"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:layout_marginTop="32dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <com.google.android.material.progressindicator.CircularProgressIndicator
|
|
|
- android:id="@+id/progress_save"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:indeterminate="true"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_save"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="56dp"
|
|
|
- android:text="Save" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cb_gsf"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="GSF"></CheckBox>
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cb_gms"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="GMS"></CheckBox>
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cb_sms"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="SMS"></CheckBox>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <com.google.android.material.progressindicator.CircularProgressIndicator
|
|
|
- android:id="@+id/progress_clear"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:indeterminate="true"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_btn"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_clear"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="56dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="Clear" />
|
|
|
-
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_stop"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="56dp"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="Stop" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="OTP">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_otp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="number"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_send"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="56dp"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:text="Send" />
|
|
|
- </LinearLayout>
|
|
|
- </ScrollView>
|
|
|
-
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
android:id="@+id/nav"
|
|
|
android:layout_width="match_parent"
|