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.

55 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,029
  • 6
  • 27
  • 53
10
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
  • 680
  • 4
  • 8
  • 22
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
  • 10,214
  • 14
  • 74
  • 180
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
  • 313
  • 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
  • 177
  • 11
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,071
  • 5
  • 36
  • 66
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
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
  • 151
  • 1
  • 14
1
vote
1 answer

Android when looping through LinearLayout child views it always gives me that child views are the same

In my example i'm adding new LinearLayout which containt 3 views (TextView, EditText, Button) by pressing a button. After adding every LinearLayout i want to loop through his child views, find TextView and EditText and give them some stupid…
NoName
  • 263
  • 5
  • 19
1
vote
1 answer

Child views in ionic 3 tabs shows two headers when child component is viewed

i am building ionic 3 app, i have page that have three tabs, the tab contains orders, when an order is clicked, its details page is viewed but here two headers appear, one header of tab view and the other header of order's detail page. i am adding…
Imdad Ali
  • 637
  • 6
  • 18
1
vote
1 answer

Angular2 @ViewChildren returns undefined in other components

Angular newbie here. After searching multiple questions I couldn't find a fix to this one: I'm trying to get the child component out of a template. It works as expected on AfterViewInit but when trying to get it from other components it won't work,…
Sorin Grecu
  • 926
  • 9
  • 28
1
2 3 4