Adding Wallpapers tab.

Change-Id: Ic42bec30a4a3a4f8745bd1b5b164f33cc9a6c96f
This commit is contained in:
Winson Chung
2011-05-09 16:00:53 -07:00
parent 95963d614e
commit 46af2e8916
13 changed files with 327 additions and 41 deletions

View File

@@ -211,8 +211,10 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
name.setText(info.loadLabel(pm));
name.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
final TextView dims = (TextView) findViewById(R.id.widget_dims);
dims.setText(String.format(mDimensionsFormatString, 1, 1));
dims.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
if (dims != null) {
dims.setText(String.format(mDimensionsFormatString, 1, 1));
dims.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
}
if (createHolographicOutline) {
mIconCache = cache;