download file and ask for permissions to write into storage
This commit is contained in:
18
app/src/main/res/layout/custom_toast_error.xml
Normal file
18
app/src/main/res/layout/custom_toast_error.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/custom_toast_container"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:padding="15dp"
|
||||
android:background="@drawable/round_corners"
|
||||
android:backgroundTint="@color/toastBackground">
|
||||
|
||||
<TextView android:id="@+id/toastText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/darkRed"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center" />
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user