diff options
| author | Paramananda <parama@codeaurora.org> | 2015-03-24 17:51:29 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-04-02 03:54:23 -0700 |
| commit | c12b8b10bc4c033ba6855a400f14c3aae52ec143 (patch) | |
| tree | 32f40321069e55256a73616a5fdde935ef8114b4 /res/layout | |
| parent | 75b8670f6c3d36d4cb289b2fc58cdcf596007465 (diff) | |
| download | android_packages_apps_Gallery2-c12b8b10bc4c033ba6855a400f14c3aae52ec143.tar.gz android_packages_apps_Gallery2-c12b8b10bc4c033ba6855a400f14c3aae52ec143.tar.bz2 android_packages_apps_Gallery2-c12b8b10bc4c033ba6855a400f14c3aae52ec143.zip | |
Gallery2 : Uses internal Drm image decoder api in Gallery app
- Remove all previous drm implementation which is basically uses
base bitmap decode apis to decode drm image files.
- Introduced new hidden apis on BitmapFactory and
BitmapRegionDecoder specific to DRM content which
is more practical to DRM framework.
- Uses DrmHelper a utility drm api library to code reusability.
- This approch will fix the issue on sharing images from
Third party application.
CRs-fixed : 804191
Change-Id: I2e9489800c57df4fdeeb21f1548fbccc6dfbd3f9
Diffstat (limited to 'res/layout')
| -rw-r--r-- | res/layout/appwidget_photo_item.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/layout/appwidget_photo_item.xml b/res/layout/appwidget_photo_item.xml index a56a6d7a5..25e88f5fb 100644 --- a/res/layout/appwidget_photo_item.xml +++ b/res/layout/appwidget_photo_item.xml @@ -24,4 +24,12 @@ android:layout_width="wrap_content" android:scaleType="fitCenter" android:adjustViewBounds="true" /> + + <ImageView + android:id="@+id/drm_icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:background="@drawable/drm_image" /> + </FrameLayout> |
