In short, replace the dialog_* and menu_* images in /res/drawable-mdpi within framework-res.apk with your image of any transparency.
METHOD:
(1) Open your framework-res.apk with winrar, 7zip, etc.
(2) Open the folder /res/drawable-mdpi/ within framework-res.apk (in WINRAR)
Optional (3) You might wanna extract the whole drawable-mdpi folder and place it anywhere (place in desktop)
(4) Minimize the winrar window for now and open the drawable-mdpi folder on the desktop.
(5) Out of all the images, select the ones starting with 'dialog_' and 'menu_' and copy somewhere else, say, Desktop\folder.
(6) Close the drawable-mdpi window and open the folder containing only the selected images.
(7) Open the images with Photoshop, paint.net or any other image editing software which supports transparency.
(some images are not backgrounds, you can tell by their names, so no need to edit, just delete them)
I did this--(8) Select a color that you want with desired transparency. For all the background images, select the entire area (ctrl+a) and 'delete', fill the whole area with the selected color using 'paint bucket' tool.
(9) Save and close.
(10) Select all the edited images in the folder (Desktop\folder).
(11) Restore the WINRAR window. Then DRAG the selected images into the drawable-mdpi folder (in the WINRAR window) and select OK for the prompt.
(12) Close the WINRAR window.
(13) DONE :laugh:
You can give rounded edges to your dialogs. Take care though, 'cause 'top' backgrounds are rounded at the top, middle backgrounds are not rounded and bottom backgrounds are rounded at the bottom corners
METHOD:
(1) Open your framework-res.apk with winrar, 7zip, etc.
(2) Open the folder /res/drawable-mdpi/ within framework-res.apk (in WINRAR)
Optional (3) You might wanna extract the whole drawable-mdpi folder and place it anywhere (place in desktop)
(4) Minimize the winrar window for now and open the drawable-mdpi folder on the desktop.
(5) Out of all the images, select the ones starting with 'dialog_' and 'menu_' and copy somewhere else, say, Desktop\folder.
(6) Close the drawable-mdpi window and open the folder containing only the selected images.
(7) Open the images with Photoshop, paint.net or any other image editing software which supports transparency.
(some images are not backgrounds, you can tell by their names, so no need to edit, just delete them)
I did this--(8) Select a color that you want with desired transparency. For all the background images, select the entire area (ctrl+a) and 'delete', fill the whole area with the selected color using 'paint bucket' tool.
(9) Save and close.
(10) Select all the edited images in the folder (Desktop\folder).
(11) Restore the WINRAR window. Then DRAG the selected images into the drawable-mdpi folder (in the WINRAR window) and select OK for the prompt.
(12) Close the WINRAR window.
(13) DONE :laugh:
You can give rounded edges to your dialogs. Take care though, 'cause 'top' backgrounds are rounded at the top, middle backgrounds are not rounded and bottom backgrounds are rounded at the bottom corners