Either relates to Home Screen widgets, or to general UI elements used on an Android Application screen.
AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("Title"); builder.setItems(items, new DialogInterface.OnClickListener() { public void onClick(DialogInterface …
android android-widgetI've added a RatingBar in a layout: <RatingBar android:id="@+id/ratingbar" android:layout_width="wrap_content" android:layout_…
android android-widget android-stylesI have researched a lot to adjust the layout when softkeyboard is active and I have successfully implemented it but …
android android-layout android-widget android-softkeyboardI am using code sample from Making Sense of Multitouch for zooming image view. On ScaleListener I added ScaleGestureDetector.getFocusX() …
android android-layout android-intent android-widgetI am using ViewPager to allow user to swipe between its views. Is there a way how to force this …
android android-widget android-viewpagerI have added an image right of the text in an EditText widget, using the following XML: <EditText android:…
android android-studio android-edittext android-widget compound-drawablesIs it possible to assign a widget width to half the available screen width, and do it using declarative xml?
android android-widgetI made a simple AlertDialog in my Activity: View view = layoutInflater.inflate(R.layout.my_dialog, null); AlertDialog infoDialog = new …
android android-layout android-intent android-emulator android-widgetI have a view made up of TableLayout, TableRow and TextView. I want it to look like a grid. I …
android layout android-widget lifecycle measureI have three pages (Fragments) inside a ViewPager, however I only want to display a menu item for two of …
android android-widget android-viewpager