Questions regarding Views in Android.
I have a fragment added using transaction.add(R.id.content, fragment, null); and I need to start new fragment …
android android-fragments containers android-viewI am using ViewPager for swiping between Fragments, but can I use ViewPager to swipe between Views simple XML layout? …
android android-fragments android-viewpager android-viewIs there any way to add elevation to a View in pre-lollipop devices without wrapping them in a CardView?
android android-view material-designWould anyone please try to explain to me why public void addView(View child) { child.setDrawingCacheEnabled(true); child.setWillNotCacheDrawing(false); …
android android-viewHow can I get the margin value of a View from an Activity? The View can be of any type. …
android android-layout android-viewThe LayoutInflater.inflate documentation isn't exactly clear to me about the purpose of the attachToRoot parameter. attachToRoot: whether the inflated …
android android-layout android-view layout-inflaterI need to draw three circles in my fragment ,the circles differ in size, I refer this link The result …
android android-layout android-canvas android-viewMy answer to this question was just accepted but I started to wonder when exactly one needs to invalidate() a …
android android-imageview android-viewI would like to create a photo/video capture application. I have created a CaptureView class which extends SurfaceView and …
android android-view onkeydownHow can we use percentage values for android view elements? something like this <TextView android:id="@+id/" android:layout_…
android android-view android-preferences android-styles