| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 android:id="@+id/app_rating" | 68 android:id="@+id/app_rating" |
| 69 android:adjustViewBounds="true" | 69 android:adjustViewBounds="true" |
| 70 android:layout_width="wrap_content" | 70 android:layout_width="wrap_content" |
| 71 android:layout_height="@dimen/app_banner_star_height" /> | 71 android:layout_height="@dimen/app_banner_star_height" /> |
| 72 | 72 |
| 73 <!-- Button that closes the banner. --> | 73 <!-- Button that closes the banner. --> |
| 74 <ImageButton | 74 <ImageButton |
| 75 android:id="@+id/close_button" | 75 android:id="@+id/close_button" |
| 76 android:contentDescription="@string/infobar_close" | 76 android:contentDescription="@string/infobar_close" |
| 77 android:adjustViewBounds="true" | 77 android:adjustViewBounds="true" |
| 78 android:src="@drawable/infobar_close_button" | 78 android:src="@drawable/btn_close" |
| 79 android:background="@drawable/app_banner_button_close" | 79 android:background="@drawable/app_banner_button_close" |
| 80 android:padding="@dimen/app_banner_close_button_padding" | 80 android:padding="@dimen/app_banner_close_button_padding" |
| 81 android:layout_width="wrap_content" | 81 android:layout_width="wrap_content" |
| 82 android:layout_height="wrap_content"/> | 82 android:layout_height="wrap_content"/> |
| 83 | 83 |
| 84 <!-- View covering the entire banner. Used to indicate the banner is hi
ghlighted. --> | 84 <!-- View covering the entire banner. Used to indicate the banner is hi
ghlighted. --> |
| 85 <View | 85 <View |
| 86 android:id="@+id/banner_highlight" | 86 android:id="@+id/banner_highlight" |
| 87 android:background="@color/app_banner_card_highlight" | 87 android:background="@color/app_banner_card_highlight" |
| 88 android:visibility="gone" | 88 android:visibility="gone" |
| 89 android:layout_width="match_parent" | 89 android:layout_width="match_parent" |
| 90 android:layout_height="match_parent" /> | 90 android:layout_height="match_parent" /> |
| 91 </FrameLayout> | 91 </FrameLayout> |
| 92 </org.chromium.chrome.browser.banners.AppBannerView> | 92 </org.chromium.chrome.browser.banners.AppBannerView> |
| OLD | NEW |