105 lines
4.1 KiB
XML
105 lines
4.1 KiB
XML
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
tools:context=".plugins.general.smsCommunicator.fragments.SmsCommunicatorOtpFragment">
|
||
|
|
||
|
<ScrollView
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="fill_parent">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/smscommunicator_otp_layout"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/section_header_label"
|
||
|
android:text="@string/smscommunicator_otp_step1_install_header" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="5sp"
|
||
|
android:layout_marginBottom="5sp"
|
||
|
android:paddingStart="15sp"
|
||
|
android:paddingEnd="15sp"
|
||
|
android:text="@string/smscommunicator_otp_install_info" />
|
||
|
|
||
|
<TextView
|
||
|
style="@style/section_header_label"
|
||
|
android:text="@string/smscommunicator_otp_step2_provisioning_header" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/smscommunicator_otp_provisioning"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:scaleType="center" />
|
||
|
|
||
|
<TextView
|
||
|
style="@style/warning_label"
|
||
|
android:text="" />
|
||
|
|
||
|
<TextView
|
||
|
style="@style/section_header_label"
|
||
|
android:text="@string/smscommunicator_otp_step3_test_header" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingStart="15dp"
|
||
|
android:paddingEnd="5dp"
|
||
|
android:text="@string/smscommunicator_otp_verify_label" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/smscommunicator_otp_verify_edit"
|
||
|
android:layout_width="140sp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:hint="000 000 000"
|
||
|
android:inputType="number"
|
||
|
android:maxLength="12"
|
||
|
android:textAlignment="center"
|
||
|
android:textSize="19sp"
|
||
|
tools:ignore="HardcodedText" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/smscommunicator_otp_verify_label"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingStart="15dp"
|
||
|
android:paddingEnd="5dp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
style="@style/section_header_label"
|
||
|
android:text="@string/smscommunicator_otp_reset_header" />
|
||
|
|
||
|
<TextView
|
||
|
style="@style/warning_label"
|
||
|
android:text="@string/smscommunicator_otp_reset_warning" />
|
||
|
|
||
|
<info.nightscout.androidaps.utils.SingleClickButton
|
||
|
android:id="@+id/actions_smscommunicator_otp_reset"
|
||
|
style="?android:attr/buttonStyle"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="3dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:layout_marginBottom="3dp"
|
||
|
android:text="@string/smscommunicator_otp_reset_btn"
|
||
|
android:textColor="@color/colorTreatmentButton" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
|
||
|
</FrameLayout>
|