android 自定义主题和风格
来源:互联网 发布:如何注册一个域名 编辑:程序博客网 时间:2024/05/17 22:41
<style name="MyText" parent="@android:style/TextAppearance"> <item name="android:textColor">#987456</item> <item name="android:textSize">24sp</item> </style> <style parent="@android:style/Theme" name="CustomTheme"> <item name="android:windowNoTitle">true</item> <item name="android:windowFrame">@drawable/icon</item> <item name="android:windowBackground">?android:windowFrame</item> </style>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" style="@style/baseStyle" android:orientation="vertical" > <EditText android:id="@+id/myEditText" style="@style/MyText" android:layout_width="match_parent" android:layout_height="match_parent" android:text="测试一下下" /></LinearLayout>
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.themeandstyle" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" /> <application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" > <activity android:name="com.example.themeandstyle.MainActivity" android:label="@string/app_name" android:theme="@style/CustomTheme" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest>
0 0
- Android 自定义主题和风格
- android 自定义主题和风格
- android中可以自定义主题和风格
- Android 风格和主题
- android 风格和主题
- Android:风格和主题
- Android 风格和主题
- Android主题和风格
- Android-风格和主题
- android 风格和主题
- 自定义Android的风格和主题的详细使用
- android风格和主题编写
- Android 主题和风格【1】
- Android 主题和风格【2】
- Android中自定义主题风格theme.xml
- 自定义Dialiog主题风格
- Android开发指南-用户界面-风格和主题
- android开发中的风格和主题
- 第四周作业——图的表示
- Cracking The Coding Interview 1.8
- Camera--V4L2驱动学习记录
- 散列技术;hashset判断重复,类比较先检查hashcode,再检查equals比较内容;java垃圾回收是定时的
- hdoj 3220 Alice’s Cube (逆向BFS + 位压缩)
- android 自定义主题和风格
- 导入android项目时,缺少android类库
- <<c 专家编程>> 笔记
- Exercise 33: While 循环
- 简单java程序设计
- c# 学习 笔记
- Add Two Numbers
- 20140403 "再战" step_2
- 《近匠》系列沙龙之探寻绝密武器:移动跨平台开发