Computer Science, asked by Ayushsingh9735, 10 months ago

How to enable app cache for webview in android?

Answers

Answered by tanishqmishra
0

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:id="@+id/rl"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:padding="10dp"

tools:context=".MainActivity"

android:background="#fcfdfb"

>

<Button

android:id="@+id/btn_back"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Back"

android:enabled="false"

/>

<Button

android:id="@+id/btn_forward"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Forward"

android:layout_alignParentRight="true"

android:layout_alignParentEnd="true"

android:enabled="false"

/>

<WebView

android:id="@+id/web_view"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:layout_below="@id/btn_back"

/>

</RelativeLayout>

Answered by PRATHAMABD
0

&lt;style&gt; </p><p>#bordering { border: 10px solid transparent;</p><p>  padding: 15px;</p><p>  border-image: URL(border.png) 30 round;}</p><p>&lt;/style&gt;</p><p>&lt;h1&gt;The border-image Property&lt;h1&gt;</p><p>&lt;p&gt;Here, the middle sections of the image are repeated to create the border:&lt;/p&gt;</p><p>&lt;p id="borderimg"&gt;border-image: url(border.png) 30 round;&lt;/p&gt;

Similar questions
Math, 10 months ago