Android sdk 1.6 WVGA, webview within scrollview is not working - android

I have added the webview within scrollview in the layout. So data in webview is not fully displayed. Only in android sdk1.6 WVGA resolution, It is not working properly.
This bug is filed in android bug tracker also. For your reference, http://groups.google.com/group/android-developers/browse_thread/thread/d66d908993d51d65
Can anyone knows how to solve this very big high priority issue.

the webview scroll bars appears automatically so you don't need to nest into a ScrollView!
You should not put scrollable items
(e.g., WebView) in a ScrollView.
-- Mark Murphy (a Commons Guy)

Related

Android 10: 3-button navigation is obscuring bottom of the screen

I have had feedback from Pixel 3/4 users that the bottom of the screen on this app is cut off, obscuring buttons and possibly other controls that the user requires.
This has only started happening on Android 10. The app contains both Xamarin.Android axml and Xamarin.Forms xaml layouts for the views (the particular page that you are viewing below is Xamarin.Forms).
I don't want to set margins, paddings, gravity or such like on the entire app as obviously that would impact non Android 10/Pixel users. I don't really want to check the operating system version and programatically change those properties as that seems quite hacky and will quickly become unmanageable.
I've looked for something similar to a UseSafeArea property for navigation bars rather than notches but there doesn't seem to be any. Is using WindowInsets the only way to this or has someone else had/solved this issue?
How it looks (controls at bottom are obscured):
How it should look (and does on every other device, the data is different here but it's the view that matters):
I had a similar issue which I solved by removing a few lines of code that were there to fix a bug that has since been fixed in Xamarin Forms.
It directly relates to this forum topic: https://forums.xamarin.com/discussion/87176/windowsoftinputmode-doesnt-work-in-xamarin-forms-android
If these lines exist in your MainActivity.cs, try removing them and see if that works:
Window.SetSoftInputMode(Android.Views.SoftInput.AdjustResize);
Window.SetSoftInputMode(SoftInput.StateHidden);
AndroidBug5497WorkaroundForXamarinAndroid.assistActivity(this);

Listview, scrollToItem does not work properly in android in appcelerator

I am trying to implement a screen in Appcelerator, where there are tabs in one view and the other view contains a listview with list sections. On the click of every tab, the respective section and section heading should scroll up. Say, I click on the third widget, the third list section and its section heading should scroll up. I have used the scrollToItem property for this. It works fine on iOS, but doesn't align properly when executing on the android devices. Any suggestions?
It's a bug in Android 4.x, this method would not scroll to correct position when you are running the app on Android 4.x. You can have a look at the Appcelerator docs : http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-method-scrollToItem
So if it is an appcelerator bug then, thumbs down we will need to look for some other options or work around to solve the problem (Maybe a Widget or Module if you want to go specifically with the listView).
Or else, you could use the TableView, as it also has a method scrollToIndex, only thing you cannot add animation in android in this.
Good Luck & Cheers

Empty space at right and bottom on mobile version of website

my website (www.primapaginaonline.it) has a problem when browsed from a smartphone (at least from android, on a Nokia Lumia with Internet Explorer looks fine). It has big empty space at right and at bottom of the page. I can't understand why it looks like that.
Any help?
Thanks
Your website have some css issues
in following elements listed below:
document.getElementById("footerwrapper1") --> Responsible for Horizontal Scroll
document.getElementsByClassName('secondary') --> Responsible for Vertical Scroll
by changing css property display:none to both of them,
Unnecessary scroll is removed.

Android 3.2 Strange view issues

I'm new to Android development, and was testing my application in the 3.2 simulator to ensure that everything scales correctly on a tablet. The view consists of a ListView in a TabBar, and I am experiencing strange issues with misalignment of the UI (See link). This is not present on any other OS version (2.1 - 4.0) on any of the phone screen sizes.
The ListView items consist of a custom layout that uses a LinearLayout with a background drawable and two textviews for the title and subtitle.
XML Render (10.1in WXGA Tab):
Has anybody got any ideas?
EDIT:
Fixed the issue. I had disabled rotation on my TabBar views in my manifest, by removing this line of code in the XML the list renders as desired. Thanks for all those who contributed.
you can choose to load different layouts,values,and other resources as per device,locale simply changing the folders name by adding specific values,in your case use something like layout-hdpi ,layout-xhdpi

Android Widget Scrollabe Textview

i'm developing a SMS Widget.So came to across messages-widget
When i tried to replicate, the scroll feature is not available to that widget.
when i surfed, results where http://stackoverflow.com/questions/3879748/scrollable-textview-in-android-widget
Note i'm using Android 2.2 API Level 8.
Can anyone tell me how textview is scrollable with that opensource coding.
Is it possible to make a scrollable textview in widget ?
The link you provided is not a scrollable widget. It has buttons to move to the next/previous message.
HTC (and maybe others) have scrollable widgets, but it's their own implementation.
Scrollable widgets (with ListView and GridView) are available in Android 3.0+ (API 11+).

Categories

Resources