Add back DSLV / ActionListViewSettings
Contains updates by Griffin Millender <griffinn.millender@gmail.com> and the SlimROMs team AICPfy: - make it play better with themes - bring it to Oreo - Update SettingsActivity to forward extras from PreferenceScreen to the new fragment (allows using DSLV from xml) Change-Id: I7514cdfa3603ed6e24deeb251875a716a52a02b1
This commit is contained in:
32
res/values/dslv_attrs.xml
Normal file
32
res/values/dslv_attrs.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<resources>
|
||||
|
||||
<!-- For DSLV -->
|
||||
<declare-styleable name="DragSortListView">
|
||||
<attr name="collapsedHeight" format="dimension" />
|
||||
<attr name="dragScrollStart" format="float" />
|
||||
<attr name="maxDragScrollSpeed" format="float" />
|
||||
<attr name="floatBackgroundColor" format="color" />
|
||||
<attr name="removeMode">
|
||||
<enum name="clickRemove" value="0" />
|
||||
<enum name="flingRemove" value="1" />
|
||||
</attr>
|
||||
<attr name="trackDragSort" format="boolean"/>
|
||||
<attr name="floatAlpha" format="float"/>
|
||||
<attr name="slideShuffleSpeed" format="float"/>
|
||||
<attr name="removeAnimationDuration" format="integer"/>
|
||||
<attr name="dropAnimationDuration" format="integer"/>
|
||||
<attr name="dragEnabled" format="boolean" />
|
||||
<attr name="sortEnabled" format="boolean" />
|
||||
<attr name="removeEnabled" format="boolean" />
|
||||
<attr name="dragStartMode">
|
||||
<enum name="onDown" value="0" />
|
||||
<enum name="onMove" value="1" />
|
||||
<enum name="onLongPress" value="2"/>
|
||||
</attr>
|
||||
<attr name="dragHandleId" format="integer" />
|
||||
<attr name="flingHandleId" format="integer" />
|
||||
<attr name="clickRemoveId" format="integer" />
|
||||
<attr name="useDefaultController" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user