tagged [layout]
What is the difference between match_parent and fill_parent?
What is the difference between match_parent and fill_parent? I'm a little confused about two XML properties: `match_parent` and `fill_parent`. It seems that both are the same. Is there any difference ...
- Modified
- 12 Mar at 13:35
How to make my layout able to scroll down?
How to make my layout able to scroll down? I can not scroll down the screen to view the data in the "Replied By:" section. How can I make my layout scrollable? ![alt text](https://i.stack.imgur.com/BF...
Rails check if yield :area is defined in content_for
Rails check if yield :area is defined in content_for I want to do a conditional rendering at the layout level based on the actual template has defined `content_for(:an__area)`, any idea how to get thi...
- Modified
- 10 Mar at 15:14
Change the Right Margin of a View Programmatically?
Change the Right Margin of a View Programmatically? Can this attribute be changed dynamically in Java code? I have a `TextView`, that has to change its position some pixels to the left dynamically. Ho...
Why this line xmlns:android="http://schemas.android.com/apk/res/android" must be the first in the layout xml file?
Why this line xmlns:android="http://schemas.android.com/apk/res/android" must be the first in the layout xml file? Why is this line needed in xml layout file?
- Modified
- 7 Mar at 22:44
How can I remove the debug banner in Flutter?
How can I remove the debug banner in Flutter? I'm using `flutter screenshot` and I expected the screenshot to not have a banner, but it has. Note that I get a `not supported for emulator` message for ...
- Modified
- 22 Nov at 09:18
Space between Column's children in Flutter
Space between Column's children in Flutter I have a `Column` widget with two `TextField` widgets as children and I want to have some space between both of them. I already tried `mainAxisAlignment: Mai...
- Modified
- 3 Jan at 03:57
Which Layout Manager do you use?
Which Layout Manager do you use? What java GUI layout manager does everyone use? Lately, I have been using [MigLayout](http://www.miglayout.com/), which has some powerful component controls. Just want...
Jetpack Compose - Column - Gravity center
Jetpack Compose - Column - Gravity center I'm creating a layout with Jetpack Compose and there is a column. I would like center items inside this column:
- Modified
- 21 Dec at 09:40
How to animate RecyclerView items when they appear
How to animate RecyclerView items when they appear How can I animate the RecyclerView Items when there are appearing? The default item animator only animates when a data is added or removed after the ...
- Modified
- 29 Dec at 00:53
How to change status bar color in Flutter?
How to change status bar color in Flutter? I am trying to change the status bar color to white. I found [this](https://pub.dartlang.org/packages/flutter_statusbarcolor) pub on flutter. I tried to use ...
- Modified
- 10 Sep at 08:34
What is the correct way to add date picker in flutter app?
What is the correct way to add date picker in flutter app? In my app I am creating signup page where I need to add DOB. I want to add date picker in that but I am not getting correct way to do this.
- Modified
- 9 Oct at 18:49
Get the size of the screen, current web page and browser window
Get the size of the screen, current web page and browser window How can I get `windowWidth`, `windowHeight`, `pageWidth`, `pageHeight`, `screenWidth`, `screenHeight`, `pageX`, `pageY`, `screenX`, `scr...
- Modified
- 9 Jun at 09:2
How to change line color in EditText
How to change line color in EditText I am creating an EditText in my layout xml file But I want to change color line in EditText from Holo to (for example) red. How that can be done? ![enter image des...
EditText, inputType values (XML)
EditText, inputType values (XML) Where can I find the values that `InputType` can has? I'm aware of [http://developer.android.com/reference/android/text/InputType.html](http://developer.android.com/re...
- Modified
- 1 Apr at 19:53
Auto-expanding layout with Qt-Designer
Auto-expanding layout with Qt-Designer I'm using the Qt Designer. I want to create a `QVBoxLayout` which will automatically expand to fill the whole window. The layout of the `QVBoxLayout` remains fix...
- Modified
- 16 Aug at 11:41
What's the difference between fill_parent and wrap_content?
What's the difference between fill_parent and wrap_content? In Android, when layout out widgets, what's the difference between `fill_parent` (`match_parent` in API Level 8 and higher) and `wrap_conten...
- Modified
- 20 Mar at 16:28
android:layout_height 50% of the screen size
android:layout_height 50% of the screen size I just implemented a ListView inside a LinearLayout, but I need to define the height of the LinearLayout (it has to be 50% of the screen height). ```
- Modified
- 6 Sep at 07:57
How to put text in the upper right, or lower right corner of a "box" using css
How to put text in the upper right, or lower right corner of a "box" using css How would I get the `here` and `and here` to be on the right, on the same lines as the lorem ipsums? See the following:
how to read value from string.xml in android?
how to read value from string.xml in android? I have written the line: to get string value, but instead of returning string, it is giving me id of type integer. How can I get its string value? I menti...
Increase distance between text and title on the y-axis
Increase distance between text and title on the y-axis The y-axis title appears too close to the axis text. ![ggplot output](https://i.stack.imgur.com/21mFn.png) I have tried changing the value of man...
How to get EditText value and display it on screen through TextView?
How to get EditText value and display it on screen through TextView? I want to get the user input for the `EditText` view and display it on the screen through `TextView` when the `Button` is clicked. ...
- Modified
- 4 Jun at 04:51
Font size of TextView in Android application changes on changing font size from native settings
Font size of TextView in Android application changes on changing font size from native settings I want to specify my own text size in my application, but I am having a problem doing this. When I chang...
- Modified
- 1 Oct at 20:17
Android: set view style programmatically
Android: set view style programmatically Here's XML: ```
- Modified
- 27 Mar at 19:13
How can I add shadow to the widget in flutter?
How can I add shadow to the widget in flutter? How can I add shadow to the widget like in the picture below? [This](https://stackoverflow.com/questions/52173205/how-can-put-image-inside-the-image-in-f...
- Modified
- 10 Jan at 20:25