GitHub user whn9527 opened a pull request:

    https://github.com/apache/incubator-weex/pull/1085

    [Weex-260][android]switch supports setting color

    Hi, It's solution to support setting color for `<switch>` component in 
android. And the api was according to [ios 
design](https://github.com/apache/incubator-weex/pull/1076), a slight 
difference is `<switch>` can accept 4 attributes in android:
    
    ||android|ios|
    |---|---|---|
    |tint-color|√|√|
    |on-tint-color|√|√|
    |thumb-tint-color|√|√|
    |on-thumb-tint-color|√|×|
    
    Weex Vue Demo: 
[http://dotwe.org/vue/e9d87730e016bec01225e546ff10ef0d](http://dotwe.org/vue/e9d87730e016bec01225e546ff10ef0d)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/whn9527/incubator-weex android-feature-switch

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/1085.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1085
    
----

----


---

Reply via email to