pref_laf_background.xml raw

   1  <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
   2      xmlns:app="http://schemas.android.com/apk/res-auto">
   3  
   4      <Preference
   5          android:icon="@drawable/ic_image"
   6          android:key="ao_background_image"
   7          android:summary="@string/pref_ao_background_image_summary"
   8          android:title="@string/pref_ao_background_image" />
   9      <SwitchPreference
  10          android:defaultValue="false"
  11          android:icon="@drawable/ic_smartphone"
  12          android:key="hide_display_cutouts"
  13          android:summary="@string/pref_look_and_feel_hide_display_cutouts_summary"
  14          android:title="@string/pref_look_and_feel_hide_display_cutouts" />
  15      <SwitchPreference
  16          android:defaultValue="false"
  17          android:icon="@drawable/ic_portrait"
  18          android:key="ao_edgeGlow"
  19          android:summary="@string/pref_ao_edgeGlow_summary"
  20          android:title="@string/pref_ao_edgeGlow" />
  21      <io.github.domi04151309.alwayson.custom.EditIntegerPreference
  22          android:defaultValue="2000"
  23          android:icon="@drawable/ic_timer"
  24          android:key="ao_glowDuration"
  25          android:summary="@string/pref_ao_glowDuration_summary"
  26          android:title="@string/pref_ao_glowDuration"
  27          android:dependency="ao_edgeGlow" />
  28      <io.github.domi04151309.alwayson.custom.EditIntegerPreference
  29          android:defaultValue="4000"
  30          android:icon="@drawable/ic_timer"
  31          android:key="ao_glowDelay"
  32          android:summary="@string/pref_ao_glowDelay_summary"
  33          android:title="@string/pref_ao_glowDelay"
  34          android:dependency="ao_edgeGlow" />
  35      <ListPreference
  36          android:defaultValue="all"
  37          android:entries="@array/pref_ao_glowStyle_display"
  38          android:entryValues="@array/pref_ao_glowStyle_values"
  39          android:icon="@drawable/ic_palette"
  40          android:key="ao_glowStyle"
  41          android:summary="@string/pref_ao_glowStyle_summary"
  42          android:title="@string/pref_ao_glowStyle"
  43          android:dependency="ao_edgeGlow" />
  44      <com.jaredrummler.android.colorpicker.ColorPreferenceCompat
  45          android:defaultValue="0xffffffff"
  46          android:icon="@drawable/ic_palette"
  47          android:key="display_color_edge_glow"
  48          android:summary="@string/pref_ao_glowColor_summary"
  49          android:title="@string/pref_ao_glowColor"
  50          app:cpv_showAlphaSlider="true"
  51          app:cpv_showColorShades="false"
  52          android:dependency="ao_edgeGlow" />
  53  
  54  </PreferenceScreen>
  55