apidemo 学习 android 实现透明activity
来源:互联网 发布:广州文豆php培训学费 编辑:程序博客网 时间:2024/06/13 01:54
<activity android:name=".app.TranslucentActivity" android:label="@string/activity_translucent" android:theme="@style/Theme.Translucent" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity>
<!-- A theme that has a translucent background. Here we explicitly specify that this theme is to inherit from the system's translucent theme, which sets up various attributes correctly. --> <style name="Theme.Translucent" parent="android:style/Theme.Translucent"> <item name="android:windowBackground">@drawable/translucent_background</item> <item name="android:windowNoTitle">true</item> <item name="android:colorForeground">#fff</item> </style>
<?xml version="1.0" encoding="utf-8"?><TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical|center_horizontal" android:text="@string/translucent_background" />
背景是壁纸的activity
<activity android:name=".app.WallpaperActivity" android:label="@string/activity_wallpaper" android:theme="@style/Theme.Wallpaper" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity>
<!-- A theme that has a wallpaper background. Here we explicitly specify that this theme is to inherit from the system's wallpaper theme, which sets up various attributes correctly. --> <style name="Theme.Wallpaper" parent="android:style/Theme.Wallpaper"> <item name="android:colorForeground">#fff</item> </style>
- apidemo 学习 android 实现透明activity
- APIDEMO TAB ACTIVITY 学习
- Android ApiDemo学习(三)activity(1)
- Android ApiDemo学习(三)activity(2)
- Android ApiDemo学习(三)activity(3)
- Android ApiDemo学习(三)activity(4)
- Android apidemo 学习笔记
- Android ApiDemo 学习笔记
- Android apiDemo 学习
- 学习Android ApiDemo
- 豆瓣学习 实现透明的activity 透明的dialog等
- Android 实现透明效果的 Activity
- Android开发 -- 实现 Activity 的透明效果
- android成长UI 学习之Activity 透明
- Apidemo学习 android 自定义View
- Activity全透明实现
- Activity实现透明效果
- android学习日记:返璞归真的android-APIdemo
- CSS3 Border-radius
- 作为一个程序员,不管到什么时候你都不应该着急
- C++构造函数调用顺序
- ecshop相关资料收集
- 移动产品开发注意点
- apidemo 学习 android 实现透明activity
- ORA-15260 diskgroup space exhausted Problem
- GBK GB2312 UTF-8 编码问题
- c++中的类对象指针、对象引用、this指针
- 银行卡的清分、对帐与清算
- U盘安装centos 6.3教程(超级详细图解教程)
- 求数组中数对的最大值
- log4net的用法
- JavaScript 获得参数1,还差多少能被参数2整除 返回相差数