ripple

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

心不动则不痛 提交于 2019-12-17 08:30:00
问题 I have reading Material Design Guidelines but I don't know what should be the color of the Ripple if it isn't black (with alpha). For example, I have an app with colorPrimary = blue, and colorAccent = red. Actually I am using the colorAccent (with alpha), I should use colorPrimary (with alpha) if I want a color different of black to the ripple? I checked all app of Google but they never use ripples with color. An image like I have now: 回答1: Use 26% alpha for colored ripples. Android L doesn't

Unchecked runtime.lastError while running tabs.executeScript?

喜你入骨 提交于 2019-12-17 02:24:58
问题 I managed to build Ripple Emulator open source (https://github.com/apache/incubator-ripple). I built it per the instructions (Jake build), which create the Chrome Extension Target that allows me to test my web apps via a chrome extension of my built, as per https://github.com/apache/incubator-ripple/blob/master/doc/chrome_extension.md. I successfully loaded the unpacked extension onto chrome, but when I enable it nothing happens, though the page reloads the extension does not work, instead I

Ripple broken with Chrome version 50.0.2661.75 - “aw snapp” error message

孤人 提交于 2019-12-13 07:17:52
问题 Apache-Ripple was working correctly until chrome updated to version 50.0.2661.75 m. I use ripple not as a chrome-extension but as explained in this article:https://www.raymondcamden.com/2013/11/05/Ripple-is-Reborn/ If I try with an empty Cordova project, I get the "aw snap" message. In the development console I can see that "XHR and Fetch" are going wrong for "user-agent" (status code 500) and "config.xml" (status code 404). I do get those messages as well if I run same Cordova/Ripple project

Ripple - Uncaught Error: Load timeout for modules: app http://requirejs.org/docs/errors.html#timeout

六月ゝ 毕业季﹏ 提交于 2019-12-12 15:24:49
问题 I am using jquery, backbonejs, underscorejs and bootstrap 3 for my mobile app project. I'm run my app in ripple. Sometimes I got this silly error in my console. Uncaught Error: Load timeout for modules: app http://requirejs.org/docs/errors.html#timeout Why it happened? Thanks a lot in advance. 回答1: I have set require js config option waitSeconds to 0 and the error was gone. My Configuration: require.config({ baseUrl: 'app/lib', paths: { app: '../js', tpl: '../tpl' }, urlArgs: "bust=" + (new

Using the Apache Ripple emulator with a self signed SSL certificate

旧城冷巷雨未停 提交于 2019-12-12 02:37:06
问题 I am experiencing a problem using Cordova 5.1.1 and Apache Ripple 0.9.32. I am trying to connect to a C# Web API 2 web service running in debug in Visual Studio 2013 using IIS Express and a self signed SSL certificate. Ripple, which is running on the default proxy of http://localhost:4400, reports INFO: Proxying cross origin XMLHttpRequest - https://localhost:44300/api/account/login ERROR: Proxying failed with: [Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE] When I debug the web service without SSL

Ripple Effect Duration in Android XML

孤人 提交于 2019-12-12 01:07:45
问题 I am Learning Material Design. I tried ripple effect on button using this gradle dependencies { compile 'com.github.traex.rippleeffect:library:1.3' } from this https://github.com/traex/RippleEffect link there are many attribute which are not working such as app:rv_rippleDuration="1200" app:rv_color="#d3d3d3" I have event on button and ripple effect but when I click on button method is get called. What I want is first ripple effect should get complete then action should occur. XML code

Ripple Emulator / Chrome Browser closing when I attempt to open developer tools

喜你入骨 提交于 2019-12-11 04:19:13
问题 I am trying to use Ripple inside Visual Studio 2015 to debug my app. I want to view Local Storage, but when I open developer tools, Chrome closes and the Javascript console displays this error: The source map 'angular-sanitize.min.js.map' for file 'mdha:http://code.ionicframework.com/1.0.0-rc.5/js/ionic.bundle.min.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map is using an

Android ripple for button not working

落花浮王杯 提交于 2019-12-11 03:35:17
问题 The ripple effect I have given to the background of the button is not working.It just switches the color.The device version is 5.1.1.Please help me!!! ripple.xml: <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@android:color/white"> <!-- ripple color --> <item android:drawable="@android:color/holo_blue_bright"/> <!-- normal color --> </ripple> 回答1: Have you tried like this <Button android:layout_width="match_parent" android:layout_height="wrap_content"

Private blockchains Vs Hashgraph, Ripple, BigChainDb

ぃ、小莉子 提交于 2019-12-09 16:48:43
问题 I have been investigating different blockchains for some use cases. In the end, I came to the conclusion that setting up a private blockchain is equivalent to having a distributed database with blockchain concepts like immutability, digital signatures on top of it. Eg: Bigchaindb. (Well, If we do need smart contract feature then distributed database might not work) Theoretically, hashgraph consensus algorithm doesn't look secure enough for a public chain. It looks like a close alternate

retain ripple effect during notifydatachanged in recyclerview

六月ゝ 毕业季﹏ 提交于 2019-12-08 16:27:07
问题 I am started to modify my application to support lollipop. Basically, I have a file browser fragment with recyclerview, When the user opens this fragment he will see all the folders on his root directory, when the user will click on the folder I need to get all the subfolders + files and show them to the user using the same recyclerview with notifydatachanged. The functionality working properly the problem is when the user clicks a folder the ripple effect is not retained during