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

Unified Diff: components/cronet/android/sample/res/layout/dialog_url.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/dialog_url.xml
diff --git a/components/cronet/android/sample/res/layout/dialog_url.xml b/components/cronet/android/sample/res/layout/dialog_url.xml
new file mode 100644
index 0000000000000000000000000000000000000000..29cf9c66bf03ad679a0a7718a71abbf178917fb4
--- /dev/null
+++ b/components/cronet/android/sample/res/layout/dialog_url.xml
@@ -0,0 +1,36 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/urlView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="6dp"
+ android:layout_marginStart="4dp"
+ android:textSize="16sp"
+ android:text="@string/urlText" />
+
+ <EditText
+ android:id="@+id/urlText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textUri" />
+
+ <TextView
+ android:id="@+id/postView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="26dp"
+ android:layout_marginStart="4dp"
+ android:textSize="16sp"
+ android:text="@string/postText" />
+
+ <EditText
+ android:id="@+id/postText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text" />
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698