layout Questions

2

Here is my layout xml. I would like to be able to pull the scroll view to refresh. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schem...
Ness asked 10/4, 2014 at 1:6

5

Solved

I'm relatively new to Android development and I'm having a hard time putting together a certain interface. I've looked through many similar questions but none of them give me the answer i'm looking...
Deltoro asked 18/9, 2013 at 10:49

9

I am using a searchview in android app (searchview is not a part of action bar). I want to remove the space on the left side of the search icon/ searchview. I searched a lot and received answers wh...
Capping asked 29/2, 2016 at 9:14

7

I have a long text and I need to show the scrollbar by default when the user enters my page. Currently, the bars not shown until the user click over the text and this, not good behavior because th...
Furtado asked 2/3, 2019 at 21:40

1

Within Angular Material Sidenav component, what (if anything) does fixedInViewport do? The documentation states: Whether the sidenav is fixed in the viewport. Not helpful. And when I try o...
News asked 31/1, 2020 at 19:1

10

In a simple form I made a few buttons and put a horizontal layout. When mouse leaves the area one of the buttons, the last one, should be hidden. Using button->hide() it works, but all the butto...
Davidoff asked 9/12, 2009 at 14:57

5

Can some please explain to me the difference in transitioning the positional left or right properties or the -transform: translateX(n), as the both seem to achieve the same thing yet can be applied...
Asleyaslope asked 18/8, 2011 at 14:22

4

Solved

I have two Div elements. The first should be 100% height and width of the screen. I would like the second Div to be 100% width but variable height depending on the contents and to start inline (bel...
Darkish asked 2/1, 2013 at 3:31

3

Solved

I have a RelativeLayout containing a custom SurfaceView and other elements that must be drawn over the SurfaceView. I also need the SurfaceView to be transparent. I tried this answer: how to make s...
Weatherspoon asked 19/11, 2012 at 14:0

3

Solved

I have a QHBoxlayout with children set up as follows: QHBoxlayout h = new QHBoxlayout(); QLLabel leftLabel = new QLLabel("Left"); QLLabel centerLabel = new QLLabel("Center"); QHBoxlayout rightCo...
Cabe asked 7/2, 2017 at 21:32

6

I need to have different set of open tabs and tab groups for each of my tasks. Import and export setting not helping me to do this, neither does this SO question that has been asked similarly but ...
Eaves asked 15/10, 2013 at 9:44

5

Solved

I'm adding controls to a SwiftUI Form to assist the user enter data (and constrain the entries!). Although there is a lot to like about Forms, I've discovered that things that work nicely outside t...
Uthrop asked 19/6, 2020 at 19:56

4

How to set default spacing between rgb views (100pt) if their container (VStack) not conflicts with bottom black view.(like iPhone 11 Pro Max). BUT shrinks if there is no space for 100p height.(lik...
Ammadis asked 2/12, 2019 at 9:15

8

Solved

Android O introduces a new feature, Fonts in XML, which lets you use fonts as resources. And I am creating the font folder in resource file as it provided by Android developer, but the problem is t...
Hangout asked 11/8, 2017 at 10:56

8

I am trying to implement a view which uses the default itemBackground style of Android (but with the oval background, that is used on action bar items etc). Somehow the following view is not showin...
Desist asked 4/8, 2017 at 18:34

2

I want to achieve below visual presentation. A Form including sections like iPhone's Settings app, but with a rounded visual element on the top. And I want them to scroll together and have the same...
Classicize asked 28/4, 2024 at 9:29

15

Solved

How can I enter only alphabets in EditText in android?
Impeachable asked 2/3, 2010 at 7:28

10

Is such a thing possible using CSS and two inline-block (or whatever) DIV tags instead of using a table? The table version is this (borders added so you can see it): <!DOCTYPE html PUBLIC "-//...
Ichthyosaur asked 4/4, 2011 at 15:9

14

I am new to Flutter and I like it but I am not comfortable building layouts. I am working on an app that contains a ListView of Cards. Each card is inside a Container and contains an image (with f...
Pantomimist asked 26/2, 2019 at 12:43

7

Solved

The SliverAppBar has an attribute bottom which has to have preferredSize. Right now I have it returning constant value: ... new SliverAppBar( expandedHeight: _kFlexibleSpaceMaxHeight, flexibl...
Voelker asked 14/3, 2018 at 0:33

9

For an animation I need to know the height from a View. The Problem is, that the getHeight() method allways return 0 unless the View is drawn. So is there any way to get height without drawing it?...
Realistic asked 5/3, 2012 at 23:29

3

Solved

I use the GridLayout for my JPanel and was wondering, if it's possible to change the width of the columns: GridLayout grid = new GridLayout(5,2); panel.setLayout(grid); Is there a simple way?
Rarefy asked 26/4, 2012 at 11:37

30

Solved

I have a vertical sliding drawer at the bottom of my app. When the soft keyboard opens, it pushes the tab for the drawer up, so it sits atop the keyboard. I actually want it to remain at the bottom...
Trug asked 17/11, 2010 at 18:38

5

Solved

There's TextView.append(), but that adds the text to the end of the TextView. I want what I append to go in the beginning (ie, show up on the top of the TextView box).
Unreasonable asked 15/8, 2012 at 18:52

5

I want to have customizable content in my layout page in blazor. I tried adding a RenderFragment parameter to the layout and adding makeup with the same name in my component but it is not rendered ...
Anet asked 15/10, 2020 at 10:27

© 2022 - 2025 — McMap. All rights reserved.