Merge pull request #2009 from Bnyro/fix-no-network-icon-alignment

Fix the misaligned no-network icon
This commit is contained in:
Bnyro 2022-11-23 17:48:55 +01:00 committed by GitHub
commit 7c7ea3b7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,12 +25,14 @@
android:id="@+id/noInternet_imageView" android:id="@+id/noInternet_imageView"
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="200dp" android:layout_height="200dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_no_wifi" /> app:srcCompat="@drawable/ic_no_wifi" />
<TextView <TextView
android:id="@+id/noInternet_textView" android:id="@+id/noInternet_textView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/noInternet" /> android:text="@string/noInternet" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
@ -39,7 +41,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="10dp" android:layout_marginTop="20dp"
android:text="@string/retry" android:text="@string/retry"
android:textColor="?android:attr/colorBackground" android:textColor="?android:attr/colorBackground"
app:elevation="20dp" /> app:elevation="20dp" />