blob: 690b012b6d0539f753fdfdcfcdf0d5ab87441442 [file]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 The Chromium Authors. All rights reserved.
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"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/language_item"
android:layout_marginStart="0dp"
android:paddingStart="@dimen/pref_languages_padding"
android:paddingEnd="@dimen/pref_languages_padding"
style="@style/ListItemContainer">
<org.chromium.ui.widget.ChromeImageView
android:id="@+id/icon_view"
style="@style/ListItemStartIcon"
app:tint="@color/standard_mode_tint" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:layout_gravity="center_vertical" >
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PreferenceTitle" />
<TextView
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PreferenceSummary" />
</LinearLayout>
<org.chromium.chrome.browser.widget.ListMenuButton
android:id="@+id/more"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="@dimen/selectable_list_layout_row_padding"
android:paddingEnd="@dimen/selectable_list_layout_row_padding"
android:background="@null"
android:src="@drawable/ic_more_vert_black_24dp"
app:menuWidth="@dimen/pref_languages_item_popup_width"
app:tint="@color/standard_mode_tint"
tools:ignore="ContentDescription" />
</LinearLayout>