Skip to content

Commit

Permalink
feat: remove unused xml components
Browse files Browse the repository at this point in the history
  • Loading branch information
therajanmaurya committed Mar 1, 2024
1 parent 231f468 commit 7857f14
Showing 1 changed file with 1 addition and 162 deletions.
163 changes: 1 addition & 162 deletions mifospay/src/main/res/layout/activity_mobile_verification.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<layout xmlns:android="http://schemas.android.com/apk/res/android">

<data>

Expand All @@ -16,165 +15,5 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:orientation="vertical">

<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/primaryDarkBlue">

<androidx.appcompat.widget.Toolbar

android:id="@+id/toolbar_mobile_verification"

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/primaryDarkBlue"
android:theme="@style/Theme.AppCompat"
app:popupTheme="@style/ThemeOverlay.AppCompat.ActionBar" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/value_30dp"
android:layout_marginRight="@dimen/value_20dp"
android:orientation="vertical">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:focusableInTouchMode="true"
android:text="@string/enter_mobile_number"
android:textColor="@color/white"
android:textSize="@dimen/value_20sp">

</TextView>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/value_5dp"
android:layout_marginBottom="@dimen/value_10dp"
android:text="@string/enter_mobile_number_description"
android:textColor="@color/white"
android:textSize="@dimen/value_14sp" />

</LinearLayout>

</com.google.android.material.appbar.AppBarLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/value_20dp"
android:layout_marginTop="@dimen/value_20dp"
android:layout_marginRight="@dimen/value_20dp"
android:orientation="horizontal"
android:weightSum="7">

<com.hbb20.CountryCodePicker
android:id="@+id/ccp_code"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_gravity="center_vertical"
android:layout_weight="2.9"
android:gravity="center_vertical"
app:ccp_autoDetectCountry="true"
app:ccp_autoFormatNumber="false" />

<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3.2"
android:hint="@string/mobile">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/et_mobile_number"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:maxLength="@integer/telephone_numbers_max_length_standard" />

</com.google.android.material.textfield.TextInputLayout>

<TextView
android:id="@+id/btn_get_otp"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_gravity="right|center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/value_10dp"
android:layout_weight=".9"
android:background="@drawable/ic_right_arrow" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/value_20dp"
android:layout_marginTop="@dimen/value_10dp"
android:layout_marginRight="@dimen/value_20dp"
android:orientation="horizontal">


<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/otp">

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/et_otp"
android:layout_width="@dimen/value_120dp"
android:layout_height="@dimen/value_60dp"
android:inputType="number"
android:maxLength="@integer/telephone_numbers_max_length_standard"
android:visibility="visible" />

</com.google.android.material.textfield.TextInputLayout>

<ProgressBar
android:id="@+id/progressBar"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/value_10dp"
android:visibility="visible" />

<TextView
android:id="@+id/tv_verifying_otp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/value_10dp"
android:text="@string/verifying_otp_please_wait"
android:visibility="visible" />

</LinearLayout>

</LinearLayout>

<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_gravity="bottom"
android:layout_marginBottom="@dimen/value_20dp"
android:layout_marginRight="@dimen/value_20dp"
android:backgroundTint="@color/primaryDarkBlue"
android:foregroundTint="@color/primaryDarkBlue"
android:scaleType="center"
android:visibility="visible"
app:backgroundTint="@color/primaryDarkBlue"
app:srcCompat="@drawable/ic_next" />

</RelativeLayout>
</layout>

0 comments on commit 7857f14

Please sign in to comment.