Questions tagged [childviews]

Child views are the siblings of parent View Controller.Parent View is the container to hold them and can also inherit the properties.

Child views are the siblings of parent View Controller.Parent View is the container to hold them and can also inherit the properties.

58 questions
16
votes
4 answers

Disabling all child views inside the layout

I saw many threads related to this, before posting my question. But none worked for me. I have a RelativeLayout with many other layouts and fragments as children. I want to disable all the children of "content_view" as well as the content_view…
LoveMeSomeFood
  • 3,137
  • 7
  • 30
  • 53
12
votes
5 answers

How to pass data from child to parent view controller? in swift

I created an activity where when one of the text fields clicked it will pop up a child(alert dialog) with list of product but when i click one item on the list I can't display it on the text filed once the alert dismissed. this is the parent…
9
votes
4 answers

Angular pass data from child to parent

I'm learning/working on Angular project, I've done a lot and I try to do the things "right way", so now what i want to do is this: I want to get the variable (output) from child component to parent component, but I don't want to use output, I don't…
nikagar4
  • 830
  • 4
  • 11
  • 23
7
votes
1 answer

UISearchController hides results above the search bar

I am using a UISearchController inside a Container view in a UITableView. I am adding the search bar like this: self.resultsTableController = [self.storyboard instantiateViewControllerWithIdentifier:NSStringFromClass([ResultViewController…
5
votes
1 answer

Swift: How to show child view controllers via storyboard rather than programmatically using XLPagerTabStrip

I have been following the XLpagerTabStrip cocoapods extension to set up a tab bar at the top of my view controller (https://github.com/xmartlabs/XLPagerTabStrip). I am implementing the ButtonBarPagerTabStripViewController and have followed the steps…
4
votes
0 answers

How to pass touch event from parent view to child view

I am writing an code to handle touch event based on what suggested here. Basically I wanted to pass touch event back to child view from parent view. Following what I did and remaining. What I need Detect multitouch event on child view: DONE then…
CoDe
  • 11,056
  • 14
  • 90
  • 197
4
votes
2 answers

How to get every value of EditBox and RadioButton, when I click on expandable child element?

I have an expandable ListView, where every parentview has a child view. In child view I have a sub-child element: EditText, TextView and RadioButton. Child element have different value onclick on radiobutton and edittext value after…
start android
  • 323
  • 7
  • 21
2
votes
1 answer

Question regarding the ExpandableListView ChildView's Button ClickListener

I am trying to make an app for my restaurant, here is my previous question regarding the issue which I have faced and it was resolved, however, there is some button which you will notice in the ChildView which is "Add" here is the like for my…
Athos Tokbi
  • 195
  • 1
  • 17
2
votes
2 answers

How to focus on a certain view in a MFC CSplitter

I'm trying to create an hierarchic window that contains 3 views using CMDIChildWnd, 2 CSplitterWnd's and 3 CFormView's: A form view that contains a static control A form to display the main window that I use to view a PDF document A side panel for…
le_alex
  • 63
  • 7
2
votes
1 answer

ExpandableListView reorganizes children views order on every group expand

In my ExpandableListView, I want to have a first child of every group to be different xml view than other children in the group. What I want to achieve would be something like this: I manage to do that with the following code: public View…
SteBra
  • 4,188
  • 6
  • 37
  • 68
2
votes
1 answer

How to set a particular child of horizontal scrollView as first visible child: Android

I have 6 items/views in a horizontal scrollView, in an activity. {view1, view2, view3, view4, view5, view6} When i come to this activity, view1 is the the first visible item in the scrollview. But I would like to have view1, hidden and view2 to be…
Sunny
  • 7,444
  • 22
  • 63
  • 104
1
vote
1 answer

.NET Maui Code Stopping after Children.Remove()

I've run into a very odd problem with .NET Maui that has never happened to me with Xamarin before. On occasion, when I remove a child element from its parent, the rest of the code in the function fails to execute and there is no exception…
iPaul
  • 75
  • 1
  • 6
1
vote
1 answer

Constraints on Child Container

I am adding a child view using the View.addChild method The containing view is clearly 350 pixels. However, the child view takes up ALL the space of the containing view....so my idea is to force the child view to be smaller than its parent...but my…
coderq
  • 35
  • 4
1
vote
1 answer

UIAlertController not anchored on childViewController but rather displaying behind it on parentViewController

I have created a left menu drawer and added it as a child view controller. In the left menu drawer I have a logout button that should display a UIAlertController. The challenge I am experiencing is that the UIAlertController is displaying behind the…
1
vote
0 answers

How to stop childview from getting spilled over inside scrollview

I have a scrollview which has a child view. the child view has many elements and I have given proptional heights to the elements and I have set some vertical spacings and alll. in smaller iOS screen devices .. the child view size becomes large and I…
Dan Ram
  • 171
  • 1
  • 14
1
2 3 4