[Q] MDPI to LDPI - Android Q&A, Help & Troubleshooting

I've found a neat Touchwiz launcher that is meant for mdpi and my device is ldpi.
I would like to convert it for my device but I'm not sure where exactly to start. I doubt it's just resizing the images so before wasting my time on doing that, because I tried out the launcher without touching anything inside the apk and the dock icons appeared fine except the shortcuts on the homescreen were overlapping a bit with the dock icons and when I went to drawer, the apps weren't centered but were at the top and there was free space on the bottom. I would like to get some more information on this procedure from a few people with experience.
I've got APK-Multi-Tool and I just decompiled the apk.
I went to \res\layout-mdpi\ and I've opened up the launcher.xml and by looking at the code I have a feeling that's the file I should be editing.
There are stuff like this:
Code:
android:layout_width="fill_parent" android:layout_height="45.0dip"
Is this "45.0dip" thing in any way related to the screen density?
EDIT: Here are some screenies of what it appears like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The problem on the second screenie doesn't really bother me much, the only problem there is the page indicator is at the bottom on the dock icons which sucks I would like it to be moved on top of them.

Anyone?

Related

Making new clock numbers

Here is what the standard flip clock numbers look like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Each number appears to be centered in its own 100x128 pixel block in the total 1024x256 size of the image.
Is there an easy way to place the numbers in the same locations when making new clock numbers with different fonts? I am using Gimp 2.6 for image editing. Because it's free... and I'm cheap.
Okay, I think I made the numbers right. In case anyone is interested, here is how it came out.
I was scratching my head over this the other day when I was making some clock hands......... do the images have to be in exactly the right place in relation to the edges of the image, in the end I just too some clock hands from a cab and drew over them to make sure I was in the right place......
I've wanted to do some clock number for a while... your knowledge may save me a LOT of trial and error
Thanks....
ps have you tried paint.net? I use that because its free and Im also cheap..... Ive yet to try this gimp thingy Im hearing so much about.....

[Q] Help Theming Google Search Widget

Hi Guys,
I'm a designer and have put together a concept of a Google Search Widget that I wouldn't mind sitting on my home screen. I've integrated styles from other parts of the UI so that it'll fit more seamlessly into the user experience.
I've never developed for Android before but have done a lot of background reading and am aware of the various \res\drawable images I'll need to replace. My question is whether or not I'll be able to replace those images without rooting my device, using ASTRO for example?
Also, is it a simple case of replacing the \res\drawable images and it working or is there more to it?
I've got a locked bootloader and don't want to unlock it, so am waiting for ICS and a hopeful way to root with a locked bootloader then.
Screenshot of what it will look like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'll be re-designing the app that launches upon touch to look more like the Xperia UI menus
Cheers,
M
Bump for post edit (didn't want to duplicate/start a new topic)

[Q] Help theming an application

So I have been trying to theme the Kik Messenger app. I have gotten pretty far but I'm having some issues that have me stumped. I'll post screenshots to explain.
First Image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For some reason the settings screen is a big giant mess.
1). What happened to the rest of this bar? I also want to change that entire bar to the color code 2e2e2e but I cannot find it for the life of me.
2 and 3). These white bits should not be here since I have changed every instance of android:background to black, Help please?
Second Image:
1). Once again, I want to change this topbar color but I cannot find it anywhere in the .xmls or in the drawable folders.
2). This is a big one. The only reason that this bottom bar is grey and not black is because when I make it black, I cannot see what I am typing because the text is also black. I cannot find where to change the input text color anywhere in any of the decompiled apk.
I really need someone who is good with themes to reach a hand out. I wanted to take this on myself but these last touches are driving me crazy since I am a perfectionist. Thanks for any help!

Teach-A-Baby(In Development)

Hey everyone, just want to share with all of you an app idea i am currently working in developing. I would love to hear some advice and what can be done to make it better.
The point of this app is kind of straight forward. It is to teach kids their ABC's, how to count, their colors and to include some lullabies as well.
Currently i dont have the images i need so for now in the image below i only have the color red and an A in the middle. The scree i swipeable so when you swipe it goes to the next letter and pronounces it automatically out loud. Each letter will have a different background, NOT A COLOR, for example A will have a background of an apple, B will be a Bear, C could be a Cat and so on...
As of now i dont know how the app will look in its final stage but this is what i got so far.
The app just started being developed, so far not much is done but updates as it goes on will be posted. Thanks
Here are some images in order of how they load. The main Page has a sliding drawer from the left side of the screen. This drawer is ugly and not finished at all yet.
Splash
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Logo
Main
Main with Sliding Drawer
ABC Activity
Lullaby Activity

[Q] Weird dock shortcuts issue on LG Optimus L7 [SOLVED]

A friend of mine recently got this weird issue where the shortcuts on the bottom would overlap on top of each other.
See the screenshot below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, only the app drawer shortcut appears to be available as it's label is bright while the others' is dark and tapping on them does nothing.
Has anyone encountered such issue? I am aware that a hard reset might fix this but we do not want to do that. I was thinking of wiping data of the launcher but I am not sure if that has any risks of crashes. I've done data wiping of the launchers on my Samsung phones without any issues but I am not sure how LG's things work.
Just curious, isn't that a screenshot of phone before you changed the launcher?
I ment, you took screenshot and put that as a background.
That's because it IS a screenshot set as a wallpaper. Similar to the popular desktop pc prank with the "frozen" desktop. Just change the home screen wallpaper from Settings(Настройки).
Well that was weird. I never would've thought of that he would have such image applied. You guys turned out right.
Thanks for the help.
Sent from my GT-I9190 using XDA Free mobile app

Categories

Resources