summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/app_bar_main.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-02-12 16:53:03 -0300
committerTorsten Grote <t@grobox.de>2020-02-12 17:09:09 -0300
commitada382885e9c103fe0795817a8585270a3079302 (patch)
tree3da610aa39d2c767307d974d54f2f4eb32be9188 /app/src/main/res/layout/app_bar_main.xml
parentc20a7945f2b37863264c3b9bdcc85454018bd4cd (diff)
downloadwallet-android-ada382885e9c103fe0795817a8585270a3079302.tar.gz
wallet-android-ada382885e9c103fe0795817a8585270a3079302.tar.bz2
wallet-android-ada382885e9c103fe0795817a8585270a3079302.zip
Refactor payment code to make it easier to extend
Diffstat (limited to 'app/src/main/res/layout/app_bar_main.xml')
-rw-r--r--app/src/main/res/layout/app_bar_main.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml
index 7bf5acd..51d3242 100644
--- a/app/src/main/res/layout/app_bar_main.xml
+++ b/app/src/main/res/layout/app_bar_main.xml
@@ -23,15 +23,18 @@
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/>
+
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
android:id="@+id/progress_bar"
+ style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="4dp"
+ android:layout_alignParentBottom="true"
android:indeterminate="true"
+ android:visibility="invisible"
app:mpb_progressStyle="horizontal"
app:mpb_useIntrinsicPadding="false"
- android:layout_alignParentBottom="true"
- style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"/>
+ tools:visibility="visible" />
</RelativeLayout>
</com.google.android.material.appbar.AppBarLayout>