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

Unified Diff: components/cronet/android/sample/res/layout/activity_main.xml

Issue 1221513002: Update the cronet sample app with new async APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add WritableByteChannel Created 5 years, 5 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: components/cronet/android/sample/res/layout/activity_main.xml
diff --git a/components/cronet/android/sample/res/layout/activity_main.xml b/components/cronet/android/sample/res/layout/activity_main.xml
new file mode 100644
index 0000000000000000000000000000000000000000..546414f5bb1c3b5980cf57be921cc04aae153b87
--- /dev/null
+++ b/components/cronet/android/sample/res/layout/activity_main.xml
@@ -0,0 +1,21 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
+ android:layout_height="match_parent" android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".CronetSampleActivity">
+
+ <TextView
+ android:id="@+id/resultView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true" />
+
+ <TextView
+ android:id="@+id/dataView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="26dp"
+ android:layout_below="@id/resultView" />
+
+</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698