<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2007 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="78dip" android:layout_height="65dip" android:paddingTop="3dip" android:paddingBottom="3dip" android:clickable="true" android:focusable="true" android:background="@drawable/favorite_background" android:textSize="12dip" android:maxLines="1" android:ellipsize="end" android:textColor="@color/bright_text_dark_focused" android:gravity="center_horizontal|bottom" />

编译smartq7 的Android ,需要修改

android:layout_width="200dip"
android:layout_height="120dip"

因为Android 的所有activity 应用程序都是以Home为parent的,不做修改所有Activity 尺寸都会不对的。

更多相关文章

  1. 打包Android应用程序
  2. 监听Android应用程序是否卸载成功
  3. 《Android系统学习》第十一章:Android应用程序Activity组件分析
  4. 【置顶】用Eclipse开发Android应用程序索引贴
  5. Android在开机时自动启动一个应用程序
  6. 如何使android应用程序使用当前的主题样式

随机推荐

  1. unity-与Android交互(unity、android stu
  2. android 资源文件中的符号含义与说明
  3. 深度解析Android中字体设置
  4. android 的常标签和方法 android 初学者
  5. 大量android软件开发资料和实例代码
  6. Android(安卓)实现显示文字的Gallery
  7. android 界面中加入密码框
  8. Android(安卓)网站资源收集大全
  9. Android给TextView添加点击事件的实现方
  10. Android各种Layout用到的一些重要的属性