Example of filtering only that results which have request method as GET or POST and special word is not in url:
(http.request.method == GET or http.request.method == POST) and !http.request.uri contains "css"
Android Blog is the place where I put code possible to be reused in near future.
Example of filtering only that results which have request method as GET or POST and special word is not in url:
(http.request.method == GET or http.request.method == POST) and !http.request.uri contains "css"
Here is a short example code how to do it:
I’ve created xml file shape.xml and one method for flexible changing color of shape.
shape.xml:
[java]
<?xml version=”1.0″ encoding=”utf-8″?>
<shape xmlns:android=”http://schemas.android.com/apk/res/android” >
<solid android:color=”@android:color/holo_blue_bright” />
<corners android:radius=”30dp” />
<size
android:height=”15dp”
android:width=”15dp” />
</shape>
[/java]
And here is a method for flexible changing color:
Continue reading “Working example – changing drawable background in runtime, dynamically”