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

Unified Diff: remoting/android/host/res/layout/main.xml

Issue 1896293002: [remoting android] Display IT2Me host state and access-code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@android-host-state-changed
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « no previous file | remoting/android/host/src/org/chromium/chromoting/host/MainActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/host/res/layout/main.xml
diff --git a/remoting/android/host/res/layout/main.xml b/remoting/android/host/res/layout/main.xml
index 33669177b225d73a9991c75e71567eb90ddbd5be..eb031bb701e6adac9bb25527f1403b31a936d672 100644
--- a/remoting/android/host/res/layout/main.xml
+++ b/remoting/android/host/res/layout/main.xml
@@ -15,10 +15,33 @@
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:elevation="4dp"/>
- <Button
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:text="Share"
- android:onClick="onShareClicked"/>
+ android:orientation="horizontal">
+ <Button
+ android:id="@+id/share_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Share"
+ android:onClick="onShareClicked"/>
+ <Button
+ android:id="@+id/disconnect_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Disconnect"
+ android:onClick="onDisconnectClicked"/>
+ </LinearLayout>
+ <TextView
+ android:id="@+id/status_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"/>
+ <TextView
+ android:id="@+id/access_code"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:textAppearance="@style/TextAppearance.AppCompat.Large"/>
</LinearLayout>
« no previous file with comments | « no previous file | remoting/android/host/src/org/chromium/chromoting/host/MainActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698