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

Unified Diff: chrome/android/java/res/layout/infobar_translate_compact_content.xml

Issue 2771763002: Create a sub direcory for translate custom views. (Closed)
Patch Set: fix 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateCompactInfoBar.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/infobar_translate_compact_content.xml
diff --git a/chrome/android/java/res/layout/infobar_translate_compact_content.xml b/chrome/android/java/res/layout/infobar_translate_compact_content.xml
new file mode 100644
index 0000000000000000000000000000000000000000..9e83cd7cf687e2a31ae7738577bb07cf61ffd47b
--- /dev/null
+++ b/chrome/android/java/res/layout/infobar_translate_compact_content.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 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. -->
+
+<!-- TODO(googleo): Add correct style based on spec and contentDescription. -->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/translate_infobar_content"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <org.chromium.chrome.browser.infobar.translate.TranslateTabLayout
+ android:id="@+id/translate_infobar_tabs"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ app:tabGravity="fill"
+ app:tabMode="scrollable" />
+
+ <ImageButton
+ android:id="@+id/translate_infobar_menu_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="?attr/selectableItemBackground"
+ android:contentDescription="@null"
+ android:src="@drawable/btn_menu" />
+</LinearLayout>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateCompactInfoBar.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698