12.20培训日记
来源:互联网 发布:淘宝铁观音哪家好 编辑:程序博客网 时间:2024/06/04 01:39
上午做身份认证页面和相册页面 下午老师检查 我说有的页面是用PS做的 老师就给我讲了一下正确做法
添加个RelativeLayout 插入背景图片
之后是以下代码
之后一直在慕课网看教程<RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_centerInParent="true" > <ImageView android:id="@+id/z" android:layout_width="300dp" android:layout_height="300dp" android:layout_centerInParent="true" /> <ImageView android:id="@+id/top" android:layout_width="match_parent" android:layout_height="151dp" android:layout_above="@+id/z" android:layout_alignEnd="@+id/imageView3" android:background="#99000000" /> <ImageView android:layout_alignBottom="@+id/z" android:layout_width="match_parent" android:layout_alignParentBottom="true" android:layout_height="150dp" android:background="#99000000" android:id="@+id/imageView" /> <ImageView android:layout_toLeftOf="@+id/z" android:layout_below="@+id/top" android:layout_width="wrap_content" android:layout_height="302dp" android:layout_alignParentStart="true" android:layout_alignTop="@+id/z" android:background="#99000000" /> <ImageView android:layout_width="wrap_content" android:layout_height="302dp" android:layout_above="@+id/imageView" android:layout_alignParentRight="true" android:layout_toEndOf="@+id/z" android:background="#99000000" android:id="@+id/imageView3" /></RelativeLayout><RelativeLayout android:layout_width="match_parent" android:layout_height="50dp" android:background="#000000" android:layout_alignParentBottom="true"> <TextView android:layout_marginLeft="30dp" android:layout_width="wrap_content" android:layout_height="match_parent" android:textSize="22sp" android:textColor="#ffffff" android:gravity="center_vertical" android:text="取消"/> <TextView android:layout_marginRight="30dp" android:layout_alignParentEnd="true" android:layout_marginLeft="30dp" android:layout_width="wrap_content" android:layout_height="match_parent" android:textSize="22sp" android:textColor="#ffffff" android:gravity="center_vertical" android:text="应用"/></RelativeLayout>
阅读全文
0 0
- 12.20培训日记
- 英语培训日记20060704
- 英语培训日记20060705
- 英语培训日记20060706
- 英语培训日记20060707
- 英语培训日记200607010
- 英语培训日记20060717
- 英语培训日记20060719
- 英语培训日记20060728
- 8-25培训日记
- Validator框架培训日记
- 黑马培训学习日记
- 蓝桥培训日记
- 2016.03.06培训日记
- 2016.03.13培训日记
- 2016.03.20培训日记
- 2016.03.27培训日记
- 2016.04.10培训日记
- BZOJ4566:[HAOI2016]找相同字符(广义SAM)
- 五三、提取浏览器 url 中的参数名和参数值,生成一个key/value 的对象
- java编码
- dom4j 解析xml
- OS学习笔记(2)
- 12.20培训日记
- 编译hadoop2.x
- 【Android学习】数字签名
- 搭建FTP
- java读取邮件时,邮件含有正文跟附件的时候,读取不到正文内容
- Loadrunner 实现封装关联乱码转utf8
- 《黑客秘笈——渗透测试实用指南》读书笔记(1)
- 在IDEA中 SFTP 进行发布操作
- http和https的区别