- android:layout_height="match_parent"
- android:layout_marginTop="?attr/actionBarSize"
- tools:context="com.stoutner.privacybrowser.MainWebViewActivity"
- tools:showIn="@layout/coordinator_layout" >
-
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/swipeRefreshLayout"
+ android:layout_weight="1"
+ android:background="@color/gray_900"
+ tools:context="com.stoutner.privacybrowser.activities.MainWebViewActivity"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <!-- This `TextView` has an id of `adView` so that the ad commands (which do nothing in the standard flavor) don't produce errors. -->
+ <TextView
+ android:id="@+id/adview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:visibility="gone" />
+
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
+ android:id="@+id/swiperefreshlayout"