Comments (1)
Hello benoffi7,
you can change the color of the arrow by using a colored drawable with the xml-attribute app:snp_buttonIconLeft
. An example is the arrow_up_bold_circle_outline.xml
where you could change the android:fillColor
to achieve that.
Changing the text-appearance is working the same way. You just need to pass a style which matches your requirements. E.g.
Insert a new style in styles.xml
<style name="CustomTextAppearance" parent="@android:style/TextAppearance"> <item name="android:textColor">#FF1234</item> <item name="android:textSize">14dp</item> </style>
And add it like:
app:snp_value_text_appearance="@style/CustomTextAppearance"
For changing only the text color you can use app:snp_value_text_color
as well. Note that it overwrites the color defined in text-appearance.
from scrollablenumberpicker.
Related Issues (20)
- It lacks scrollable part... HOT 1
- setTextSize
- listener not public HOT 1
- Change iconUp and iconDown size HOT 1
- Text color HOT 1
- Question HOT 1
- Question HOT 1
- Unit names HOT 1
- when Long Press .. the Count going without stopping in adapter. HOT 1
- Question: Access through code HOT 1
- Question: Big icons HOT 1
- onClickListener
- Buttons automatically move according to the number of digits HOT 1
- Enable type number as TextView
- Change INVALID_RES value so white can be used for TextColor
- Buttons need to be click twice like DoubleClick
- Databinding support needed
- Question: Text
- need help to achieve this view?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrollablenumberpicker.