]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/activity_webview.xml
Remove swipe to refresh and add app bar scrolling (which appear to not be compatible...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / activity_webview.xml
1 <!-- nextedScrollingEnabled is required to enable scrolling of the actionBar. -->
2 <ScrollView
3     android:id="@+id/scrollView"
4     xmlns:android="http://schemas.android.com/apk/res/android"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     android:nestedScrollingEnabled="true" >
8
9         <!-- layout_marginTop is required to force the top of the website below the overlayed actionBar. -->
10         <WebView
11             android:id="@+id/mainWebView"
12             android:layout_width="match_parent"
13             android:layout_height="wrap_content"
14             android:focusable="true"
15             android:focusableInTouchMode="true"
16             android:layout_marginTop="?attr/actionBarSize"/>
17
18 </ScrollView>