Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2015 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 <LinearLayout | |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 android:layout_width="match_parent" | |
| 9 android:layout_height="wrap_content" | |
| 10 android:minHeight="36dp" | |
| 11 android:gravity="center_vertical"> | |
| 12 | |
| 13 <ImageView | |
| 14 android:id="@+id/control_icon" | |
| 15 android:layout_width="wrap_content" | |
| 16 android:layout_height="wrap_content" | |
| 17 android:layout_marginEnd="@dimen/infobar_control_margin_between_items" | |
| 18 android:scaleType="centerInside" | |
| 19 android:contentDescription="@null" /> | |
| 20 | |
| 21 <org.chromium.chrome.browser.infobar.InfoBarDualControlLayout | |
| 22 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 23 android:layout_width="0dp" | |
| 24 android:layout_height="wrap_content" | |
| 25 android:layout_weight="1" > | |
| 26 | |
| 27 <TextView | |
| 28 android:id="@+id/control_message" | |
| 29 android:layout_width="wrap_content" | |
| 30 android:layout_height="wrap_content" | |
| 31 android:gravity="center_vertical" | |
|
newt (away)
2016/01/05 21:20:53
This gravity doesn't do anything since height is w
gone
2016/01/05 21:43:54
Done.
| |
| 32 android:textSize="@dimen/infobar_text_size" | |
| 33 android:textColor="@color/default_text_color" /> | |
| 34 | |
| 35 <TextView | |
| 36 android:id="@+id/control_secondary_message" | |
| 37 android:layout_width="wrap_content" | |
| 38 android:layout_height="wrap_content" | |
| 39 android:gravity="center_vertical" | |
| 40 android:textSize="@dimen/infobar_text_size" | |
| 41 android:textColor="@color/infobar_descriptive_text_color" /> | |
| 42 | |
| 43 </org.chromium.chrome.browser.infobar.InfoBarDualControlLayout> | |
| 44 | |
| 45 </LinearLayout> | |
| OLD | NEW |