| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout 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:fitsSystemWindows="true"
- tools:context=".MainActivity">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- 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.FilledBox.ExposedDropdownMenu"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- 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/refreshoutlined"
- app:endIconMode="custom"
- app:endIconTint="@color/design_default_color_primary_dark">
- <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/refreshoutlined"
- app:endIconMode="custom"
- app:endIconTint="@color/design_default_color_primary_dark">
- <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/refreshoutlined"
- app:endIconMode="custom"
- app:endIconTint="@color/design_default_color_primary_dark">
- <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>
- </androidx.constraintlayout.widget.ConstraintLayout>
|