Questions tagged [android-gui]

The system through which people interact with a computer. UI stands for User Interface

There's now a Stack Exchange site for UI, Interaction and User Experience design: [ux.stackexchange.com][2]

Similar tags:

116 questions
5
votes
1 answer

Programmatically Created Android ProgressBar (Circle) Invisible On Xoom (Works Everywhere Else!)

The Problem I'm having a weird issue that I can't figure out and need some other eyes to look at. I have dynamically created a ProgressBar view and it works on a variety of devices and AVDs except for my Motorola Xoom. Screenshots All screenshots…
Geeks On Hugs
  • 1,591
  • 2
  • 18
  • 31
4
votes
2 answers

Custom view in Dialog Preference

How can I set a customize the style in extended DialogPreference ? public class AboutDialog extends DialogPreference { public AboutDialog(Context oContext, AttributeSet attrs) { super(oContext,attrs); //there is no such…
Lukap
  • 31,523
  • 64
  • 157
  • 244
4
votes
2 answers

Android: android:layout_width=wrap_content but not less than X dp?

Is it possible to define GUI element width as android:layout_width="wrap_content" but somehow define minimal width of Xdp?
tomash
  • 12,742
  • 15
  • 64
  • 81
4
votes
4 answers

a bug with eclipse android's graphical layout editor?

I'm surely not the first one noticed the problem below: when using the graphical layout to drug some views into the layout preview, then trying to make some changes directly on the xml file - the lines messing around in strange annoying way. only…
Tal Kanel
  • 10,475
  • 10
  • 60
  • 98
3
votes
3 answers

Limit the size of the textview horizontally

I have this text view
Lukap
  • 31,523
  • 64
  • 157
  • 244
3
votes
5 answers

confusion about drawable-hdpi,drawable-mdpi,drawable-ldpi and drawable

I am on one really big project that was started sins the time of android 1.5. This project evolved as android was evolving and at this point supports 2.3 and above. Now I got this problem I have a lot of drawables in…
Lukap
  • 31,523
  • 64
  • 157
  • 244
3
votes
1 answer

Drag and drop in preferences (reordering of items)

I have few items like this
Lukap
  • 31,523
  • 64
  • 157
  • 244
3
votes
2 answers

Order of evaluation with relative layouts, best practices and parsing of relative-layout

I read this " It used to be that Android would use a single pass to process RelativeLayout-defined rules. That meant you could not reference a widget (e.g., via android:layout_above) until it had been declared in the XML. This made defining some…
Lukap
  • 31,523
  • 64
  • 157
  • 244
3
votes
1 answer

Building graphics UI in Android NDK

I'm building an audio / music app. in Android. And because of this I'm using the new Oboe C++ library. I'm wondering how people do graphics and UI in Android with NDK applications. I don't think I need OpenGL or a low level, fast graphics library.…
interstar
  • 26,048
  • 36
  • 112
  • 180
3
votes
2 answers

Material design - What is the correct size for icon in listview?

What is the correct size for icon in listview to follow material design guidelines ?
TooCool
  • 10,598
  • 15
  • 60
  • 85
3
votes
1 answer

ViewPagerIndicator: TabPagerIndicator not visible

im struggeling with the viewpagerindicator right now. When i use TitlePageIndicator, everything works fine. But when i try to use the TabPageIndicator I cant see it. It does not appear in the hierarchieview. I tried a lot of things like implement…
wirthual
  • 117
  • 1
  • 2
  • 8
3
votes
1 answer

Styling a whole layout

I have a layout that I use for rows in a ListView. In some places, I need to show the layout in a 'light' style and in some places 'dark'. How can I accomplish this using Android styles, themes, etc? I understand the concept of styles, but it seems…
Edward Dale
  • 29,597
  • 13
  • 90
  • 129
3
votes
3 answers

Android Levelable Semitransparent ImageButton with leveling transparency

I need to create a semi-transparent ImageButton but I haven't find a valid way to do this. How to set a SemiTransparent look and feel with a settable transparency level? Any suggestion?
Silverstorm
  • 15,398
  • 2
  • 38
  • 52
2
votes
2 answers

Add a caption to a WheelView

I'm using the WheelView( http://code.google.com/p/android-wheel/ ) to let users input a number of a certain unit (e.g. kg). I'd like to display the unit of the current value next to it like it is shown in this picture. Sadly, the WheelView doesn't…
2
votes
4 answers

How to prevent the soft keyboard from displaying, or at least evict it once it does?

My app has an EditText that, when I click in it to enter text in the Emulator, brings up a soft keyboard. I don't want this confounded thing to begin with, but then, like the visiting loud-mouthed uncle in the plaid pants, doesn't want to go away,…