Top "Android-widget" questions

Either relates to Home Screen widgets, or to general UI elements used on an Android Application screen.

ListView with clickable/editable widget

Is it possible to use a OnItemClickListener on a ListView when the Items layout has a clickable/editable widget (RadioButton,…

android android-widget
Rotate View Hierarchy 90 degrees

I am working on a subclass of FrameLayout that is supposed to rotate all of its children by 90 degrees. I …

android android-layout animation android-widget
Incorrect Coordinates From getLocationOnScreen/getLocationInWindow

A call to getLocationOnScreen() or getLocationInWindow() both give me a top/Y coordinate that is about ~30px (status/notifications bar's …

android android-widget
How to customize the width and height when show an Activity as a Dialog

If I have defined a Activity: public class DialogActivity extends Activity{ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …

android android-layout android-emulator android-widget android-manifest
Heterogeneous GridLayout

I am trying to implement the layout below: I guess GridLayout is suitable for my needs but after 2 hours of …

android android-layout android-widget android-xml grid-layout
When is it necessary to use singleTop launchMode in an android widget or application?

I just got burned by a widget. I could see the cause of the problem, but I could not determine …

android android-widget android-searchmanager
allow the user to insert an image in android app

my question is: how to create imageButton which allow the user to upload image from their phone and insert it …

android android-widget android-imageview android-image
"_Problem Loading Widget" message

When loading a widget if it cannot find a resource or something it says Problem Loading Widget. That's all! Amazing! …

java android android-layout android-widget loading
How can an error message be set for the Spinner in Android?

I'd like to be able to call code like this, similar to how setError is set on a TextView: spinner.…

android android-widget spinner
Android: Hide child dividers in ExpandableListView

I need to completely remove dividers from ExpandableListView. As for parent items it's a setDividerHeight method where I can pass …

android android-widget