Gradient Radius as percentage of screen size

From what I´ve tested, the % does work, but not as you expected. First of all android:gradientRadius=”50″ seems to take the value as pixels 50px android:gradientRadius=”50%” is converted as if 50% = 0.5 px, try android:gradientRadius=”5000%” and you will see a 50px radius. Using %p has a similar result. Obviously this is something I hope … Read more

Using an array reference as an XML attribute for custom android view

Just going to piggyback off your question here, since your post shows up first if you google something like “array reference XML attribute custom view”, so someone might find this helpful. If you want your custom view to reference an array of strings, you can use Android’s existing android:entries XML attribute, instead of creating a … Read more

Eclipse Run button doesn’t work when Android xml file is selected

I think its due to some recent changes in ADT 21.1.0. Anyhow, to resolve this, you may configure the following in Eclipse: Window -> Preferences -> Run/Debug -> Launching -> (under Launch Operations) Always launch the previously launched application In case you want to open another project, then you need to revert this process as … Read more

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