android:id="@+id/view_source_coordinatorlayout"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
- tools:context="com.stoutner.privacybrowser.activities.ViewSourceActivity"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:focusable="true"
android:layout_width="match_parent"
android:orientation="vertical" >
+ <!-- The app bar theme must be specified here because the activity uses a `NoActionBar` theme. -->
<com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:background="?android:attr/colorBackground" >
+ android:background="?android:attr/colorBackground"
+ android:theme="@style/PrivacyBrowserAppBar" >
<!-- The frame layout allows the toolbar and the progress bar to occupy the same space. -->
<FrameLayout
android:layout_width="match_parent">
<ScrollView
+ android:id="@+id/view_source_scrollview"
android:layout_height="wrap_content"
android:layout_width="match_parent" >
android:text="@string/request_headers"
android:textAlignment="center"
android:textSize="18sp"
- android:textColor="@color/blue_600"
+ android:textColor="?attr/blueTextColor"
android:textStyle="bold" />
<TextView
android:text="@string/response_message"
android:textAlignment="center"
android:textSize="18sp"
- android:textColor="@color/blue_600"
+ android:textColor="?attr/blueTextColor"
android:textStyle="bold" />
<TextView
android:text="@string/response_headers"
android:textAlignment="center"
android:textSize="18sp"
- android:textColor="@color/blue_600"
+ android:textColor="?attr/blueTextColor"
android:textStyle="bold" />
<TextView
android:text="@string/response_body"
android:textAlignment="center"
android:textSize="18sp"
- android:textColor="@color/blue_600"
+ android:textColor="?attr/blueTextColor"
android:textStyle="bold" />
<TextView