Useful notes & manuals
from the
world wide web
L:
P:
Register now!
<<<12>>>
Remove/hide status/title bar from the top of the app | read more.. Android
Source code from: unknown Created by tlw on 19.01.2020 @ 21:17

Each application has 2 bars at the top: status bar and title bar. Sometimes it's useful to remove/hide them (especially in gaming apps).

Layout with top, content and bottom | read more.. Android
Solution from: unknown Created by tlw on 19.01.2020 @ 21:17

Sometimes we need to have a static top and bottom with the rest space taken by the main content.

Disabling highlight on ListView items on click | read more.. Android
Source code from: unknown Created by tlw on 19.01.2020 @ 21:17

ListView can be used for viewing only with no click. We can disable the orange (default) color on the item when clicked.

Save data/variable on screen rotation or other activity re-creation | read more.. Android
Source code from: unknown Created by tlw on 19.01.2020 @ 21:17

Sometimes we need to save some data when the activity is re-created.

Screen rotation disable | read more.. Android
Source code from: unknown Created by tlw on 19.01.2020 @ 21:17

Sometimes we need no support the rotation of the screen. It must be either portrait or landscape. There is a solution for each activity

Accessing resource by variable | read more.. Android
Solution from: http://stackoverflow.com/questions/3218520/how-can-i-access-an-android-drawable-by-a-variable Created by tlw on 19.01.2020 @ 21:17

Explaining how to access any resource by variable, not directly. Example with "drawables"

Automatic merging and versioning of CSS/JS files with PHP | read more.. PHP
Solution from: http://www.ejeliot.com/blog/72 Created by tlw on 19.01.2020 @ 21:17

Most sites include a number of CSS and JavaScript files. Whilst developing it's usually easier to manage them as separate files but on a live site it makes sense to merge files to reduce the number of HTTP requests the browser has to make. For JavaScript this is particularly important as browsers block rendering whilst downloading.

The best font size to use in website design | read more.. HTML
Article from: http://www.hobo-web.co.uk/seo-blog/index.php/best-font-size/ Created on 19.01.2020 @ 21:17

Because of the wide range of settings and equipment that people might be using to access the World Wide Web, there is no “best font size“. Font sizes should be specified using relative units like percentage or EM, (in external CSS files) since these will allow the user to adjust font sizes up or down to suit their own requirements. Avoid using graphics of text, as this locks the text size, and makes it impossible for users to change it.

Merging JavaScript objects | read more.. JavaScript
Solution from: http://stackoverflow.com/questions/171251/how-can-i-merge-properties-of-two-javascript-objects-dynamically Created by tlw on 19.01.2020 @ 21:17

for (attrname in obj2) { obj1[attrname] = obj2[attrname]; }

Span height in ie | read more.. CSS
Solution from: unknown Created on 19.01.2020 @ 21:17

height:4px;
font-size:0px;

<<<12>>>
 
Created by THE LOST WEB © 2009-2012