Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-19578] Material design custom animations and touch feedback #8446

Merged
merged 2 commits into from Sep 29, 2016

Conversation

garymathews
Copy link
Contributor

@garymathews garymathews commented Sep 28, 2016

JIRA: https://jira.appcelerator.org/browse/TIMOB-19578

TEST CASE
var win = Ti.UI.createWindow({
        layout: 'vertical',
        backgroundColor: '#A0E040',
        touchFeedback: false,
        touchFeedbackColor: '#FF0000'
    }),
    a = Ti.UI.createSwitch({
        style: Titanium.UI.Android.SWITCH_STYLE_CHECKBOX,
        title: 'ENABLE TOUCH FEEDBACK'
    }),
    b = Ti.UI.createButton({
        title : 'BUTTON',
        backgroundColor: '#40FFE0',
        touchFeedback: false,
        touchFeedbackColor: '#EE00FF'
    });

a.addEventListener('change', function(e) {
    win.setTouchFeedback(a.value);
    b.setTouchFeedback(a.value);
});

win.add(a);
win.add(b);

JIRA Ticket

@hansemannn
Copy link
Collaborator

LGTM, approved!

@hansemannn hansemannn merged commit 664f97a into tidev:master Sep 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants