summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xres/values/dimensions.xml4
-rw-r--r--src/com/android/browser/ShareDialog.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index 33ae63f..fa1f729 100755
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -19,8 +19,8 @@
<dimen name="tab_slice">15.5dp</dimen>
<dimen name="tab_focus_stroke">2dip</dimen>
<dimen name="max_tab_width">300dp</dimen>
- <dimen name="bookmarkThumbnailWidth">90dip</dimen>
- <dimen name="bookmarkThumbnailHeight">90dip</dimen>
+ <dimen name="bookmarkThumbnailWidth">180dip</dimen>
+ <dimen name="bookmarkThumbnailHeight">180dip</dimen>
<!--Add for Navigation Feature -->
<dimen name="mynav_item_width">80px</dimen>
<dimen name="mynav_item_width_portrait">80px</dimen>
diff --git a/src/com/android/browser/ShareDialog.java b/src/com/android/browser/ShareDialog.java
index 9325688..6d4c21a 100644
--- a/src/com/android/browser/ShareDialog.java
+++ b/src/com/android/browser/ShareDialog.java
@@ -123,9 +123,9 @@ public class ShareDialog {
File path = getScreenshotDir();
if (path.exists() || path.mkdir()) {
File saveFile = File.createTempFile(
- String.valueOf(System.currentTimeMillis()), ".jpg", path);
+ String.valueOf(System.currentTimeMillis()), ".png", path);
fOut = new FileOutputStream(saveFile);
- screenshot.compress(Bitmap.CompressFormat.JPEG, 90, fOut);
+ screenshot.compress(Bitmap.CompressFormat.PNG, 100, fOut);
fOut.flush();
fOut.close();
uri = getUriForImageCaptureFile(activity, saveFile);