Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 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 <org.chromium.chrome.browser.widget.BottomSheet | 6 <org.chromium.chrome.browser.widget.BottomSheet |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 android:id="@+id/bottom_sheet" | 8 android:id="@+id/bottom_sheet" |
| 9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
| 10 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 android:id="@+id/find_toolbar_stub" | 37 android:id="@+id/find_toolbar_stub" |
| 38 android:inflatedId="@+id/find_toolbar" | 38 android:inflatedId="@+id/find_toolbar" |
| 39 android:layout_marginTop="@dimen/toolbar_shadow_height" | 39 android:layout_marginTop="@dimen/toolbar_shadow_height" |
| 40 android:layout_width="match_parent" | 40 android:layout_width="match_parent" |
| 41 android:layout_height="@dimen/toolbar_height_no_shadow" | 41 android:layout_height="@dimen/toolbar_height_no_shadow" |
| 42 android:layout="@layout/find_toolbar" | 42 android:layout="@layout/find_toolbar" |
| 43 android:visibility="gone" /> | 43 android:visibility="gone" /> |
| 44 </view> | 44 </view> |
| 45 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer> | 45 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer> |
| 46 | 46 |
| 47 <View | 47 <FrameLayout |
| 48 android:id="@+id/bottom_sheet_content" | 48 android:id="@+id/bottom_sheet_content" |
| 49 android:layout_width="match_parent" | 49 android:layout_width="match_parent" |
| 50 android:layout_height="match_parent" | 50 android:layout_height="match_parent"> |
| 51 android:background="@android:color/white" /> | 51 |
| 52 <View | |
| 53 android:layout_width="match_parent" | |
|
Ian Wen
2017/01/25 19:55:44
SetWillDraw() can help you draw white background f
mdjones
2017/01/25 19:57:25
Removed the need for this.
| |
| 54 android:layout_height="match_parent" | |
| 55 android:background="@android:color/white" /> | |
| 56 | |
| 57 </FrameLayout> | |
| 52 | 58 |
| 53 </org.chromium.chrome.browser.widget.BottomSheet> | 59 </org.chromium.chrome.browser.widget.BottomSheet> |
| OLD | NEW |