In view based mobile application(iOS/Android) rootview provides interface between window and otherview.
Questions tagged [rootview]
148 questions
0
votes
4 answers
What do you mean by root view of an activity?
I have a very trivial confusion regarding the what is the root view of an activity. I searched this throughout google and stack overflow. I got some knowledge about it but didn't come to a convincing solution as no one clearly said about that term.…

Deep Roy
- 89
- 10
0
votes
1 answer
Is there any way to get root view of an activity from a service?
I am working on an app in which I have to get all the views of the top most activity. This activity may or may not be of my app.
I am able to get all the views from a ViewGroup(root view).
Now I just want to get the root view of top most activity to…

ankushalg
- 523
- 3
- 23
0
votes
2 answers
Navigation Bar Disappears Change Root ViewController and then reassign
I've made the launch screen the root view while my app makes a request to firebase and then reassign the root view once the request has been completed. Unfortunately when I do this my navigation bar disappears or is covered up by the new root view.…

Ben Nalle
- 537
- 2
- 8
- 21
0
votes
1 answer
iPad - How do I load the first cell from the RootView automatically into the DetailView upon launch?
The title pretty much asks it all. I've been coming back and trying to implement this every few days, but I cant seem to get it to work. I'd assume the code to set the detailItem from launch goes in the viewDidLoad, but at this point I am clueless.…

Tyler Bell
- 61
- 7
0
votes
0 answers
How rootview tree's draw method is called in android?
I want to replicate the root tree in android without bitmaps i.e I want the android component to render root tree as many times I need.
For this I want to know where the draw method of RootView is called in android.
Can anyone help me with this ?

Vineet Setia
- 113
- 1
- 9
0
votes
1 answer
Capture Screen Android, but not my App
Hello everyone I will try to be as clear as possible .... I have a method in which I get the Screen of my App, what I would really like is to be able to use my method to get Screen from other apps, or the Android desktop, The way I try to do it is…

Matias Marco
- 1
- 1
0
votes
1 answer
setText does not work in the TextView of the ViewGroup that references xml in the service
this code
...
private LayoutInflater layoutInflater;
private ViewGroup rootView;
int wrap_content = WindowManager.LayoutParams.WRAP_CONTENT;
...
linearLayoutPopup = new LinearLayout(this);
…

ro Ro
- 123
- 10
0
votes
4 answers
Information from pushed viewController to rootViewController
Sort of a simple question. I have a tableview in a navigationcontroller. When I touch a cell, it pushes a view controller with the information from the cell, so I can edit it in the new view. Now thats working correct (we can call it the…

John Kofod
- 196
- 1
- 13
0
votes
1 answer
iOS swift popToRootViewController fire function in rootViewController
In my app I go back to rootViewController via:
self.navigationController?.popToRootViewController(animated: true)
Now i want to call a function from my rootViewController only when i come back using popToRootViewController. Is there a possibility…

Jochen Österreicher
- 683
- 2
- 11
- 25
0
votes
2 answers
Constantly passing data between two view controllers iOS
I'm new in objective-c. I try to send data between 2 view controllers (for example controllerA and controllerB), but I need this data constantly, so I use _displaylink in controllerB to call method from controllerA. I use player in controllerA and…

MaSza
- 435
- 7
- 22
0
votes
1 answer
How to open a screen from appdelegate.m handleOpenURL method with REFrosted Sliding Menu & storyboards?
I am updating one of my application that uses URL Scheme. I used to have application:handleOpenURL method in appdelegate.m with following code that used to work fine from long time (without Storyboards)
urlOpenedMsg2 *nextview=[[urlOpenedMsg2…

Jhonny Sharma
- 25
- 7
0
votes
1 answer
Root view controller margins being set to odd values
For some reason, my UIWindow's rootViewController is having its margins set to 16 on the left and right, and 0 on the top and bottom. Unfortunately I'm working with a legacy (read: non-storyboard) application that initializes everything manually. …

JustinHK
- 758
- 1
- 6
- 19
0
votes
1 answer
Are there any alternatives to getting the rootViewController besides through app delegate
I am working on a deep linking app where I need to assign the delegate of my deep link manager to my subclass of the tabbarcontroller
How can I return the root tabbarcontroller from inside the subclass of the tab bar controller?
Here is the app del…

Maxwell Bo Blessen
- 173
- 2
- 10
0
votes
1 answer
android get childview from Linearlayout
I try to create My own PinView.i created it but i have one problem.i try to explain my problem
i created four textviews and added it in Linearlayout and this linearlayout added my container (layout witch i have my xml file).Now i want to get my…

donoachua
- 193
- 2
- 16
0
votes
1 answer
How to set properties of a root view controller before being presented?
I have a certain UINavigationController in storyboard I present modally from another view controller:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UINavigationController *myNavController = [storyboard…

AppsDev
- 12,319
- 23
- 93
- 186