| 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" |
| 11 android:clickable="true" |
| 12 android:focusableInTouchMode="true" |
| 11 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
| 12 android:layout_height="wrap_content"> | 14 android:layout_height="wrap_content"> |
| 13 <!-- View showing the icon. --> | 15 <!-- View showing the icon. --> |
| 14 <ImageView | 16 <ImageView |
| 15 android:id="@+id/app_icon" | 17 android:id="@+id/app_icon" |
| 16 android:adjustViewBounds="true" | 18 android:adjustViewBounds="true" |
| 17 android:layout_width="wrap_content" | 19 android:layout_width="wrap_content" |
| 18 android:layout_height="@dimen/app_banner_icon_size" | 20 android:layout_height="@dimen/app_banner_icon_size" |
| 19 android:layout_marginEnd="@dimen/app_banner_icon_margin_end" /> | 21 android:layout_marginEnd="@dimen/app_banner_icon_margin_end" /> |
| 20 | 22 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 <!-- View showing how well the app is rated. --> | 61 <!-- View showing how well the app is rated. --> |
| 60 <org.chromium.chrome.browser.banners.RatingView | 62 <org.chromium.chrome.browser.banners.RatingView |
| 61 android:id="@+id/app_rating" | 63 android:id="@+id/app_rating" |
| 62 android:adjustViewBounds="true" | 64 android:adjustViewBounds="true" |
| 63 android:layout_width="wrap_content" | 65 android:layout_width="wrap_content" |
| 64 android:layout_height="@dimen/app_banner_star_height" /> | 66 android:layout_height="@dimen/app_banner_star_height" /> |
| 65 | 67 |
| 66 <!-- Button that closes the banner. --> | 68 <!-- Button that closes the banner. --> |
| 67 <ImageButton | 69 <ImageButton |
| 68 android:id="@+id/close_button" | 70 android:id="@+id/close_button" |
| 71 android:contentDescription="@string/infobar_close" |
| 69 android:adjustViewBounds="true" | 72 android:adjustViewBounds="true" |
| 70 android:src="@drawable/dismiss" | 73 android:src="@drawable/dismiss" |
| 71 android:background="@drawable/app_banner_button_close" | 74 android:background="@drawable/app_banner_button_close" |
| 72 android:padding="@dimen/app_banner_close_button_padding" | 75 android:padding="@dimen/app_banner_close_button_padding" |
| 73 android:layout_width="wrap_content" | 76 android:layout_width="wrap_content" |
| 74 android:layout_height="wrap_content"/> | 77 android:layout_height="wrap_content"/> |
| 75 | 78 |
| 76 <!-- View covering the entire banner. Used to indicate the banner is highli
ghted. --> | 79 <!-- View covering the entire banner. Used to indicate the banner is highli
ghted. --> |
| 77 <View | 80 <View |
| 78 android:id="@+id/banner_highlight" | 81 android:id="@+id/banner_highlight" |
| 79 android:background="@color/app_banner_card_highlight" | 82 android:background="@color/app_banner_card_highlight" |
| 80 android:visibility="gone" | 83 android:visibility="gone" |
| 81 android:layout_width="match_parent" | 84 android:layout_width="match_parent" |
| 82 android:layout_height="match_parent" /> | 85 android:layout_height="match_parent" /> |
| 83 </org.chromium.chrome.browser.banners.AppBannerView> | 86 </org.chromium.chrome.browser.banners.AppBannerView> |
| OLD | NEW |