forked from PeterCxy/OpenEUICC
135 lines
5.8 KiB
XML
135 lines
5.8 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/Theme.OpenEUICC"
|
|
android:elevation="4dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintWidth_percent="1"
|
|
app:navigationIcon="?homeAsUpIndicator" />
|
|
|
|
<View
|
|
android:id="@+id/guideline"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:orientation="vertical"
|
|
android:visibility="invisible"
|
|
app:layout_constraintBottom_toBottomOf="@id/toolbar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintBottom_toTopOf="@id/guideline"
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/profile_download_server"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:hint="@string/profile_download_server"
|
|
style="@style/Widget.OpenEUICC.Input"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintWidth_percent=".8">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:theme="@style/Theme.OpenEUICC.Input.Cursor"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/profile_download_code"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="15dp"
|
|
android:hint="@string/profile_download_code"
|
|
style="@style/Widget.OpenEUICC.Input"
|
|
app:layout_constraintTop_toBottomOf="@id/profile_download_server"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintWidth_percent=".8"
|
|
app:passwordToggleEnabled="true">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:inputType="textPassword"
|
|
android:theme="@style/Theme.OpenEUICC.Input.Cursor"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/profile_download_confirmation_code"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="15dp"
|
|
android:hint="@string/profile_download_confirmation_code"
|
|
style="@style/Widget.OpenEUICC.Input"
|
|
app:layout_constraintTop_toBottomOf="@id/profile_download_code"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintWidth_percent=".8"
|
|
app:passwordToggleEnabled="true">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:inputType="textPassword"
|
|
android:theme="@style/Theme.OpenEUICC.Input.Cursor"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/profile_download_imei"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginBottom="6dp"
|
|
android:hint="@string/profile_download_imei"
|
|
style="@style/Widget.OpenEUICC.Input"
|
|
app:layout_constraintTop_toBottomOf="@id/profile_download_confirmation_code"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintBottom_toTopOf="@id/profile_download_free_space"
|
|
app:layout_constraintWidth_percent=".8"
|
|
app:passwordToggleEnabled="true">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:inputType="textPassword"
|
|
android:theme="@style/Theme.OpenEUICC.Input.Cursor"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/profile_download_free_space"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:textSize="11sp"
|
|
android:layout_marginBottom="4dp"
|
|
app:layout_constraintTop_toBottomOf="@id/profile_download_imei"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |