You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
3.0 KiB
83 lines
3.0 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2013 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<sample>
|
|
<name>DisplayingBitmaps</name>
|
|
<group>UI</group>
|
|
<package>com.example.android.displayingbitmaps</package>
|
|
|
|
<!-- change minSdk if needed-->
|
|
<minSdk>14</minSdk>
|
|
<targetSdkVersion>22</targetSdkVersion>
|
|
|
|
<strings>
|
|
<intro>
|
|
<![CDATA[
|
|
This is a sample application for the Android Training class
|
|
"Displaying Bitmaps Efficiently"
|
|
(http://developer.android.com/training/displaying-bitmaps/).\n\n
|
|
|
|
It demonstrates how to load large bitmaps efficiently off the main UI thread, caching
|
|
bitmaps (both in memory and on disk), managing bitmap memory and displaying bitmaps
|
|
in UI elements such as ViewPager and ListView/GridView.
|
|
]]>
|
|
</intro>
|
|
</strings>
|
|
|
|
<template src="base"/>
|
|
<common src="logger"/>
|
|
|
|
<metadata>
|
|
<status>PUBLISHED</status>
|
|
<categories>UI, Background, Views</categories>
|
|
<technologies>Android</technologies>
|
|
<languages>Java</languages>
|
|
<solutions>Mobile</solutions>
|
|
<level>ADVANCED</level>
|
|
<icon>screenshots/icon-web.png</icon>
|
|
<screenshots>
|
|
<img>screenshots/1-gridview.png</img>
|
|
<img>screenshots/2-detail.png</img>
|
|
</screenshots>
|
|
<api_refs>
|
|
<android>android.widget.ImageView</android>
|
|
<android>android.widget.GridView</android>
|
|
<android>android.graphics.BitmapFactory</android>
|
|
<android>android.os.AsyncTask</android>
|
|
<android>android.util.LruCache</android>
|
|
<android>android.support.v4.view.ViewPager</android>
|
|
</api_refs>
|
|
<description>
|
|
<![CDATA[
|
|
Sample demonstrating how to load large bitmaps efficiently off the main UI thread,
|
|
caching bitmaps (both in memory and on disk), managing bitmap memory and displaying
|
|
bitmaps in UI elements such as ViewPager and ListView/GridView.
|
|
]]>
|
|
</description>
|
|
<intro>
|
|
<![CDATA[
|
|
This is a sample application for the Android Training class [Displaying Bitmaps Efficiently][1].
|
|
|
|
It demonstrates how to load large bitmaps efficiently off the main UI thread, caching
|
|
bitmaps (both in memory and on disk), managing bitmap memory and displaying bitmaps
|
|
in UI elements such as ViewPager and ListView/GridView.
|
|
|
|
[1]: http://developer.android.com/training/displaying-bitmaps/
|
|
]]>
|
|
</intro>
|
|
</metadata>
|
|
</sample>
|