summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/launcher3/DynamicGridSizeFragment.java6
-rw-r--r--src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java3
2 files changed, 4 insertions, 5 deletions
diff --git a/src/com/android/launcher3/DynamicGridSizeFragment.java b/src/com/android/launcher3/DynamicGridSizeFragment.java
index 2fda39f..586c2bd 100644
--- a/src/com/android/launcher3/DynamicGridSizeFragment.java
+++ b/src/com/android/launcher3/DynamicGridSizeFragment.java
@@ -135,7 +135,7 @@ public class DynamicGridSizeFragment extends Fragment implements NumberPicker.On
int rows = mCustomGridRows == 0 ? (int) grid.numRows : mCustomGridRows;
int columns = mCustomGridColumns == 0 ? (int) grid.numColumns : mCustomGridColumns;
- String text = rows + " x " + columns;
+ String text = rows + " " + "\u00d7" + " " + columns;
Bitmap bm = BitmapFactory.decodeResource(getResources(),
drawableId).copy(Bitmap.Config.ARGB_8888, true);
@@ -318,7 +318,7 @@ public class DynamicGridSizeFragment extends Fragment implements NumberPicker.On
SettingsProvider.SETTINGS_UI_HOMESCREEN_ROWS, grid.numRowsBase);
int columns = SettingsProvider.getIntCustomDefault(getActivity(),
SettingsProvider.SETTINGS_UI_HOMESCREEN_COLUMNS, grid.numColumnsBase);
- state += "(" + rows + "x" + columns + ")";
+ state += " " + "(" + rows + " " + "\u00d7" + " " + columns + ")";
textView.setText(state);
}
@@ -328,4 +328,4 @@ public class DynamicGridSizeFragment extends Fragment implements NumberPicker.On
return convertView;
}
}
-} \ No newline at end of file
+}
diff --git a/src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java b/src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java
index 202df17..e4ba5da 100644
--- a/src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java
+++ b/src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java
@@ -192,12 +192,11 @@ public class SettingsPinnedHeaderAdapter extends PinnedHeaderListAdapter {
state = mLauncher.getResources().getString(R.string.grid_size_condensed);
break;
case Custom:
- state = mLauncher.getResources().getString(R.string.grid_size_custom);
int rows = SettingsProvider.getIntCustomDefault(mLauncher,
SettingsProvider.SETTINGS_UI_HOMESCREEN_ROWS, 0);
int columns = SettingsProvider.getIntCustomDefault(mLauncher,
SettingsProvider.SETTINGS_UI_HOMESCREEN_COLUMNS, 0);
- state += "(" + rows + "x" + columns + ")";
+ state = rows + " " + "\u00d7" + " " + columns;
break;
}
((TextView) v.findViewById(R.id.item_state)).setText(state);