Re: [android-developers] Icons become very large in low resolution phones

2012-09-17 Thread TreKing
On Sun, Sep 16, 2012 at 7:40 AM, sha256 sha...@hasnath.net wrote: But the icons become very large in QVGA skin. Do you have the appropriate icons for each density level? - TreKing

[android-developers] Icons become very large in low resolution phones

2012-09-16 Thread sha256
I'm developing a keyboard modifying the latinIME keyboard. my keyboard works just fine in HVGA skin in emulator, But the icons become very large in QVGA skin. I've tested in Samsung Galaxy DUOS it shows the same problem. Only two rows are shown. and only 4 keys cover the whole width. Any help

[android-developers] Icons in LISTVIEW...

2012-09-06 Thread Sobia Awan
Hi, I want to set 3 icons at the right side of the LISTVIEW when i click on icon1 the new activity should start and so on, Is it possible or not ...? Thank you -- *Sobia Awan* * Bs(cs)* ** -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Icons in LISTVIEW...

2012-09-06 Thread ramesh aravelli
Yes... Possible. Take customadapter and inflate xml that contains icons. On Sep 6, 2012 7:53 PM, Sobia Awan juwerian.so...@gmail.com wrote: Hi, I want to set 3 icons at the right side of the LISTVIEW when i click on icon1 the new activity should start and so on, Is it possible or not

Re: [android-developers] Icons in LISTVIEW...

