• 大小: 2.97MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-13
  • 语言: Java
  • 标签: Layout  画线  网格  

资源简介

在Android中画线必须由一个载体,要么是一个控件,要么是一个布局,其实他们都是继承自View,通过自定义控件或布局的方式画线是最常见的。这个例子实现了在自定义RelativeLayout中画网格线

资源截图

代码片段和文件信息

/* 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.example.gridrelativelayout;

public final class R {
public static final class drawable {
public static final int ic_launcher = 0x7f020000;
}
public static final class string {
public static final int app_name = 0x7f040000;
}
public static final class style {
public static final int AppbaseTheme = 0x7f050000;
public static final int AppTheme = 0x7f050001;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-07-03 20:22  GridDemo\
     文件         475  2014-07-03 13:24  GridDemo\.classpath
     文件         844  2014-07-03 20:26  GridDemo\.project
     目录           0  2014-07-03 20:22  GridDemo\.settings\
     文件         177  2014-07-03 13:24  GridDemo\.settings\org.eclipse.jdt.core.prefs
     文件         880  2014-07-03 13:24  GridDemo\AndroidManifest.xml
     目录           0  2014-07-03 20:51  GridDemo\assets\
     目录           0  2014-07-03 20:42  GridDemo\bin\
     文件         880  2014-07-03 20:26  GridDemo\bin\AndroidManifest.xml
     文件      279625  2014-07-03 20:24  GridDemo\bin\Demo.apk
     文件      279230  2014-07-03 20:42  GridDemo\bin\GridDemo.apk
     文件         479  2014-07-03 20:31  GridDemo\bin\R.txt
     目录           0  2014-07-03 20:42  GridDemo\bin\classes\
     目录           0  2014-07-03 20:42  GridDemo\bin\classes\com\
     目录           0  2014-07-03 20:42  GridDemo\bin\classes\com\example\
     目录           0  2014-07-03 20:42  GridDemo\bin\classes\com\example\gridrelativelayout\
     文件         443  2014-07-03 20:42  GridDemo\bin\classes\com\example\gridrelativelayout\R$drawable.class
     文件         434  2014-07-03 20:42  GridDemo\bin\classes\com\example\gridrelativelayout\R$string.class
     文件         467  2014-07-03 20:42  GridDemo\bin\classes\com\example\gridrelativelayout\R$style.class
     文件         501  2014-07-03 20:42  GridDemo\bin\classes\com\example\gridrelativelayout\R.class
     目录           0  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\
     文件         347  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\BuildConfig.class
     文件         968  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\MainActivity$1.class
     文件         951  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\MainActivity$2.class
     文件        1659  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\MainActivity.class
     文件         343  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\R$attr.class
     文件         464  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\R$dimen.class
     文件         410  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\R$drawable.class
     文件         484  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\R$id.class
     文件         406  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\R$layout.class
     文件         391  2014-07-03 20:42  GridDemo\bin\classes\com\example\test005\R$menu.class
............此处省略134个文件信息

评论

共有 条评论