E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
providing
android基础知识---
Providing
Resources
android的可使用的资源文件,google建议我们在开发应用程序的时候将资源文件从代码中单独分离出来,便于后期的维护。由于现有设备的屏幕尺寸和语言设定存在变化导致我们需要根据实际情况使用layout,这就要求我们提供合适的可使用资源。一旦我们定义了可使用的资源文件,我们就可以在代码中使用资源id调用(资源id编译后放置在Rclass).res资源说明如下表:关于每个资源的详细说明请参考sdk
007007jing
·
2012-06-29 10:00
android
api
demo
js.util.Dictionary.js代码
js.util = (js.util || {}); js.util.Dictionary = newjs.lang.Class() ({ /** Utility class
providing
muyu114
·
2012-06-12 16:00
util
SLDDSUSER in SLD is getting Locked
* SLDDSUSER is the default user used in there for
providing
the SLD system, the sel
shz2008bj
·
2012-05-24 17:00
SuSE
Generics、Annotations
enhancement to the type system allows a type or method to operate on objects of various types while
providing
hszhl
·
2012-05-21 10:00
java
annotation
generics
apache click
http://click.apache.org/ Apache Click™ is a modern JEE web application framework,
providing
a natural
javaeye_mao
·
2012-05-20 12:00
apache
Android 适配不同的屏幕[Lesson 2 - 适配不同屏幕密度]
This lesson shows you how to support different screen densities by
providing
different resources a
mixer_a
·
2012-04-17 23:00
android
Android 应用资源---提供资源(
Providing
Resources)(三)
使用资源提供最好的设备兼容性为了让应用程序支持多种设备配置,始终给应用程序使用的每种资源类型都提供默认的资源是至关重要的。例如,如果应用程序支持几种语言,就要始终包含没有语言和区域限定符的values/目录。如果把所有的字符串文件都放到由语言和区域限定符的目录中,那么当应用程序运行在不支持应用程序提供的语言集的设备上时,就会崩溃。但是,只要提供了默认的values/资源,应用程序就会正确的运行(即
FireOfStar
·
2012-04-11 10:00
优化
android
api
语言
工具
resources
Android 应用资源---提供资源(
Providing
Resources)(二)
提供可选的替代资源乎每个应用程序都应该提供可选的替代资源,来支持特殊的设备配置。例如,应该针对不同的屏幕分辨率来包含可选的可描画资源,并且为不同的语言环境提供可选的字符串资源。在运行时,Android系统会检测当前设备配置,并给应用程序加载合适的资源。以下是给特殊配置指定一组可选资源的步骤:1. 用-的格式在res/目录中创建一个新的目录,是对应的默认资源的目录名(表1中定义的);是给使用这些资
FireOfStar
·
2012-04-10 10:00
UI
android
api
语言
resources
encoding
Android 应用资源---提供资源(
Providing
Resources)(一)
应该始终把像图片和字符串这样的资源作为外部与代码分离开,以便于能够独立的维护它们。还可以通过把资源组织到特殊命名的资源目录中,给特殊的设备配置提供可选的资源。在运行时,Android系统会基于当前的配置选择使用合适的资源。如,可以根据不同的屏幕尺寸提供不同UI布局,也可以根据系统的语言设置提供不同语言的字符串。把应用程序资源作为外部资源分离后,可以使用项目中自动生成的R类中的资源ID来访问对应的资
FireOfStar
·
2012-04-09 12:00
【Android Advanced Training - 01】适配不同的屏幕[Lesson 2 - 适配不同屏幕密度]
This lesson shows you how to support different screen densities by
providing
different resources and
izuoyan
·
2012-03-20 20:00
Advanced
【Android Advanced Training - 01】适配不同的屏幕[Lesson 2 - 适配不同屏幕密度]
This lesson shows you how to support different screen densities by
providing
different resources and
mmdev
·
2012-03-20 20:00
Advanced
Providing
Resources/Android可使用的资源文件
你应该将代码和资源文件(比如图片和字符串)分开,这样你可以单独的来维护这些资源文件。你也可以通过特殊的名字的文件路径,为特定的设备配置提供可替换的资源文件。Android会基于现在的配置自动应用合适的资源文件。例如,你可以根据不同的屏幕尺寸提供不同的UI布局。一旦你将资源文件与程序代码分开保存,你可以通过资源IDs来使用对应的资源文件。这些资源ID在项目的R类生成。关于如何在你的程序里面使用资源,
gavin_jin
·
2012-02-06 14:00
【翻译】(28)提供资源
【翻译】(28)提供资源 see http://developer.android.com/guide/topics/resources/
providing
-resources.html
weimingtom
·
2012-01-05 15:00
翻译
debian改crontab的编辑器
用如下命令即可:#update-alternatives--configeditorThereare3choicesforthealternativeeditor(
providing
/usr/bin/editor
ak47mig
·
2011-12-14 11:00
MemcachedClient Configuration(from githun)
You have two options to configure the MemcachedClient: using the app.config,
providing
an object
michaelljx
·
2011-12-13 18:00
configuration
LDAP Redhat Enterprise Linux安装
LDAP Redhat Share We all respect Redhat's goal of
providing
a stable operating system to
fuzhaohui
·
2011-11-15 10:00
java的server模式
The Java HotSpotTM Server VM is Sun Microsystem's solution for
providing
fast, reliable JavaTM technology
cjnetwork
·
2011-10-21 08:00
java
VM
android资源别名
详细请参考: http://developer.android.com/guide/topics/resources/
providing
-resources.html 的 Creating alias
wen66
·
2011-08-30 14:00
android
记载几个ubuntu的源(heanet,163,eud类的)___不仅仅是ubuntu source
http://ftp.heanet.ie/about/ftp.heanet.ieistheHEAnetNationalMirrorServer,
providing
24houraccesstomirroredcontenttotheHEAnetcommunityandbeyond
weilaiqing
·
2011-07-27 03:00
【6.1】Java编程惯例
1 提供对实例以及类变量的访问控制(
Providing
Access to Instance and Class Variables) 若没有足够理由,不要把实例或类变量声明为公有。
火神曲
·
2011-06-01 17:00
java
编程
C++
c
C#
The credentials you provided during SQL Server 2008 install are invalid.
When
providing
these service accounts and passwords you might
wapysun
·
2011-05-24 15:00
sql
SQL Server
下载BEA license的官方地址
Oracle is now
providing
new generic licen
kimmking
·
2011-04-22 14:00
html
oracle
Erlang广泛的实际应用
are using Erlang in their production systems: • Amazon uses Erlang to implement SimpleDB,
providing
dc_726
·
2011-04-01 23:00
erlang
mobile
Facebook
CouchDB
Social
KAMAILIO (OPENSER) Devel Guide
Abstract This book documents the internal architecture of KAMAILIO (OPENSER) SIP Server,
providing
jiagou
·
2011-03-22 23:00
mail
KAMAILIO (OPENSER) Devel Guide
Abstract This book documents the internal architecture of KAMAILIO (OPENSER) SIP Server,
providing
javahigh1
·
2011-03-22 23:00
mail
KAMAILIO (OPENSER) Devel Guide
Abstract This book documents the internal architecture of KAMAILIO (OPENSER) SIP Server,
providing
jiagou
·
2011-03-22 23:00
mail
KAMAILIO (OPENSER) Devel Guide
Abstract This book documents the internal architecture of KAMAILIO (OPENSER) SIP Server,
providing
javatoyou
·
2011-03-22 23:00
mail
Internship interviw offered by Atos
It is a leading IT service company
providing
consulting, system integra
shengli.d
·
2011-01-13 06:00
unix
什么是框架(一)
In computer programming, a software framework is an abstraction in which common code
providing
fjilyfe
·
2011-01-03 01:00
JavaScript
框架
ssh
软件测试
国内外it水平的差距真的好大,beanstalkapp
这个项目也很不错,云部署 手工复制sshpublickey容易出错,参看 http://github.com/guides/
providing
-your-ssh-key$sudoapt-getinstallxclip
·
2010-12-20 17:00
bean
content provider 深入解析
nbsp; Content providers are one of the primary building blocks of Android applications,
providing
huakewoniu
·
2010-12-15 22:00
sql
android
Oracle Java Products Download
-- content goes here --> Sun is
providing
the products available below as a courtesy to developers
liwx
·
2010-12-08 20:00
java
html
oracle
Security
sun
[Linux Device Drivers 3rd Notes] 1. Device driver introduction
The role of a device driver is
providing
mechanism , not policy. 如何区分mechanis
allenshao
·
2010-11-10 16:00
linux
UP
Chapter 5. Initialization & Cleanup
1) In Java, the class designer can guarantee initialization of every object by
providing
a constructor
leonzhx
·
2010-10-01 17:00
enum
array
finalize
Standalone Django scripts
In the grand tradition of
providing
answers to frequently-asked questions from the django-users mailing
hqman
·
2010-09-26 15:00
linux
python
django
OS
UP
Standalone Django scripts
In the grand tradition of
providing
answers to frequently-asked questions from the django-users mailing
hqman
·
2010-09-26 15:00
linux
django
python
OS
UP
university 2/n
of genre;register is in turn the ‘content-plane’of language.Lee(2001)surveys the use of these terms,
providing
turingfellow
·
2010-08-24 07:00
Office
360
Social
AIR
计算机通信协议中的几个概念
1,cURL is a computer software project
providing
a library and command-line tool for transferring data
rogerhunt
·
2010-08-09 18:00
Web
浏览器
REST
idea
Mercurial vs Git
mercurial-vs-git/ Mercurial vs Git There are many blog posts and articles all over the Internet
providing
lgj573
·
2010-06-24 23:00
workflow
wordpress
git
REST
UP
Mercurial vs Git
mercurial-vs-git/ Mercurial vs Git There are many blog posts and articles all over the Internet
providing
lgj573
·
2010-06-24 23:00
workflow
git
REST
wordpress
UP
两种快速打乱NSMutableArray的方法
UIKit/UIKit.h>#else#include <Cocoa/Cocoa.h>#endif// This category enhances NSMutableArray by
providing
61party
·
2010-06-08 10:00
table
aaaa
applications that run on the web.OpenSocial’s goal is to make more apps available to more users,by
providing
weilingfeng98
·
2010-06-07 22:00
JavaScript
Web
网络应用
Access
Social
menu and submenu for joomla
These are focussed on
providing
more flexibility to template designers and making Joomla sites more
haohappy2
·
2010-05-27 14:00
JavaScript
.net
css
Blog
apache 2.x SSL/SSL Proxy配置
# # This is the Apache server configuration file
providing
SSL support.
ralin
·
2010-05-20 16:00
apache
C++
c
C#
Access
java命名规范_编程惯例和代码范例
编程惯例(Programming Practices) 9.1 提供对实例以及类变量的访问控制(
Providing
Access to Instance and Class Variables) 若没有足够理由
isiqi
·
2010-01-26 19:00
java
编程
C++
c
C#
1.3. Risks of Threads(使用线程带来的风险)
While it simplifies the development of concurrent applications by
providing
language and library support
lvhuiqing
·
2009-12-23 08:00
多线程
thread
活动
Access
performance
Away3D(九):Lighting & shading
source(s) defining the properties of the light(s) light source(s) 定义了光照的属性 shaders
providing
sjkgxf7191
·
2009-12-05 10:00
算法
Flash
Initialization & Cleanup
nbsp; In java, the class designer can guarantee initialization of every object by
providing
hanlsheng
·
2009-11-03 14:00
Access
How to Use Objective-C Dictionaries
However, dictionaries make iteasier to organize data by
providing
“keys” that make it a snap to find
cenphoenix
·
2009-10-26 00:00
C++
c
C#
Objective-C
iPOJO Composition Tutorial
*Why
providing
a composition layer? iPOJO致力于简化OSGi(动态)应用的创建。
zhangcm1978
·
2009-07-27 14:00
apache
spring
应用服务器
Scheme
osgi
上一页
1
2
3
4
5
6
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他