Add seekbar and list settings preferences
Taken from AICP
This commit is contained in:
31
res/values/seekbar_preference_attrs.xml
Normal file
31
res/values/seekbar_preference_attrs.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014-2017 AICP
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<declare-styleable name="SeekBarPreference">
|
||||
<!-- preference -->
|
||||
<attr name="unitsLeft" format="string|reference" />
|
||||
<attr name="unitsRight" format="string|reference" />
|
||||
<attr name="interval" format="integer" />
|
||||
<!-- style -->
|
||||
<attr name="thumb_default_value_color" format="color" />
|
||||
<attr name="value_popup_view_fg" format="color" />
|
||||
<attr name="value_popup_view_bg" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user