0

I have a custom preference layout called preference_test.xml using com.android.support:preference-v7:28.0.0 in the build.gradle

<?xml version="1.0" encoding="utf-8"?><?xml version="1.0" encoding="utf-8"?>

<SwitchPreference
    android:defaultValue="false"
    android:icon="@drawable/ic_set_seralarm"
    android:key="key_seralarm"
    android:title="@string/ptit_seralarm" />

<ListPreference
    android:defaultValue="1"
    android:entries="@array/service_time_entries"
    android:entryValues="@array/service_time_values"
    android:icon="@drawable/ic_set_sertime"
    android:key="key_service_time"
    android:title="@string/ptit_sertime" />

<SwitchPreference
    android:defaultValue="false"
    android:icon="@drawable/ic_set_sermute"
    android:key="key_service_mute"
    android:title="@string/ptit_sermute" />

The application, settings and preference elements works perfect, but I notice weard “question marks” on the left panel of the palette in the

Design tab as show in the following image:

enter image description here

Using Android Studio 3.2.1 Any explanation?

ADM
  • 20,406
  • 11
  • 52
  • 83
nnyerges
  • 563
  • 4
  • 15

0 Answers0