Extracting format string properly into xml strings.

Change-Id: I4766ee48bef6a08c6a9809f8df29d4d2343014c4
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 3c1b79c..00febfe 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -65,6 +65,10 @@
     <!--  Tile of the tab for applications that were downloaded from market [CHAR_LIMIT=12] -->
     <string name="all_apps_tab_downloaded">Downloaded</string>
 
+    <!-- Customization Drawer -->
+    <!-- The format string for the dimensions of a widget in the drawer -->
+    <string name="widget_dims_format">%1$d x %2$d</string>
+
     <!-- Folders -->
     <skip />
     <!-- Label of Folder name field in Rename folder dialog box -->
diff --git a/src/com/android/launcher2/CustomizePagedView.java b/src/com/android/launcher2/CustomizePagedView.java
index d3d11db..4307391 100644
--- a/src/com/android/launcher2/CustomizePagedView.java
+++ b/src/com/android/launcher2/CustomizePagedView.java
@@ -444,7 +444,7 @@
             TextView name = (TextView) l.findViewById(R.id.name);
             name.setText(info.label);
             TextView dims = (TextView) l.findViewById(R.id.dims);
-            dims.setText("" + hSpan + " x " + vSpan);
+            dims.setText(mContext.getString(R.string.widget_dims_format, hSpan, vSpan));
 
             layout.addView(l);
         }