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

Side by Side Diff: chrome/android/java/res/layout/infobar_translate_compact_content.xml

Issue 2788343002: Translate page in the new UI. (Closed)
Patch Set: compact unit test Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <!-- TODO(googleo): Add correct style based on spec and contentDescription. --> 6 <!-- TODO(googleo): Add correct style based on spec and contentDescription. -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:app="http://schemas.android.com/apk/res-auto" 8 xmlns:app="http://schemas.android.com/apk/res-auto"
9 android:id="@+id/translate_infobar_content" 9 android:id="@+id/translate_infobar_content"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="wrap_content" 11 android:layout_height="wrap_content"
12 android:gravity="center_vertical" 12 android:gravity="center_vertical"
13 android:orientation="horizontal"> 13 android:orientation="horizontal">
14 14
15 <org.chromium.chrome.browser.infobar.translate.TranslateTabLayout 15 <org.chromium.chrome.browser.infobar.translate.TranslateTabLayout
16 android:id="@+id/translate_infobar_tabs" 16 android:id="@+id/translate_infobar_tabs"
17 android:layout_width="0dp" 17 android:layout_width="0dp"
18 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
19 android:layout_weight="1" 19 android:layout_weight="1"
20 android:requiresFadingEdge="horizontal"
21 android:fadingEdgeLength="@dimen/infobar_translate_fade_edge_length"
22 app:tabIndicatorColor="@color/infobar_accent_blue"
20 app:tabGravity="fill" 23 app:tabGravity="fill"
21 app:tabMode="scrollable" /> 24 app:tabMode="scrollable" />
22 25
23 <ImageButton 26 <ImageButton
24 android:id="@+id/translate_infobar_menu_button" 27 android:id="@+id/translate_infobar_menu_button"
25 android:layout_width="wrap_content" 28 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" 29 android:layout_height="wrap_content"
30 android:minHeight="@dimen/min_touch_target_size"
31 android:minWidth="@dimen/min_touch_target_size"
32 android:scaleType="center"
27 android:background="?attr/selectableItemBackground" 33 android:background="?attr/selectableItemBackground"
28 android:contentDescription="@null" 34 android:contentDescription="@null"
29 android:src="@drawable/btn_menu" /> 35 android:src="@drawable/btn_menu" />
30 </LinearLayout> 36 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698