• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2018 The ANGLE Project Authors. All rights reserved.  Use of this
4  source code is governed by a BSD-style license that can be found in the
5  LICENSE file.
6-->
7
8<resources xmlns:android="http://schemas.android.com/apk/res/android">
9    <style name="PreferenceFragmentListSinglePane" parent="@*android:style/PreferenceFragmentList">
10        <item name="android:paddingStart">@dimen/settings_side_margin</item>
11        <item name="android:paddingEnd">@dimen/settings_side_margin</item>
12        <item name="android:layout_marginStart">0dp</item>
13        <item name="android:layout_marginEnd">0dp</item>
14        <item name="android:scrollbarStyle">outsideOverlay</item>
15    </style>
16
17    <style name="MultiSelectDialogStyle" parent="@style/Preference.Material">
18        <item name="negativeButtonText">@android:string/cancel</item>
19        <item name="positiveButtonText">@android:string/ok</item>
20    </style>
21
22    <style name="SettingsPreferenceFragmentStyle" parent="@style/PreferenceFragment.Material">
23        <item name="android:layout">@layout/preference_list_fragment</item>
24    </style>
25
26    <style name="PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">
27      <item name="preferenceFragmentStyle">@style/SettingsPreferenceFragmentStyle</item>
28      <item name="dialogPreferenceStyle">@style/MultiSelectDialogStyle</item>
29    </style>
30
31    <style name="Theme.Settings" parent="@android:style/Theme.DeviceDefault.Settings" >
32      <item name="preferenceTheme">@style/PreferenceTheme</item>
33    </style>
34</resources>
35