
Hello everyone!
This is an app to show Android 4.2 style owner picture and name on Gingerbread and above. This was made for my Nemesis One Rom for Galaxy Y, but since the rom is no more available on XDA, I'll be teaching this simple guide, hopefully it will be useful for everyone.
Let's begin.
To do this mod, you will need:
1. APKTool/APK Manager
2. The Quickpic app from Play Store already installed on your device.
3. Nemesis Owner Info App (attached)
4. Smali sources (attached).
Steps:
1. Decompile your SystemUI.apk
2. Navigate to res/layout/status_bar_expanded.xml
3. Now you have to choose a suitable location and size for putting the owner image picture. I'm usin Alin Marin's Nexus 4 styled SystemUI, so I'll paste my code over the code for the first tile. You may put it somewhere else too.
For example, I'll be creating a picture tile of size 120px by 118px:
4. Now extract the smali_sources.zip attached with this post. Copy the contents inside and paste it inside the smali folder of your decompiled system UI.Code:<RelativeLayout android:orientation="vertical" android:id="@id/relativeLayout1" android:layout_width="120.0px" android:layout_height="118.0px" android:layout_centerInParent="true" android:layout_centerVertical="true">
<com.nemesis.ownerinfo.Carrier android:id="@id/imageView1" android:layout_width="120.0px" android:layout_height="118.0px" android:layout_centerInParent="true" android:layout_centerHorizontal="true" />
<com.nemesis.ownerinfo.NamePlate android:textSize="18.0dip" android:textColor="#ffcccccc" android:gravity="center" android:background="#80000000" android:layout_width="120.0px" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentBottom="true" />
</RelativeLayout>
5. Done! Now recompile your systemUI, and push it to System. Reboot.
6. Get the Nemesis Owner Info.apk ( attached ). Install it as a normal app.
Now, open the app. Change the Owner Pic with the help of QuickPic, and just type in your name. KABOOM! Done!
Now look at your status bar, be amazed, and please press the THANKS button.
Want to buy me something? Look inside the app, you will find links for my other apps on Play Store. Please buy a paid app to support me!! :eek::cool::):victory::silly:
SCREENIES:
![]()
![]()
![]()
CREDITS:
1. DCSMS for his Greper GitHub source and help
2. Jake Wharton for ActionBarSherlock ( for putting a HOLO UI to the app )
3. Alin Marin for the sample statusbar I've used here.
NOTE:
This app has been tested exclusively on a GingerBread device with a deodexed SystemUI. But I hope it works on other devices too. If it works on your phone, please do say so.
Also, THIS GUIDE IS FOR PERSONAL USAGE ONLY. DO NOT USE IT INSIDE ANY ROM OR THEME WITHOUT ASKING ME.
Thank you.