|
|
@@ -9,131 +9,340 @@
|
|
|
android:orientation="vertical"
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingHorizontal="16dp">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:hint="ICCID">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_iccid"
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:inputType="numberDecimal"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:hint="ICCID">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_iccid"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:inputType="numberDecimal"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_read_iccid"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="READ" />
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_write_iccid"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_iccid"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_iccid"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:text="WRITE" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="IMSI">
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="IMSI">
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_imsi"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:inputType="numberDecimal"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_imsi"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:inputType="numberDecimal"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_imsi"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_read_imsi"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_imsi"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="READ" />
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="MSISDN">
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_write_imsi"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_msisdn"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:inputType="numberDecimal"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:text="WRITE" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_msisdn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_msisdn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:hint="MSISDN">
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_msisdn"
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:inputType="numberDecimal"
|
|
|
- android:lines="1" />
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="PLMN">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_plmn"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789,"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_read_msisdn"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="READ" />
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- android:id="@+id/btn_write_msisdn"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_plmn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_plmn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:text="WRITE" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="EHPLMN">
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/btn_reset"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:text="RESET" />
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_ehplmn"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789,"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/btn_plmn"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:text="PLMN" />
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_ehplmn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_ehplmn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="FPLMN">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_fplmn"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789,"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_fplmn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_fplmn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="PLMNwAcT">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_plmnwact"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789,"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_plmnwact"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_plmnwact"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="OPLMNwAcT">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_oplmnwact"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789,"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_oplmnwact"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_oplmnwact"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:hint="HPLMNwAcT">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_hplmnwact"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789,"
|
|
|
+ android:lines="1" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_read_hplmnwact"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="READ" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/btn_write_hplmnwact"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:text="WRITE" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_reset"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:text="RESET" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|