Guys, while development of appinventor, I wanted to remove something, Please do help. How can I remove the privacy policy. Which file I need to edit ?
Any help is welcomed.
is it on YOUR app? or App Inventor builder? If it's App Inventor Builder, I don't think you can. if it's your app, and you didn't put it there you could easily put a blank label over it. Otherwise I can't help anymore
1 Like
I am sure this is possible @AppBuilder6571
Hello @Know_About_IT ,
The status panel is created in the Ode
class, by creating a new StatusBar
and attaching it to the mainPanel
, I think it would be enough to comment out this line, to prevent the status bar from being added.
1 Like
@MohamedTamer Sir can you please explain more like which file I need to modify or position of this in java files ?
It's this line:
overDeckPanel.setCellHeight(tutorialPanel, "100%");
overDeckPanel.add(deckPanel);
mainPanel.add(overDeckPanel, DockPanel.CENTER);
mainPanel.setCellHeight(overDeckPanel, "100%");
mainPanel.setCellWidth(overDeckPanel, "100%");
// mainPanel.add(switchToDesignerButton, DockPanel.WEST);
// mainPanel.add(switchToBlocksButton, DockPanel.EAST);
//Commenting out for now to gain more space for the blocks editor
mainPanel.add(statusPanel, DockPanel.SOUTH);
mainPanel.setSize("100%", "100%");
RootPanel.get().add(mainPanel);
// Add a handler to the RootPanel to keep track of Google Chrome Pinch Zooming and
// handle relevant bugs. Chrome maps a Pinch Zoom to a MouseWheelEvent with the
// control key pressed.
RootPanel.get().addDomHandler(new MouseWheelHandler() {
@Override
public void onMouseWheel(MouseWheelEvent event) {
if(event.isControlKeyDown()) {
Clicking the ("this") link in the above post should redirect you to the right line in the Appinventor GitHub repository as well.
1 Like
Is there a way I can customize or change its text ?
Yes, take a look at the StatusBar
class:
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client;
import com.google.common.base.Strings;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HorizontalPanel;
import static com.google.appinventor.client.Ode.MESSAGES;
/**
* The status panel contains various links.
*
*/
This file has been truncated. show original
1 Like
Special thanks to @MohamedTamer and @Pradevel
1 Like
system
Closed
April 15, 2021, 12:28pm
12
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.