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.

Why is a FrameLayout used for fragments?

Wherever I look, FrameLayout seems to be used as the FragmentContainer. Why is FrameLayout always seen with Fragments?

java android fragment android-framelayout
Overlay text over imageview in framelayout programmatically - Android

I am trying to implement a textview over an image in a framelayout at the center and bottom of the …

android textview imageview android-framelayout
How to change direction of android elevation shadow?

I have FrameLayout with android:elevation="4dp". Shadow of this elevation directed down. I want change direction of shadow to …

android xml shadow android-framelayout android-elevation
How to set Width and Height of FrameLayout dynamically android?

I am trying to set the width and height of 2 frame layouts which are the containers for 2 fragments, both being …

android android-fragments android-linearlayout classcastexception android-framelayout
ClassCastException LinearLayout LayoutParams

I got an Actionbar and some Fragments. The Problem is my Homescreen. There is an overview Fragment on the left …

android android-linearlayout classcastexception android-framelayout
How to redraw canvas in a view from activity

I have a class that extends View and have the onDraw method implemented in my xml file I have a …

android canvas view android-framelayout
Get Fragment instance in Activity

I have added Fragment to Activity like getSupportFragmentManager().beginTransaction() .add(R.id.container,new MyFragment).commit(); where container is the …

android android-fragments interface fragmentmanager android-framelayout
FrameLayout with rounded corners

I have a FrameLayout inside my root view (linear:vertical) that I'm using to hold different fragments depending on user …

android android-framelayout
Adding children views to a FrameLayout programmatically, then change their positions

I'm doing an Augmented Reality app and I need to show some objects on the camera view. I'm creating a …

android android-framelayout
Add a Textview to a FrameLayout in a determined position

I'm trying to add a textView to a frameLayout. The TextView has wrap_content properties, so it grows when the …

android textview android-framelayout