FAQ Database Discussion Community


Angular-material theming issue

angularjs,material-design,material,angular-material
This is my first time using Stack Overflow so please be nice :) Basically I am using Angular-material on a project and I cannot for the life of me figure out where to change the color schemes/theming. I am using the docs-dark theme but cannot find where to alter it...

incorrect status bar translucent displays on sony on lollipop

android,styles,statusbar,material-design,material
I have my styles.xml in values-v21. When I run my app on different Sony devices I see statusbar translucent like in android 4.4, but not 5.x. Anyone know the solution? code: <style name="BATheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="android:colorPrimary">@color/colorPrimary</item> <item name="android:windowTranslucentStatus">true</item> <item name="android:windowDrawsSystemBarBackgrounds">true</item> <item name="android:windowActionBar">false</item> <item...

The angularjs dialog doesn't seem to work for me

javascript,angularjs,dialog,material
I have been trying to implement AngularJS dialog in my app and i copy everything from the demos provided in material.angularjs.org however I don't seem to be able to make it work. Could anyone see what am I missing ? This is the Javascript code: // TABLE CONTROLLS GO HERE...

Material Design and Jquery

javascript,jquery,material
http://codepen.io/alcoven/pen/XJeEQy I'm trying to get each one of these circles to activate itself without changing the rest of the circles on click. I was using $(this)('button') and $this.children('blub') when clicked on $('button') Now not only are these not working, but the material circle growth from the center isn't working either....

How to create this material design background (see image below) with CSS?

html,css,design,background,material
Is there a way to create a background like this with CSS? I have tried this: <div style="background: linear-gradient(to bottom, #3F51B5 50%, #FAFAFA 50%);"> ...

Android Material xml Layout for Create Activity

android,android-5.0-lollipop,material-design,material,material-theme
I want some help please , i want to create activity for add information collected form user with material design like this images , I want flexible Space Same color like toolbar then and inside flexible space add project name and with Scroll view add all other things , please...

MeshNormalMaterial color

three.js,shader,mesh,fragment-shader,material
In default MeshNormalMaterial example, the color of cube wall is changing because it uses this THREE.ShaderLib[ 'normal' ] shader. This shader sets gl_FragColor by this gl_FragColor = vec4( 0.5 * normalize( vNormal ) + 0.5, opacity );. Can anyone explain me this formula? which vector of cube is normalized? Are...

Android Icons Library

android,icons,material
Folks, is there a free library of icons based on Material Design, I am working on an app and i want my floating button to have a camera icon, an edit icon and so on. Is there such a place to dowbnload free icon images? thanks...

Match status bar colour with most predominant colour of art Material Design Android

android,design,whatsapp,material
I was wondering if there was some kind of library/api or way to match the status bar colour with some imagery just like in the Whatsapp material design update. Example here and here. Thanks in advance!...

Polymer Project not working on Safari

safari,polymer,compatibility,platform,material
I'm developing a websites using Paper/Core Elements with HTML Import of Polymer Project. As subjested in some post about Polymer and Polyfill, I have imported 'webcomponents.js' that matches to 'platform.js'. That solved my problem partially, only for Mozilla Firefox and Internet Explorer. On Safari its not still working. I'd like...

Angular Material Slider example not working

javascript,angularjs,material-design,material
I am trying to run angular material example given at here. i have tried following example but it is not working for me. through following error in console Error : Uncaught Error: [$injector:modulerr] Failed to instantiate module StarterApp due to: Error: [$injector:nomod] Module 'StarterApp' is not available! You either misspelled...

Blender Python Material search [closed]

python,list,blender,material
How do I tell a script to compare a string with the names of all materials? This following code does not work: for i in len(bpy.data.materials): if str(color) == bpy.data.materials[i].name: mat = bpy.data.materials[i] mesh.materials.append(mat) break Error: TypeError: 'int' object is not iterable (line 1) Thanks....

SCNNode material scale

scale,scenekit,material,scnnode
I have an SCNNode that has its geometry populated from a collada file (.dae) and displays correctly on screen. I can apply materials to the geometry easily enough, however I'd like to change the scale of the material. I currently populate it with nodeArray[0].geometry?.firstMaterial!.diffuse.contents="wood.png" but the scale of the material...

AutoAlign Checkboxes in row using angular material design

html5,css3,material-design,material
I am using angular material design for my angular application, I am getting the fields of an index of elasic search and creating them as checkboxes in my form. It is getting generated, but when it has more than 4 fields, the alignment looks clumsy. HTML: <div layout="row" layout-align='left start'>...