I\'m trying to create an icon/widget (1 cell x 1 cell) that can be placed on the home screen of android. The widget will look and act exactly like the other standard shortcu
To make your item consistent with the system look and feel is not hard by referencing the system attribute android:attr/selectableItemBackground
. For example, if you want to make an ImageView in your widget look "selectable" with proper highlighting etc: just do
There are a lot in android_sdk_path/platforms/android-x
. Happy digging!
EDIT: I found out later that this simple attribute does not live in SDK < v11. So the best way I know now is to download the appwidget template pack and use it.