Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
173 views

The minimum size of my dialog does not factor in the size of the status bar. In OnInitDialog I create the status bar and add it to the dynamic layout: m_StatusBar.Create(this); m_StatusBar....
0 votes
1 answer
47 views

I am trying to batch-add several thousand spans to a SpannableStringBuilder in an EditText (obtained via getText()). This is slower than I would like. Profiling has shown that the vast majority of the ...
1 vote
1 answer
142 views

I wish to load images from Gallery in my CustomView without altering their aspect ratio, and then I wish to draw on it. I have a custom view which I added dynamically from MainActivity like this: @...
0 votes
0 answers
37 views

I am working on android application in which I am creating dynamic Layout on fragment. When user click on button to get data from layout element then I am getting null pointer exception error. @...
0 votes
2 answers
639 views

I create app with SpannableString (BackgroundColorSpan, ForegroundColorSpan and StyleSpan). First time EditText work fine, but after 10-15 minutes, the EditText starts to freeze. I use profiler to see ...
0 votes
1 answer
272 views

I have extended ConstraintLayout and adding views programatically then setting constraint to each view. but some how its not working, only the first view is showing up. Unable to figure out where I ...
-1 votes
1 answer
48 views

I have a list filled with values and a list with questions, some elements in the value list have more than 1 element, so for example question[2] = Light question[3] = Toppings value[2] = on / off ...
0 votes
1 answer
64 views

I am creating a framelayout pro-grammatically. Then I create fragment pro-grammatically..Then I want to add the fragment to the framelayout.. this process is happens every time when I click the button....
0 votes
3 answers
81 views

I need to set a button to "visible" or "gone" dynamically as user types on a TextView field. By using the statement below, I have been able to accomplish it when Enter is pressed, but that would be ...
0 votes
1 answer
75 views

I want to create an online delivery project in flutter & firebase. For the menu section, each product has different properties, how can i display different screens (or widgets) based on the ...
0 votes
1 answer
66 views

This is an iOS problem. I want to design a screen which will show a video on full screen. After some time based on some backend condition if another video is available I have to show that by splitting ...
1 vote
0 answers
88 views

I am using DynamicLayout to render a SpannableString but I am not able to precisely center the text. It seems like there is some kind of offset at start that I can't get rid of. Here is my ...
0 votes
1 answer
206 views

I want to create a UI where there are n amount of LinearLayout's all contained within a vertical ScrollView (each row will contain a couple items). I also want this ScrollView to update if another ...
0 votes
1 answer
367 views

I have a Linear layout and inside which there are few dropdown and text views,now i want to inflate the layout each time on click of "add more" button, below is the code for inflating the layout. the ...
1 vote
1 answer
1k views

The documentation for the following methods of Layout (including StaticLayout, DynamicLayout, and BoringLayout) are very sparce. getLineBaseline(int line) getLineDescent(int line) getLineAscent(int ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /