Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 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 | |
| 4 found in the LICENSE file. --> | |
| 5 | |
| 6 <org.chromium.chrome.browser.infobar.translate.TranslateTabContent | |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 android:id="@+id/translate_tabcontent" | |
| 9 android:layout_width="wrap_content" | |
| 10 android:layout_height="wrap_content"> | |
| 11 <!-- Add both the textView and progressBar to the tab, and only keep one of them visible. | |
| 12 This way the width of the Tab will always be fixed no matter which one is visible. --> | |
| 13 <TextView | |
| 14 android:id="@+id/translate_infobar_tab_text" | |
| 15 android:layout_width="wrap_content" | |
| 16 android:layout_height="wrap_content" | |
| 17 android:layout_gravity="center" | |
| 18 android:visibility="visible"/> | |
|
gone
2017/03/29 17:04:10
I prefer keeping a space between the " and the />,
Marti Wong
2017/03/29 23:38:07
Done.
| |
| 19 <ProgressBar | |
| 20 android:id="@+id/translate_infobar_tab_progressbar" | |
| 21 android:layout_width="@dimen/infobar_small_icon_size" | |
| 22 android:layout_height="@dimen/infobar_small_icon_size" | |
| 23 android:layout_gravity="center" | |
| 24 android:indeterminate="true" | |
| 25 android:visibility="invisible" /> | |
| 26 </org.chromium.chrome.browser.infobar.translate.TranslateTabContent> | |
| OLD | NEW |