| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright 2023 The Chromium Authors | |
| Use of this source code is governed by a BSD-style license that can be | |
| found in the LICENSE file. | |
| --> | |
| <!-- A site suggestion tile. --> | |
| <FrameLayout android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:id="@+id/mv_tiles_container" | |
| android:visibility="gone" | |
| android:orientation="vertical" | |
| android:layout_gravity="center_horizontal" | |
| android:layout_marginTop="@dimen/mvt_container_top_margin" | |
| android:layout_marginLeft="@dimen/mvt_container_lateral_margin" | |
| android:layout_marginRight="@dimen/mvt_container_lateral_margin" | |
| android:paddingTop="@dimen/mvt_container_top_padding" | |
| android:paddingBottom="@dimen/mvt_container_bottom_padding" | |
| android:background="@drawable/home_surface_ui_background" | |
| app:layout_scrollFlags="scroll"> | |
| <ViewStub | |
| android:id="@+id/mv_tiles_layout_stub" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout="@layout/mv_tiles_layout" /> | |
| <!-- Site suggestion tile grid placeholder --> | |
| <ViewStub | |
| android:id="@+id/mv_tiles_placeholder_stub" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:inflatedId="@+id/tile_grid_placeholder" | |
| android:layout="@layout/new_tab_page_tile_grid_placeholder" /> | |
| </FrameLayout> |