Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: tools/android/customtabs_benchmark/res/layout/activity_web_view.xml

Issue 2722733004: customtabs: Benchmark app for WebView / Custom Tabs comparisons. (Closed)
Patch Set: . Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/android/customtabs_benchmark/res/layout/activity_web_view.xml
diff --git a/tools/android/customtabs_benchmark/res/layout/activity_web_view.xml b/tools/android/customtabs_benchmark/res/layout/activity_web_view.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ed13643f4d4f94e68e3b89d9ade87b6f698277b3
--- /dev/null
+++ b/tools/android/customtabs_benchmark/res/layout/activity_web_view.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2017 The Chromium Authors. All rights reserved. Use of
+ this source code is governed by a BSD-style license that can be found
+ in the LICENSE file. -->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/activity_web_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context="org.chromium.customtabs.test.WebViewActivity"
+ android:orientation="vertical">
+
+ <ProgressBar
+ style="@android:style/Widget.Material.Light.ProgressBar.Horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/progress_bar"
+ android:max="100" />
+
+ <WebView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_margin="0dp"
+ android:padding="0dp"
+ android:id="@+id/webview"
+ android:visibility="visible"/>
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698