chromium/chrome/browser/language/android/java/res/layout/app_language_prompt_content.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/list_content"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    >

    <TextView
        android:id="@+id/subtitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="24dp"
        android:layout_marginBottom="8dp"
        android:textDirection="locale"
        app:leading="@dimen/text_size_medium_leading"
        android:text="@string/languages_srp_subtitle"
        style="@style/TextAppearance.TextMedium.Secondary" />


    <!-- FrameLayout is used for top and bottom shadow on RecyclerView -->
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/app_language_prompt_content_recycler_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scrollbars="vertical"
            />

        <ImageView
            android:id="@+id/top_shadow"
            android:layout_width="match_parent"
            android:layout_height="@dimen/toolbar_shadow_height"
            android:src="@drawable/modern_toolbar_shadow"
            android:scaleType="fitXY"
            android:importantForAccessibility="no"
            android:layout_gravity="top" />

        <ImageView
            android:id="@+id/bottom_shadow"
            android:layout_width="match_parent"
            android:layout_height="@dimen/toolbar_shadow_height"
            android:src="@drawable/modern_toolbar_shadow"
            android:scaleType="fitXY"
            android:scaleY="-1"
            android:importantForAccessibility="no"
            android:layout_gravity="bottom" />
    </FrameLayout>

</LinearLayout>