In Django, files such as CSS and pictures need to be placed under the static file.Then create the following files in turn:Polls/static/polls/style.cssThen modify the Style.css as follows:Li a { color:green;}Next, add the following code to the polls/index.html:{% load staticfiles%} rel= "stylesheet" type= "text/css" href= "{% static" Polls/style.css '%} '/>EffectNext add a background image:Add the
Android: cartoon APP development notes: Scaling pictures in ListView by screen width
1. listview
Where,
android:divider="#00000000"Set the interval color of the list items to transparent,
android:listSelector="#00000000"Set no background color when you click an image (transparent color, no system background
programs are terminated to reclaim memory, and the most memory programs are terminated first. In fact, if the object that the application should be no longer used, it should remove the strong reference as soon as possible, so that the compiler can reclaim the memory. If you want to cache the performance of some object-boosting programs, you can remove these objects from strong references when you enter the background. The following objects should rem
the program, the system will automatically recycle some systems to help you open up the memory. For example: The system recycles the backup storage of the core animation. Remove any system-referenced cached pictures Remove the system Management data cache strong Reference 5, back to the foreground running process: When the app is in a suspended state, it cannot execute any code. Therefore it cannot handle
the memory. For example: The system recycles the backup storage of the core animation. Remove any system-referenced cached pictures Remove the system Management data cache strong Reference 5, back to the foreground running process: When the app is in a suspended state, it cannot execute any code. Therefore it cannot handle notifications that are sent during the suspension, such as direction changes, time c
system recycles the backup storage of the core animation. Remove any system-referenced cached pictures Remove the system Management data cache strong Reference 5, back to the foreground running process: When the app is in a suspended state, it cannot execute any code. Therefore it cannot handle notifications that are sent during the suspension, such as direction changes, time changes, changes to settings,
recycle some systems to help you open up the memory. For example: The system recycles the backup storage of the core animation. Remove any system-referenced cached pictures Remove the system Management data cache strong Reference 5, back to the foreground running process: When the app is in a suspended state, it cannot execute any code. Therefore it cannot handle notifications that are sent during the susp
, the system will automatically recycle some systems to help you open up the memory. For example: The system recycles the backup storage of the core animation. Remove any system-referenced cached pictures Remove the system Management data cache strong Reference 5, back to the foreground running process: When the app is in a suspended state, it cannot execute any code. Therefore it cannot handle notification
example: The system recycles the backup storage of the core animation. Remove any system-referenced cached pictures Remove the system Management data cache strong Reference 5, back to the foreground running process: When the app is in a suspended state, it cannot execute any code. Therefore it cannot handle notifications that are sent during the suspension, such as direction changes, time changes, changes
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.