I have turn my oracle apex web application to mobile. I am facing an issue with apex header over lapsing the mobile phone header.
i thought that i can change the header and the body top position with CSS. but when i did that , when user scroll we can see region going up (see picture 2)
Any help how to solve this?
Thanks
I wrapped my web url inside flutter webview to make it accessible on playstore.
Apex is not really a native mobile app so the issue was the apex application navigation bar was overlapsing the mobile phone navbar.
Solution
i just have to add an appbar within the wrapper.
return new MaterialApp(
home: new WebviewScaffold(url: 'https://www.your_apex_app_url.com',
appBar: PreferredSize(
preferredSize: Size.fromHeight(1.0),
child: AppBar(
automaticallyImplyLeading: false,
),
),
Thanks.
Related
I wanted to know which is the most powerful between a flutter button and a homemade button and the inconvenience of a homemade button?
For exemple, flutter buttons: ElevatedButton, TextButton, OutlinedButton
And an exemple of a homemade button:
Container(
child: GestureDetector(
onTap: () {},
child: Text('click'),
),
)
You should decide to use a button depending on the type of work you want to do
onstream Gesture Detector has a lot property for each type of touch and press and Text Button Icon Button Outlined Button Elevated Button and other provided buttons not has a lot touch property BUT has somw animation and simple to use for new comers in flutter
I have an image saved in a dedicated directory in my flutter project. The entire directory is included as asset in pubspec.yaml, the code where it is shown is this:
Drawer(
child: ListView(
children: <Widget>[
Image(image: AssetImage('immagini/liberty_square.jpg')),
SizedBox(height: 4),
ListTile(
// contents
),
// etc...
],
),
);
Drawer is located in a StatefulWidget. The image weighs about 2MB. It's a photo of a square in a town. I haven't used DrawerHeader to avoid paddings and margins.
In the android simulator (android studio), the image is loaded immediately as I open the Drawer, instead in my two real devices I have problems.
At app start I open the Drawer, but I can't see the image. Sometimes I have to wait some seconds to see the image, but other times I have to close and re-open the Drawer many times to see the image.
This happens both in test mode (android studio) and in production mode (apk installed and opened, without a pc).
I have thought to pre-load, but the image is an asset, not downloaded from network.
Try using precached image to load the image before the drawer is built.
Go to the widget that contains your drawer and add this to your initState:
precacheImage(new AssetImage('immagini/liberty_square.jpg'));
Then just call your image the same way you do now.
I am new on Appium.
I am testing hybrid android app using Appium. I want to scroll to top of page and then click on one link. Could anyone please tell me how to scroll to page bottom.
Many thanks
I updated to version 2014.1.528 kendoui in my mobile application. When I run and navigates to another view, it is in the newly opened view, I can not click on anything. I see that the div element where the views are added style pointer-events: none; In the old version all is well.
I tried to run the official demo kendo ui mobile and as I click on: Remote view, it does not work. But only downloaded demos. On the http://demos.telerik.com/kendo-ui/mobile-view/index, is well
I'm a newbie in Firefox add-ons development. I'm developing an add-on and able add a button on navigation toolbar. But I need to add a panel (size of 125x30) instead of a button. Is it possible? If possible please help me. Thanks.
It is not possible that I know of, though I am also relatively new. You can create a 125x30 button - thanks ken snyder - or you can create a widget in the Add-On bar. Either of these could open a separate panel, but I don't think you can directly insert a panel into a toolbar with the new SDK.