- 浏览: 26503 次
最新评论
文章列表
简介
未经允许,不得转载!
挂面是以小麦粉添加盐、碱、水经悬挂干燥后切制成一定长度的干面条。南方大多都吃这挂面,一日三餐都可以拿来作为主食食用。
食材
主料
挂面
TableLayout(网格布局)
需要注意的:
网格布局需要最低版本支持:API 14 也就是最低andriod4.0
:layout/activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertica ...
FrameLayout(帧布局)
:layout/activity_main.xml
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><ImageView androi ...
感冒发烧不宜吃的食物与可以吃的食物
- 博客分类:
- 日常生活
1、感冒发烧可以吃西红柿吗?
西红柿早已成为抗癌的明星级食品,除了茄红素之外,因为西红柿当中酸性物质的影响,它富含的维生素C较不易在烹调中流失,更利于人体摄取。西红柿不仅对疾病如癌症等具有防护作用,对于 ...
andriod之log打印
- 博客分类:
- android
先设置自己的log打印:
然后在activity类入口写log代码:
3:结果:
AbsoluteLayout绝对布局
:layout/activity_main.xml
<AbsoluteLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><TextViewa ...
当出现Error in an XML file: aborting build这个错误的时候,我们项目本身是没有问题的,但是还是报Error in an XML file: aborting build这个错了,所以我们要重新编译下:
解决方案: project---》clean--》选中要发布的项目然后clean,就可以了哦,呵呵
andriod_第二天_表格布局
- 博客分类:
- android
TableLayout(相对布局)
:layout/activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orient ...
android第一天
- 博客分类:
- android
RelativeLayout(相对布局)
:layout/activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent" ><TextView ...
最近工作中碰到了一个奇怪问题,特别做下笔记:
user表里的数据,是1,1和2,2,分别为id和name字段。
代码如下:
import org.hibernate.Hibernate;import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.Transaction;import org.hibernate.cfg.Configuration;public class Test {private static final SessionFactory sessionFacto ...
工作中有一个项目是tomcat5下开发的,发布到tomcat6下后就会报
Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:tomact6/webapps/hqportal/WEB-INF/lib/jstl-1.2.jar":org.apache.jasper.
JasperException:Failed to load or instantiate TaglibraryValidator class: org.apache.taglibs.standard.tlv.JstlCor ...
发现一个不错的博客,http://blog.csdn.net/fw0124/article/category/852379/2。。。