Top "Android-view" questions

Questions regarding Views in Android.

How to view method information in Android Studio?

In Eclipse, when you hover your mouse over a method, a window would appear with a description of what the …

android-studio android-view
android - listview get item view by position

I have listview with custom adapter (base adapter). I want to get view from listview by position. I tried mListView.…

android android-listview android-view android-adapter
Determining the size of an Android view at runtime

I am trying to apply an animation to a view in my Android app after my activity is created. To …

android android-view
How can I assign an ID to a view programmatically?

In an XML file, we can assign an ID to a view like android:id="@+id/something" and then call …

android android-view android-resources findviewbyid android-identifiers
No resource identifier found for attribute '...' in package 'com.app....'

I've imported a project from Eclipse to Android studio. It utilizes a custom view: xmlns:app="http://schemas.android.com/…

android android-studio android-view android-custom-view
How does the getView() method work when creating your own custom adapter?

My questions are: What is exactly the function of the LayoutInflater? Why do all the articles that I've read check …

android android-arrayadapter android-view layout-inflater
How to make a view with rounded corners?

I am trying to make a view in android with rounded edges. The solution I found so far is to …

android android-layout view android-view android-shape
sendUserActionEvent() is null

I've got a real doozy here. When I click on spinners, open menu items, or open context menus on long-clicks …

android android-view logcat samsung-mobile
How to programmatically round corners and set random background colors

I'd like to round the corners of a view and also change the color of the view based on the …

android android-layout background android-view rounded-corners