Questions tagged [viewlayout]

6 questions
9
votes
4 answers

View getHeight() and getWidth() return values too large

I call getHeight and getWidth in a custom view in the onDraw() method. getHeight() returns 1,073,742,549 and getWidth() returns 1,073,742,304. However, when I look at the display metrics for the screen's height and width, I get 800 and 480…
Jays
  • 145
  • 3
  • 8
6
votes
2 answers

getWidth() and getHeight return zero after onMeasure() (specific devices)

I noticed that my application's view returns 0 for getWidth() and getHeight() after onMeasure() has already been called. This only happens on a handful of devices, for most android devices the following code works fine. My checkViewAndLoad()…
dsmflyer
  • 81
  • 1
  • 6
1
vote
2 answers

Need CSS Change in ViewLayout - Bootstrap 4

I am trying to get to practicing with React in ASP.NET. However, I noticed that the latest Bootstrap 4 doesn't appear to come with the same navbar classes after doing some research, which results in the following screen below when I run my project…
Kieran Ojakangas
  • 495
  • 4
  • 18
0
votes
0 answers

Sitefinity There is no action defined with the specified name "ViewLayout" for permission set "Controls"

When I try to access my home page with an unauthenticated user I am receiving a blank page. If I debug the code in the Global.asax.cs Appliaction_Error() I am receiving this error There is no action defined with the specified name "ViewLayout" for…
mihkov
  • 1,171
  • 13
  • 37
0
votes
0 answers

how to change look of default zoomcontrol buttons in google map v2?

I can access the zoom in and zoom out button of the default zoom controle as follows: View zoomControls = mapFragment.getView().findViewById(0x1); for(int i=0;i<((ViewGroup)zoomControls).getChildCount();i++){ View…
MojioMS
  • 1,583
  • 4
  • 17
  • 42
0
votes
2 answers

I need to place the button below relative to the text objective c

I want to place the button lower relative the end of the text. How do I do this? now so
R00We
  • 1,931
  • 18
  • 21