Top "Android-widget" questions

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

Android - Set a border around an ImageView

I have a cell with a fixed width and height, let it be 100x100px. Inside that cell I want …

android android-layout android-emulator android-widget android-imageview
How to set both lines of a ListView using simple_list_item_2?

So the following will create a ListView where the rows have their "primary" textview filled by the values array. ArrayAdapter&…

android android-widget
Pop up window over Android native incoming call screen like true caller Android app

I am developing a broadcast receiver for incoming calls in Android and on getting incoming calls I want to inflate …

android android-layout android-widget broadcastreceiver android-broadcast
Changing size of seekbar thumb

I'm using a drawable for seekbar thumb with android:thumb="@drawable/thumb" How can I set the size of this …

android android-layout android-widget
Android Lock Screen Widget

A few users have been asking me Android lock screen widgets for my app - I believe they want a …

android android-widget lockscreen
Android EditText Transparent Background

I want to have a transparent background for Android EditText widget. How is that possible?

android android-emulator android-widget android-manifest
implement android:src="@drawable/image" programmatically in Android

I am trying to set the foreground image on an image button. After some research, I came across this code …

android android-widget android-imageview android-button
Android - Is It possible to disable the click of home button

I have an application, when it launches I have to disable all the buttons on Android device, I succeeded in …

android android-widget
Programmatically update widget from activity/service/receiver

I know it's possible, but I can't figure out a way to trigger an update of my widget from the …

android android-activity android-widget
GridView row height

I have a GridView that displays images, which are, unfortunately, of different sizes. They are shown in between two lines …

android gridview height android-widget row-height