Tweaking the front cling to support more verbose languages. (Bug 11015051)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user