Tweaking the front cling to support more verbose languages. (Bug 11015051)

This commit is contained in:
Winson Chung
2013-10-02 17:45:32 -07:00
parent d3f333b995
commit 45cab39eea
8 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ public class Cling extends FrameLayout implements Insettable, View.OnLongClickLi
}
if (mDrawIdentifier.equals(FIRST_RUN_PORTRAIT) ||
mDrawIdentifier.equals(FIRST_RUN_LANDSCAPE)) {
// Draw the white circle
// Draw the circle
View bubbleContent = findViewById(R.id.bubble_content);
Rect bubbleRect = new Rect();
bubbleContent.getGlobalVisibleRect(bubbleRect);
@@ -469,7 +469,7 @@ public class WidgetPreviewLoader {
.getIntrinsicWidth();
final int previewDrawableHeight = previewDrawable
.getIntrinsicHeight();
previewWidth = previewDrawableWidth * cellHSpan; // subtract 2 dips
previewWidth = previewDrawableWidth * cellHSpan;
previewHeight = previewDrawableHeight * cellVSpan;
defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight,