SmallActivity创建
来源:互联网 发布:淘宝网店流量的重要性 编辑:程序博客网 时间:2024/06/06 02:09
SmallActivity创建的时候要做特殊调整
在配置文件中调整ctivity的主题为:
android:theme="@android:style/Theme.Translucent.NoTitleBar"
在布局文件中调整
把根节点调整大小为下面的大小,
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="200dp"
android:layout_height="200dp"
android:background="#207044"
tools:context=".SmallActivity" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="SmallActivity"
android:textSize="30sp" />
</RelativeLayout>
在配置文件中调整ctivity的主题为:
android:theme="@android:style/Theme.Translucent.NoTitleBar"
在布局文件中调整
把根节点调整大小为下面的大小,
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="200dp"
android:layout_height="200dp"
android:background="#207044"
tools:context=".SmallActivity" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="SmallActivity"
android:textSize="30sp" />
</RelativeLayout>
0 0
- SmallActivity创建
- 创建
- 创建
- 创建数据库、创建表
- db2 创建实例,创建数据库,创建表
- 创建主键 创建外键 创建约束
- java 创建文件-创建目录-创建临时文件
- 创建项目
- 自动创建
- 创建同义词
- 创建分区表
- 创建虚拟目录
- 创建触发器
- 创建触发器
- blog创建
- 创建控制台
- 创建控制台
- 博客创建
- 高斯混合背景建模
- 设计模式二
- 使用okhttp异步下载图片,保存到本地,并在系统相册中显示
- setBackgroundDrawable和setBackgroundColor的用法
- 设计模式三
- SmallActivity创建
- 一位ACMer过来人的心得
- 快速计算积分图
- 深度学习_caffe-ubuntu-GPU 配置环境(0)
- TCP/IP、Http、Socket的区别
- 设计模式四
- wget网站镜像下载
- BZOJ 1189: [HNOI2007]紧急疏散evacuate|网络流|二分答案
- 学习快速排序的坑里的若干扯淡