Add back button to the Image view

This commit is contained in:
2020-12-12 18:37:30 +01:00
parent 59c307323f
commit 41386adf4e
2 changed files with 21 additions and 7 deletions

View File

@@ -1,11 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/backButton"
style="?android:borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
app:background="@android:color/transparent"
app:backgroundTint="@null"
app:rippleColor="@null"
app:srcCompat="?attr/homeAsUpIndicator" />
<WebView
android:id="@+id/webcontent"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>