/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.david.layout;
public final class R {
public static final class attr {
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int autoScale=0x7f010000;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int deviceHeight=0x7f010002;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int deviceWidth=0x7f010001;
}
public static final class drawable {
public static final int ic_launcher=0x7f020000;
}
public static final class id {
public static final int text1=0x7f050000;
public static final int text2=0x7f050001;
}
public static final class layout {
public static final int main=0x7f030000;
}
public static final class string {
public static final int app_name=0x7f040001;
public static final int hello=0x7f040000;
public static final int text1=0x7f040002;
public static final int text2=0x7f040003;
}
public static final class styleable {
/** Attributes that can be used with a CustRelativeLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CustRelativeLayout_autoScale com.david.layout:autoScale}</code></td><td></td></tr>
<tr><td><code>{@link #CustRelativeLayout_deviceHeight com.david.layout:deviceHeight}</code></td><td></td></tr>
<tr><td><code>{@link #CustRelativeLayout_deviceWidth com.david.layout:deviceWidth}</code></td><td></td></tr>
</table>
@see #CustRelativeLayout_autoScale
@see #CustRelativeLayout_deviceHeight
@see #CustRelativeLayout_deviceWidth
*/
public static final int[] CustRelativeLayout = {
0x7f010000, 0x7f010001, 0x7f010002
};
/**
<p>This symbol is the offset where the {@link com.david.layout.R.attr#autoScale}
attribute's value can be found in the {@link #CustRelativeLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android:autoScale
*/
public static final int CustRelativeLayout_autoScale = 0;
/**
<p>This symbol is the offset where the {@link com.david.layout.R.attr#deviceHeight}
attribute's value can be found in the {@link #CustRelativeLayout} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android:deviceHeight
*/
public static final int CustRelativeLayout_deviceHeight = 2;
/**
<p>This symbol is the offset where the {@link com.david.layout.R.attr#deviceWidth}
attribute's value can be found in the {@link #CustRelativeLayout} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android:deviceWidth
*/
public static final int CustRelativeLayout_deviceWidth = 1;
};
}
没有合适的资源?快使用搜索试试~ 我知道了~
android自定义实现比例缩放的layout
共29个文件
class:9个
png:6个
xml:4个
4星 · 超过85%的资源 需积分: 50 477 下载量 63 浏览量
2012-10-28
11:43:41
上传
评论
收藏 54KB RAR 举报
温馨提示
一个小例子,用来解决屏幕的自适应问题。例子里是一个自定义实现比例缩放的layout。
资源推荐
资源详情
资源评论
收起资源包目录
layout.rar (29个子文件)
layout
.project 842B
project.properties 360B
proguard.cfg 1KB
src
com
david
layout
widget
CustRelativeLayout.java 3KB
LayoutActivity.java 342B
AndroidManifest.xml 734B
res
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
ic_launcher.png 4KB
drawable-mdpi
ic_launcher.png 3KB
layout
main.xml 1KB
values
attrs.xml 309B
strings.xml 266B
assets
gen
com
david
layout
R.java 5KB
.classpath 364B
bin
resources.ap_ 11KB
classes
com
david
layout
R$layout.class 388B
R$drawable.class 401B
R$attr.class 458B
widget
CustRelativeLayout.class 4KB
LayoutActivity.class 519B
R$id.class 406B
R.class 571B
R$string.class 479B
R$styleable.class 680B
res
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
ic_launcher.png 4KB
drawable-mdpi
ic_launcher.png 2KB
layout.apk 15KB
classes.dex 6KB
共 29 条
- 1
imyfriend
- 粉丝: 294
- 资源: 76
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页