Android layout - images seem to be hidden - android

Ok, some background - this is a site which I have been asked to create a quick mobile stylesheet for. The site hasn't been built with this in mind, to be perfectly frank - it's a nightmare. Tables, inline style - the whole cahoona.
The main snag I have hit at present is that on the homepage of the site - there is a panel of 6 images floated to show 2 per row in portrait and 3 in landscape. In iOS this works fine, but in every Android browsers this has been tested in the images seen to disappear - although the links remain if you have a prod about.
Anybody able to spot the issue?
Thanks for any help!
http://www.dmls-ltd.com

I recommand you this tool to find what is the exact problem.
http://www.smartjava.org/content/remote-chrome-debugging-android
It's a little bit hard to answer it with your few information.

Try using http:// in all the links to the images.

I have found the issue without being able to pinpoint exactly what it was. Seems to be a bug in the way in which it was dealing with the % widths I had applied to the td/li/a elements. A quick and dirty fixed pixel width for these and it seems to work fine.
Thanks though for the help!

Related

vs code intellisense results are just limited to 1

Whenever I am writing the code in VS Code, then the IntelliSense is only showing one option. Doesn't matter which language I use, I am getting only one suggestion for every language. BTW I'm working with flutter. (See the mentioned images)
Expected behavior
https://i.stack.imgur.com/CDW86.png (I can't
add images because of the less reputation)
Behaviour now
Right now I can only see the very first option in IntelliSense. Maybe I have messed up my VS code settings but I'm not sure. Any help would be greatly appreciated.
I just had the same problem, and this worked for me. Literally just expanding the results to show more than one. Let me know if this was of help.
https://code.visualstudio.com/updates/v1_51#_intellisense
You need to add extensions related to your working language.

Best practice to convert screen design to XML in Android

I'll start with the fact that I'm quite new to Android
app development and I came across a real App screen, that I thought will be a good practice to convert to XML.
Although I successfully copied some parts of it, I believe I lack a little bit of knowledge to achieve that goal. So I hope to learn from your answers.
Please keep the answer as clean as possible since I wish to learn forward from it.
Thanks in advance!
NOTE:
1) The icons on the gray line are clickable.
2) the X on the light blue line is clickable and deletes the line.
So, I create for you quick demo app(it is not as good as for commerce practice). How it looks and works from inside you may see here in GitHub repo. Hope I help you!
Things you try to avoid:
hardcoded text & colors in XML
not consistent id-naming
none-dimensional code *, for example like this - android:textSize="16sp"
* - I mean use dimens.xml, for instance - android:textSize="#dimen/default_input_text_size"
I will recommend you read a great book:
Clean Code - Robert Martin
Also, I support #FrancislainyCampos post. You should try to read also about design and develop tools to think and do more consistently with Google recommendations.
Although I've heard of some new tools that proclaim to be able to automate the task of converting design screens to xml, I don't think that's wide spread around the Android community yet. I think the best tip for you here is just to actually type each element on the screen not converting it but making the layout happen. There's a few tutorials on how to use Constrainst Layout to achieve that on Youtube. I'd also suggest this course here on Udacity that explains the step by step on creating your first screens for Android.
Hope that helps.

Where can I find the source for Android home screen widget layout?

Today I had my first time with Android 4.2, and I noticed how the home screen automatically repositions widgets as you drag them:
I recently worked on a similar code for our project, and I have to admit its performance is much worse. My algorithm is really stupid, and I'm looking for better alternatives. This is the closest one I've found yet, but I haven't tested it yet.
From my understanding, this is related to bin packing, but bin packing algorithms focus on putting rectangles as close to each other as possible, while Android implementation focuses on making as few changes as possible from the initial configuration, and thus is aesthetically pleasing.
Because Android is open source, I hoped to learn from their code, but I can't find anything related to laying out rectangles in android.appwidget. What is the right place to look at?
I'm not 100% sure but it looks like CellLayout.java from Launcher2 is reponsible for this.

Indoor positioning system in android

I would like to ask a question regarding redpin indoor positioning system on android. I read somewhere stackoverflow about redpin and visited their website. From there i followed their instructions on how to set up redpin on android, but i only get a red dot pointing on the top left corner of the map i uploaded. I would like to know if anyone has successfully gotten redpin to work for android and assist me in doing so?....or maybe can tell me what am I doing wrong. Sorry to ask, I am very new at this, thank you.
For what I could experiment, it doesn't really work at first, probably because of the lack of fingerprints or something like that.
But when you have added quite a few locations, and try again to take locate, it starts pointing at a particular location.
For what I could notice, it works well on android 2.2, but there is some debug to do on 4.1 and 4.2 for it to work fine.
I hope this will help
U would better read about INS (inertial navigation system), it is a navigation system that uses your phone sensors for calculation your position.
It happens to me as well, but which is not an error, and I guess it's just a failure of updating. Press the redpin image, if it can start the measurement, then it works well.

Designing View Similar to the UITableView In Android

I am developing an android application where I want a table view such as UITableView in iPhone. Has any one tried before. I checked here their are many requirement for similar but seems no one tried before. Please any one has solution on this give to me.
Thank You.
Try this one first: Android equivalent to iphone indexed UITableView
Or this one: http://blogingtutorials.blogspot.com/2010/12/iphone-uitable-view-in-android.html (I haven't checked it yet, but its screenshot is OK).

Categories

Resources