Can someone explain the attr?

The ?attr/menuIconCamera value means that an icon from menuIconCamera attribute of the current theme will be used. There must be a drawable assigned to the menuIconCamera attribute somewhere in the themes.xml file. If there’re two themes with different values of this attribute then actual icon will depend on a theme which is currently used. The … Read more

Firefox 4 : Is there a way to remove the red border in a required form input?

This was a little tricky but I’ve set up this exmaple: http://jsfiddle.net/c5aTe/ which is working for me. Basically the trick seems to be getting around having placeholder text which is invalid. Otherwise you should be able do this: input:required { box-shadow:none; } input:invalid { box-shadow:0 0 3px red; } or something similar… BUT since FF4 … Read more

Can I define properties in partial classes, then mark them with attributes in another partial class?

Here is the solution I have been using for such cases. It is useful when you have auto-generated classes that you want to decorate with attributes. Let’s say this is the auto-generated class: public partial class UserProfile { public int UserId { get; set; } public string UserName { get; set; } public string Firstname … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)