| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2014 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 | 6 |
| 7 <org.chromium.chrome.browser.banners.AppBannerView | 7 <org.chromium.chrome.browser.banners.AppBannerView |
| 8 xmlns:android="http://schemas.android.com/apk/res/android" | 8 xmlns:android="http://schemas.android.com/apk/res/android" |
| 9 android:id="@+id/app_banner_view" | 9 android:id="@+id/app_banner_view" |
| 10 android:background="@drawable/card_background_default" | 10 android:background="@drawable/card_background_default" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 android:id="@+id/app_rating" | 64 android:id="@+id/app_rating" |
| 65 android:adjustViewBounds="true" | 65 android:adjustViewBounds="true" |
| 66 android:layout_width="wrap_content" | 66 android:layout_width="wrap_content" |
| 67 android:layout_height="@dimen/app_banner_star_height" /> | 67 android:layout_height="@dimen/app_banner_star_height" /> |
| 68 | 68 |
| 69 <!-- Button that closes the banner. --> | 69 <!-- Button that closes the banner. --> |
| 70 <ImageButton | 70 <ImageButton |
| 71 android:id="@+id/close_button" | 71 android:id="@+id/close_button" |
| 72 android:contentDescription="@string/infobar_close" | 72 android:contentDescription="@string/infobar_close" |
| 73 android:adjustViewBounds="true" | 73 android:adjustViewBounds="true" |
| 74 android:src="@drawable/dismiss" | 74 android:src="@drawable/infobar_close_button" |
| 75 android:background="@drawable/app_banner_button_close" | 75 android:background="@drawable/app_banner_button_close" |
| 76 android:padding="@dimen/app_banner_close_button_padding" | 76 android:padding="@dimen/app_banner_close_button_padding" |
| 77 android:layout_width="wrap_content" | 77 android:layout_width="wrap_content" |
| 78 android:layout_height="wrap_content"/> | 78 android:layout_height="wrap_content"/> |
| 79 | 79 |
| 80 <!-- View covering the entire banner. Used to indicate the banner is highli
ghted. --> | 80 <!-- View covering the entire banner. Used to indicate the banner is highli
ghted. --> |
| 81 <View | 81 <View |
| 82 android:id="@+id/banner_highlight" | 82 android:id="@+id/banner_highlight" |
| 83 android:background="@color/app_banner_card_highlight" | 83 android:background="@color/app_banner_card_highlight" |
| 84 android:visibility="gone" | 84 android:visibility="gone" |
| 85 android:layout_width="match_parent" | 85 android:layout_width="match_parent" |
| 86 android:layout_height="match_parent" /> | 86 android:layout_height="match_parent" /> |
| 87 </org.chromium.chrome.browser.banners.AppBannerView> | 87 </org.chromium.chrome.browser.banners.AppBannerView> |
| OLD | NEW |