What should be the color of the Ripple, colorPrimary or colorAccent? (Material Design)

Use 26% alpha for colored ripples. Android L doesn’t support theme attributes in color state lists and the <ripple> element doesn’t have an alpha channel, but for bounded ripples you can do something like: <ripple xmlns:android=”http://schemas.android.com/apk/res/android” android:color=”?android:attr/colorAccent”> <item android:id=”@android:id/mask”> <color android:color=”#42ffffff” /> </item> </ripple> This won’t work for an unbounded ripple. Alternatively, since you know … Read more

Unchecked runtime.lastError while running tabs.executeScript?

“Check” runtime.lastError by “reading” it in the callback. Code chrome.tabs.executeScript(tabId, { //.. }, _=>chrome.runtime.lastError /* “check” error */) Eg Show it via.. chrome.tabs.executeScript(tabId, { //.. }, _=>{ let e = chrome.runtime.lastError; if(e !== undefined){ console.log(tabId, _, e); } });

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş