Top "Android-ui" questions

Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT).

How to make Android 4.0 apps backwards compatible?

Android 4.0 (ICS) has lots of new UI guidelines which are great. The problem is that going forward, I'm not sure …

android android-layout android-ui android-4.0-ice-cream-sandwich
Android XML theme inheriting from two parent themes?

Android styles and themes always seem to make my head spin. I wanted to use the Holo UI across different …

android xml android-ui android-theme
ACTION_INSTALL_PACKAGE

My app is trying to install an APK. Intent installIntent = new Intent(Intent.ACTION_INSTALL_PACKAGE); installIntent.setData(Uri.fromFile(…

android android-intent android-ui start-activity onactivityresult
Missing Up navigation icon after switching from ICS ActionBar to Lollipop Toolbar

I have an activity with many fragments that uses action bar and navigation drawer. It has "home as up" enabled. …

android android-ui android-5.0-lollipop android-actionbar-compat android-toolbar
Android Loading Custom Number Picker Drawable [Image Inside]

On the left is the default Number Picker by android. Is it possible to load a custom number picker like …

android android-ui numberpicker
setColor method of GradientDrawable drawing different color

I have a shape in layer-list and my goal is to change color of the shape programmatically at runtime. I …

android android-ui android-drawable shapedrawable
Any faster way to dump UI hierarchy?

Right now I'm using uiautomator do dump the UI like this: adb shell uiautomator dump And it works fine except …

android android-layout android-ui android-uiautomator
Toast message not shown

I am trying to show a toast message in my application using the following code. AlertDialog.Builder alert = new AlertDialog.…

android android-ui toast android-toast
Get the position of the current image displayed in Gallery

in my application , i have a gallery of pictures, but i want to detect the position of the current image …

android android-widget android-ui android-gallery
Android - ScrollView like foursquare with maps + list

This is the Android equivalent of this iOS question. Trying to create a view that contains a MapView at about 20% …

android android-layout scrollview foursquare android-ui