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

Unified Diff: remoting/resources/android/layout/account_selected.xml

Issue 165743002: Implement account switcher as action-bar navigation spinner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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: remoting/resources/android/layout/account_selected.xml
diff --git a/remoting/resources/android/layout/account_selected.xml b/remoting/resources/android/layout/account_selected.xml
new file mode 100644
index 0000000000000000000000000000000000000000..cbf523a7c0853976de3518a10c76606da9dcf693
--- /dev/null
+++ b/remoting/resources/android/layout/account_selected.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- Copyright 2014 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"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_vertical|start"
+ android:orientation="vertical">
+ <TextView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/action_bar_title_top_margin"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:text="@string/product_name"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textSize="@dimen/action_bar_title_text_size"/>
+ <TextView android:id="@+id/account_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/action_bar_subtitle_top_margin"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textSize="@dimen/action_bar_subtitle_text_size"/>
+</LinearLayout>
« no previous file with comments | « remoting/resources/android/layout/account_dropdown.xml ('k') | remoting/resources/android/menu/chromoting_actionbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698