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

Unified Diff: tools/android/customtabs_benchmark/res/layout/main.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/main.xml
diff --git a/tools/android/customtabs_benchmark/res/layout/main.xml b/tools/android/customtabs_benchmark/res/layout/main.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6c3a9b0483df8bb9c848e3a0b2145a7382f52045
--- /dev/null
+++ b/tools/android/customtabs_benchmark/res/layout/main.xml
@@ -0,0 +1,63 @@
+<?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"
+ android:id="@+id/activity_main"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="16dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:paddingTop="16dp"
+ tools:context="org.chromium.customtabs.test.MainActivity"
+ android:orientation="vertical">
+
+ <TextView
+ android:text="@string/url_to_load"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/textView3"
+ android:labelFor="@+id/url_text" />
+
+ <EditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textUri"
+ android:text="@string/default_url"
+ android:ems="10"
+ android:id="@+id/url_text" />
+ <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+ <RadioButton android:id="@+id/radio_chrome"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/chrome"
+ android:checked="true" />
+ <RadioButton android:id="@+id/radio_webview"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/webview"/>
+ </RadioGroup>
+
+ <CheckBox
+ android:text="@string/warmup"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/warmup_checkbox" />
+
+ <Button
+ android:text="@string/go"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/go_button" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/textView4" />
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698