1

How can I remove dividers from preference category

<PreferenceCategory
            android:key="@string/pref_waking_category_key"
            android:title="@string/pref_waking_category_title">

            <SwitchPreference
                android:defaultValue="true"
                android:key="@string/pref_waking_notify_key"
                android:title="@string/pref_waking_notify_title" />

            <com.kosratdahmad.myprayers.views.TimePreference
                android:defaultValue="@string/pref_waking_time_default"
                android:dependency="@string/pref_waking_notify_key"
                android:dialogTitle=""
                android:key="@string/pref_waking_time_key"
                android:title="@string/pref_waking_time_title" />
</PreferenceCategory>

I have looked this questions but I'm using PreferenceActivity instead PreferenceFragment. I think my problem in getting view from preference category

Community
  • 1
  • 1
Kosrat D. Ahmad
  • 468
  • 8
  • 14

0 Answers0