mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Merge pull request #2009 from Bnyro/fix-no-network-icon-alignment
Fix the misaligned no-network icon
This commit is contained in:
commit
7c7ea3b7a8
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user