Questions tagged as 'layout'

3
answers

Equivalent to "Position relative" in XML android studio, overlay layouts

How can I superimpose two layout in order to create the effect of the image with the number 2 using XML in Android? I think I have read at some point a property that works similar to what is in CSS position relative, which allowed moving the...
asked by 19.09.2018 / 20:36
2
answers

keep the content centered on a defined layout?

LAYOUT ACTUAL I have an already defined layout which consists of a container (.container) that centers all the content of the page, of the rows (.row) which help to create horizontal divisions inside the container and the columns that help...
asked by 06.02.2018 / 03:01
1
answer

Android custom layouts

How can I make two containers in a layout that I have created? The idea is to try to do something similar to what is highlighted in the following image. And try to insert something similar in the topLinearLayout of my code In t...
asked by 22.04.2017 / 01:37
1
answer

Hide keyboard when clicking anywhere in the Activity

First of all, I have seen the questions on this topic but no answer has helped me, so I decided to open a new one. I want the keyboard to close whenever I click outside of it, it does not matter if I do it in a TextView , ImageView...
asked by 11.03.2017 / 23:46
1
answer

Change color notification bar android studio

I want that depending on the activity the notification bar (where the battery comes out, signal, etc.) change color. For example, if I am in Activity_main this bar is blue and if I am in Activity_about it should be orange. Otherwise, how c...
asked by 07.01.2018 / 14:06
1
answer

Linear Layout, Android Xamarin,

A question with the design of android, I want to put in a row 6 controls, 3 TextView and 3 EditText, and all right there, but below those controls let's say a "screed down" I want to put another 6 similar controls, but with those below, but when...
asked by 24.08.2017 / 18:39
1
answer

Content of a slideable layout

I have a layout with a lot of buttons. My idea is that although they do not all show at the same time, if I can move from top to bottom the content of that layout to be able to navigate in it. But I do not know how I can do it ... Any idea? atta...
asked by 21.04.2017 / 19:59
0
answers

Problem with vertical and horizontal scroll in an app

I'm working on a simple app that contains "CollapsingToolbarLayout" and "Tabs" on android, the content I'm showing in the app is a "RecyclerView" but I'm having a problem, when it is "scroll" from top to bottom and I try to do it trmabien to one...
asked by 03.12.2018 / 23:58
0
answers

Failed to find style 'bottomNavigationStyle' in current theme Error

I have a Layout that inside is a BottomNavigationView , the Layout recognizes me the BottomNavigationView , but it gives me an error, Failed to find style 'bottomNavigationStyle' in current theme , and a warning: I've gi...
asked by 01.09.2018 / 10:52
1
answer

Occupy the full width and height of the screen with a QTableWidget

I am trying to occupy all the width and height of my window with a QTable Widget for this I have: #Mi layout vboxLayout = QtWidgets.QVBoxLayout(self) self.mainLayout = QtWidgets.QGridLayout() vboxLayout.addLayout(self.mainLayout) vboxLayout...
asked by 14.08.2018 / 09:13