Questions tagged [android-framelayout]

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.

1070 questions
-1
votes
1 answer

Animate Scale of FrameLayout

I created a new FrameLayout and set it to the following start parameters: FrameLayout layout = new FrameLayout(this); FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(0, 0); layout.setLayoutParams(params); …
Tobias Baumeister
  • 2,107
  • 3
  • 21
  • 36
-1
votes
1 answer

adding a pre-defined framelayout multiple times to a relativelayout

I have a frame layout that consists of a edittext and button (to remove the field) that i want to add multiple times to a relative layout when a user clicks a button. I have searched but i just cant find how to do this programmatically.
QazPhilby
  • 117
  • 1
  • 2
  • 10
-2
votes
2 answers

Framelayout becomes invisible but still occupies space

I have an xml file where I manage the visibility of a framelayout from the java side. the xml have 2 framelayout as button on a linearlayout . the orientation is horizental. Once I hide the first button on the right , the left one stay at his place…
summoner
  • 13
  • 2
-2
votes
2 answers

Buttons not showing up

I have this code in activity_maps.xml:
-2
votes
1 answer

Fragments are not loading in frame layout

I have created a bottom navigation, when icon is clicked fragment does not load on frame layout instead shows on bottom navigation Here's the MainActivity.xml
-2
votes
1 answer

Scroll not happening after frame layout zooming in android

Scroll not working after FrameLayout zooming in Android. I will try to zoom the FrameLayout , after that zooming I want to scroll the FrameLayout .
Vigneshwaran T
  • 307
  • 2
  • 6
  • 18
-2
votes
1 answer

What mean the error Activity has been destroyed in my android fragment application?

Hey i want to create and show framelayouts in my android appliaction without a xml layout. For this I work with Rect and Fragments. It works fine if all in the MainActivity but if I try to execute in a extra class I get the Error Activity has been…
Tarasov
  • 3,625
  • 19
  • 68
  • 128
-2
votes
2 answers

Android Framelayout Displays single ImageButton

Here is my Camera Fragment Framelayout:
Sagar Atalatti
  • 486
  • 1
  • 8
  • 21
-2
votes
1 answer

Unable to click on Button due to FrameLayout of NavigtionDrawer

I am unable to click on the "MONDAY" Button due to FrameLayout or ListView (idk What actually is creating problem) of navigation drawer. Check out image. What is the possible solution for this? When i gave the paddingLeft to the button i was able…
admin 7798
  • 697
  • 1
  • 7
  • 15
-3
votes
1 answer

which layout should i use for making a table type layout in android?

I want to make layout like this: Can anyone guide me which layout is more suitable?(I have fix number of rows and columns). Relative layout or linear layout? or something else?
-3
votes
2 answers

should I use fragment or viewpager for my app

Demo1 Demo2 when users click the button to answer the questions for the TextView on the top, the TextView will change the questions depends on the user's answer. (I think this part won't be hard for me) But what should I do after user click the…
JacobH
  • 11
  • 1
  • 4
-3
votes
3 answers
-3
votes
2 answers

Opening a fragment(s) in home activity

I've been searching through Stack Overflow but couldn't seem to find something useful about this issue I am having .. Below I have attached the code for the Home Activity that I have, and the XML file for it. I cant seem to get my head around what…
-3
votes
2 answers

android:how to add two button same row in framelayout?

I am trying to put the two button in framelayout. I could do it with RelativeLayout using alight left attribute, but with Framelayout I did not find any such attributes. How do I align tow button in same row at upper side?
1 2 3
71
72