2012-09-06 Thread Amey Bapat
import android.app.Activity; import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; public class Home extends ListActivity { String [] names = {aa, bb, cc, dd}; int [] images = {

Re: [android-developers] Icons in LISTVIEW...

2012-09-06 Thread Sobia Awan
ok ! Thanks for your reply.. On Thu, Sep 6, 2012 at 10:47 PM, Amey Bapat amey.n.ba...@gmail.com wrote: import android.app.Activity; import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView;

[android-developers] icons: getting conflicting information

2011-05-22 Thread Spooky
First, I've been advised (building an app for Android 1.5 and up) to stay away from res/drawables-?dpi and just use res/drawables ... then, I read that the right way IS to use res/drawables-?dpi.Which is right? Second, the SDK samples all use android.R.drawable.* ... and yet, the reference

[android-developers] Icons looks blurred instead of being sharp after resizing

2011-04-19 Thread varinag gold
Hi, I am displaying a grid of icons of all the applications on my device and I found after I resize them to be all same width and height they appear on screen some what blurred or foggy . Also the Icon Text looks blurred . I have put code snippet below that actually resizing the icons. Please

Re: [android-developers] Icons looks blurred instead of being sharp after resizing

2011-04-19 Thread Dianne Hackborn
The size of app icons is 48x48 dp units. If you are drawing them at some different size, they will be blurry because you are scaling them from their designed size. On Tue, Apr 19, 2011 at 8:59 PM, varinag gold varinagg...@gmail.com wrote: Hi, I am displaying a grid of icons of all the

[android-developers] icons graphics in android app

2010-12-22 Thread crem
Hi, I have a question: What is the common approach when using icons in an android app (buttons, etc...) ? Android offers these hdpi, ldpi and mdpi folders for images in different resolutions. How good does this work for all different displays? Or is it more common to create the icons

Re: [android-developers] icons graphics in android app

2010-12-22 Thread Kostya Vasilyev
It works very well. Image resources are packaged as PNG files, lossless compression. Some useful links: http://developer.android.com/guide/practices/ui_guidelines/icon_design.html http://developer.android.com/guide/practices/screens_support.html

Re: [android-developers] Icons to support different screens

2010-10-03 Thread Brad Gies
First of all.. thanks Kostya and Mark for your answers.. They were very helpful... and thanks Yahel for the link. I downloaded Smart Image Resizer and I'm looking at the code to see if will do what I need on the site... My idea right now is to ask users to upload an image with the correct

Re: [android-developers] Icons to support different screens

2010-10-03 Thread Mark Murphy
On Sun, Oct 3, 2010 at 2:38 AM, Brad Gies rbg...@gmail.com wrote: Is there a foolproof way of knowing which density (hdpi, mdpi, or ldpi) the framework is going to use BEFORE the images are downloaded? android.util.DisplayMetrics -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Icons to support different screens

2010-09-30 Thread Mark Murphy
On Wed, Sep 29, 2010 at 9:30 PM, Brad Gies rbg...@gmail.com wrote: For the smaller icons they will be in the typical position in the list view on the left side, with text beside them, so this one is simpler, just need to choose the correct icon size. From the reading I've done it looks like

Re: [android-developers] Icons to support different screens

2010-09-30 Thread Brad Gies
With respect to your larger icons, I have no clue what to tell you. Hah... Mark... now you're scaring me... you know as much about screen size/density etc. as anyone I know :). In my case, I absolutely do not have the ability to learn this... my brain totally shuts down as soon as

Re: [android-developers] Icons to support different screens

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 12:12 PM, Brad Gies rbg...@gmail.com wrote: With respect to your larger icons, I have no clue what to tell you. Hah... Mark... now you're scaring me... you know as much about screen size/density etc. as anyone I know :). You need to know more people, then, particularly

Re: [android-developers] Icons to support different screens

2010-09-30 Thread Kostya Vasilyev
Brad, 30.09.2010 20:12, Brad Gies пишет: Actually, just confirmation that the 24, 32 and 48 are the right sizes for the smaller icons is quite helpful. I can guess at the correct sizes for the larger icons, and then adjust as I test the different AVD's... The reference device densities

[android-developers] Icons to support different screens

2010-09-29 Thread Brad Gies
I never do graphics type programming so I have tended to ignore most of the posts on this list regarding anything to do with images and graphics, but now it seems I need to know more than I do know :). I'm designing a screen that will need to look good on all phones, and all resolutions.

Re: [android-developers] Icons to support different screens

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 8:10 PM, Brad Gies rbg...@gmail.com wrote: The second image is for the detail view and it basically should fill the entire width of the screen (roughly, it's ok if it doesn't use the entire width as long as none of it is chopped off). The size I use for my G1 is 468x60.

Re: [android-developers] Icons to support different screens

2010-09-29 Thread Brad Gies
Let me clarify a little. It's a list view that will display other people's icons that they will have to supply, so I don't/won't have total control of them, but I can ask that they be supplied in x number of formats. I need to keep the number down because of that, and some of the graphics

[android-developers] Icons for submenu items doesn't show up

2010-04-20 Thread dillipk
Hello, With below code, the icon for submenu items does not get displayed. SubMenu submenu = menu.addSubMenu(0, Constants.MENU_ID_SETTINGS, 1, Settings); submenu.setIcon(R.drawable.settings); submenu.add(0, Constants.MENU_ID_PREFERENCES, 1, Preferences).setIcon(R.drawable.preferences);

Re: [android-developers] Icons for submenu items doesn't show up

2010-04-20 Thread ~ TreKing
On Tue, Apr 20, 2010 at 10:18 AM, dillipk codersnet2...@gmail.com wrote: Do I miss anything here? The fact that sub-menus don't support icons. http://developer.android.com/intl/fr/guide/topics/ui/menus.html http://developer.android.com/intl/fr/guide/topics/ui/menus.html *Icon Menu * This is

Re: [android-developers] Icons for submenu items doesn't show up

2010-04-20 Thread Liviu Ungureanu
Try to use PopUpWindow http://developer.android.com/reference/android/widget/PopupWindow.htmlclass. Here you have an examplehttp://www.anddev.org/how_to_create_a_popupwindow-t1259.html . -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] icons bigger than 48x48 pixels

2010-02-01 Thread jonesy
i have a rooted mytouch, i use bettercut, and i would like the icons on my home screen to be able to be bigger than 48x48 pixels, i'd prefer 60x60. i know there's something in the root folders i can edit to make this possible, i think in framework-res.apk. but does anyone have any idea what

[android-developers] Icons revisited

2010-01-08 Thread Petroleum Nasby
This is from an old thread, but I think a lot of people still have this problem, so new thread. On Nov 19, 11:59 pm, Dianne Hackborn (at Google) wrote: We don't recommend using the built-in icons. This has already been discussed fairly in-depth here, but the basic answer is: unless there is a

[android-developers] icons

2009-10-20 Thread android
hello how do I make the icons display permanently without pressing menu?? not add.menu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Icons for Android

2009-08-26 Thread Houba
Hello, Can someone kindly tell me what is the ideal icon size for an app? I read the forums and found it to be 64x64. However, when I view my app on the home screen, the icon looks literally half the size of Skype's icon.. or any other icon for that matter. I think for tabbed menus, the size

[android-developers] Icons on Context Menu

2009-06-09 Thread Sujay Krishna Suresh
Hi all, I want to add icons to the menuitems in my context menu. i tried it as MenuItem item = menu.add(text); item.setIcon(image); where image is a Drawable. but it doesnt work... can anyone temme y how to display icons for Context menu items?? -- Regards, Sujay Dave Barry

[android-developers] Icons - Recommended size, format, etc?

2008-11-07 Thread g1bb
Hello, Is there a recommended size or format for an application's icon? I've been using .PNG at 190x141 px, but I can never seem to get them as 'cool' looking as the other applications I've seen. Thanks in advance. --~--~-~--~~~---~--~~ You received this message