The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
| ### Keybase proof | |
| I hereby claim: | |
| * I am esteluk on github. | |
| * I am nathanbb (https://keybase.io/nathanbb) on keybase. | |
| * I have a public key ASD_2YRJ2bJ2KitLqC8mM84kiplCEGjOpd-zqxMDoZ0Chgo | |
| To claim this, I am signing this object: |
| .image { | |
| filter: url(filters.svg#grayscale); /* Firefox 3.5+ */ | |
| filter: gray; /* IE6-9 */ | |
| -webkit-filter: grayscale(1); /* Webkit Nightlies & Google Chrome Canary */ | |
| } | |
| .image:hover { | |
| filter: none; /* Applies to FF + IE */ | |
| -webkit-filter: grayscale(0); | |
| } |
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <RelativeLayout android:id="@+id/topLayout" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <ImageView android:id="@+id/backgroundImage" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" |
| package com.gravitywell.examples; | |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| import android.widget.ScrollView; | |
| /** | |
| * This class is used on the about screen when we have a background layer that | |
| * requires interaction but a scrollview above it that can slide to cover this |
| public class DownloadPicker extends PreferenceActivity { | |
| DatabaseHelper locationData; | |
| @Override | |
| public void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| PreferenceScreen root = getPreferenceManager().createPreferenceScreen(this); | |
| root.setTitle("Choose clock packs"); | |