Initial commit

This commit is contained in:
2021-02-18 13:55:03 +03:00
parent 12cb5eb34c
commit 88dddcb133
315 changed files with 16030 additions and 81 deletions
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/errorView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:windowBackground"
android:gravity="center"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="match_parent"
android:layout_height="128dp"
android:src="@drawable/ic_error" />
<TextView
android:id="@+id/errorText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="48dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="48dp"
android:fontFamily="@font/tt_commons_regular"
android:text="@string/error_default_text"
android:textAppearance="?android:textAppearanceMedium"
android:textSize="18sp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/errorViewRefresh"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:fontFamily="@font/roboto_regular"
android:letterSpacing="0"
android:paddingStart="12dp"
android:paddingTop="6dp"
android:paddingEnd="14dp"
android:paddingBottom="6dp"
android:text="@string/refresh"
android:textAllCaps="false"
android:textColor="?android:textColorPrimary"
app:backgroundTint="@android:color/transparent"
app:cornerRadius="24dp"
app:icon="@drawable/ic_refresh"
app:iconTint="?colorAccent"
app:rippleColor="?colorAccent"
app:strokeWidth="1dp" />
</LinearLayout>