clean up the layout & polished Mensa credit dialog
* don't crash if the nfc tag has been removed between triggering intent and connecting to the tag * closes #21
This commit is contained in:
17
app/src/main/res/layouts/dialogs/layout/dialog_loading.xml
Normal file
17
app/src/main/res/layouts/dialogs/layout/dialog_loading.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" android:gravity="center" android:paddingBottom="9dp">
|
||||
|
||||
<ProgressBar
|
||||
style="?android:attr/progressBarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/progressBar"/>
|
||||
<TextView
|
||||
android:text="@string/loading_timetable"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" android:id="@+id/textView2" android:gravity="center"
|
||||
android:textSize="18sp"/>
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user