android - How do I place buttons on top of FlakeView in Layout? -


I am a Nobel for Android development and I try to install buttons at the top of Flex V from 9 Old Android Library. I am doing As I am using a frame layout in which the button above the layout is placed FlakeView. However, when I run the app, the buttons on the back of the Flex appear instead of the front of them. I used the frame layout to complete it without any problem, so I do not understand that it is working now not doing. Any help is greatly appreciated

layout

  & lt; FrameLayout xmlns:. Android = "http://schemas.android.com/apk/res/android" Android: Orientation = "Vertical" Android: Layout_width = "FillPart" Android: layout_height = "fill_parent" & gt; & Lt; LinearLayout Android: Orientation = "Horizontal" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; & Lt; Button Android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "more" android: id = "@ + id / more" /> & Lt; Button Android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "less" android: id = "@ + id / low" /> & Lt; Android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "new game" android: id = "@ + id / newgame" /> & Lt; / LinearLayout & gt; & Lt; Android: layout_height = "fill_parent" Android: gravity = "center" Android: orientation = "vertical"> Android: id = "@ + id / container" & Lt; / LinearLayout & gt; & Lt; / FrameLayout & gt;    

How are you trying to complete your layout, behind it Organized with. Do the following:

  & lt; FrameLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: Orientation = "Vertical" Android: layout_width = "Fill_parent" android: layout_height = "fill_parent" & gt; & Lt; Android: layout_height = "fill_parent" Android: gravity = "center" Android: orientation = "vertical"> Android: id = "@ + id / container" & Lt; / LinearLayout & gt; & Lt; LinearLayout Android: Orientation = "Horizontal" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; & Lt; Button Android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "more" android: id = "@ + id / more" /> & Lt; Button Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" Android: text = "less" Android: id = "@ + id / less" /> & Lt; Button Android: layout_width = "wrap_content" android: layout_height = "wrap_content" Android: text = "new game" Android: id = "@ + id / newgame" /> & Lt; / LinearLayout & gt; & Lt; / FrameLayout & gt;    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -