Professional Documents
Culture Documents
How To Remove Contact Avatar Frame and Edit Contact Avatar Size in Alcatel 918n
How To Remove Contact Avatar Frame and Edit Contact Avatar Size in Alcatel 918n
This tutorial will be a lot easier if you already know how to decompile and recompile APK files. I have a couple of video tutorials here that will give you a heads up in android theming using Tickle My Android (TMA) by Ticklefish. You have to click HD in the video player though to view the vid in high definition: Decompiling APK file: http://adf.ly/4097220/decompile Modifying battery icon: http://adf.ly/4097220/batteryicon Changing boot logo: http://adf.ly/4097220/boot-logo
So whats in this tutorial? Youll be shown what particular .xml and .PNG file to edit and where to find them. The Lines are references in Notepad++ so if you havent installed it yet, please do so before proceeding. The codes highlighted in yellow are the only ones that need to be edited. Leave the rest untouched otherwise youll be messing with the codes resulting to force closes.
quickcontact_badge_pressed.9 quickcontact_badge_unpressed.9
\res\drawable-mdpi\
DO NOT DELETE the two files above. In order to remove the contact frame properly, all you have to do is to set it TRANSPARENT. You can use Adobe Photoshop to do that. But wait! Hold your horses! There is a proper way of doing that. In order to properly set the frame to transparent, you have to delete the gray and the holo blue rectangles only (Figure 1). DO NOT DELETE the black squares on the top and both sides of the gray rectangle. Also, DO NOT DELETE the black line below it. Your PNG file should look exactly like the one in Figure 2 after editing.
Figure 1
Figure 2
Line 885
<style name="Widget.QuickContactBadge" parent="@style/Widget"> <item name="background">@drawable/quickcontact_badge</item> <item name="clickable">true</item>
Look for the lines highlighted in yellow above and set the layout_width to 50.333313dip and also set the layout_height to 59.0dip. Note: You can actually experiment with the layout_width and layout_height values to suit your need. So thats basically it. Recompile and flash your modified framework-res.apk using CWM.