Top "Android-framelayout" questions

Android layout that uses the screen to display views that can be stacked on top of each other, with the most recent child added on top.

'Call requires API level 23' error, but getForeground() exists on FrameLayout from API 1

Summary Finally, I found the related issue, setForeground() incorrectly flagged as requiring API 23 on ViewGroups extending FrameLayout. Issue 189041: setForeground() incorrectly …

java android android-studio android-framelayout android-api-levels
How to android Z order?

In my app, I want to draw on top of the background image. I have the following xml: <?xml …

android android-layout android-framelayout
android: How to use custom colors?

Im trying to set the backgroundcolor of my FrameLayout using my own colors. I created a .xml file which contains …

android background-color android-framelayout
android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams

There are other related issues on this but they do not address my situation (their error code has to do …

java android classcastexception android-framelayout android-runtime
Is it fine to use LinearLayout instead of FrameLayout?

I am building an application with one Activity MainActivity which consists of two fragments. And I came across with many …

android android-layout android-linearlayout android-framelayout
How to programmatically adjust z order of Views

The below code is my attempt to send mMyView to the front or the back of the set of children …

android view android-framelayout
Disable NestedScrollview scroll

Design of my app Screen - 1 <NestedScrollview> <LinearLayout orientation:horizontal"> <RecyclerView-1> <Framelayout>(…

android android-recyclerview android-framelayout android-nestedscrollview
Android frame layout click listener not working

I've got a FrameLayout with two nested LinearLayouts. I want an onClickListener() for FrameLayout. After a search I got a …

android android-framelayout
Warning: This <FrameLayout> can be replaced with a <merge> tag

I have a FrameLayout that contains a TextView and two LinearLayouts: <FrameLayout xmlns:android="http://schemas.android.com/apk/…

android xml android-framelayout android-lint
android set new size after scale animation

I am using Translate and scale animation. First i translate my Frame Layout to the center of the screen and …

android animation android-framelayout scaletransform