Implement showing authentication progress
This commit is contained in:
@@ -6,6 +6,14 @@
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.auth.AuthenticationFragment">
|
||||
|
||||
<com.google.android.material.progressindicator.LinearProgressIndicator
|
||||
android:id="@+id/progress"
|
||||
style="@style/IndeterminateProgress"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/email_input_layout"
|
||||
style="@style/SmallMarginTextInputLayoutStyle"
|
||||
|
||||
@@ -6,6 +6,14 @@
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.baseurl.BaseURLFragment">
|
||||
|
||||
<com.google.android.material.progressindicator.LinearProgressIndicator
|
||||
android:id="@+id/progress"
|
||||
style="@style/IndeterminateProgress"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/url_input_layout"
|
||||
style="@style/SmallMarginTextInputLayoutStyle"
|
||||
|
||||
@@ -28,4 +28,11 @@
|
||||
<item name="shapeAppearanceOverlay">@null</item>
|
||||
<item name="android:background">@drawable/recipe_info_background</item>
|
||||
</style>
|
||||
|
||||
<style name="IndeterminateProgress">
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:indeterminate">true</item>
|
||||
<item name="android:visibility">gone</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user