<?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 4.2修改设置菜单的背景颜色
  3. Android修改自己程序字体
  4. ADT版本更新失败,降级
  5. android SD卡读写权限
  6. Android修改APP版本号
  7. android 兼容所有刘海屏的方案大全
  8. android 兼容所有刘海屏的方案大全
  9. android 兼容所有刘海屏的方案大全

随机推荐

  1. 由Android想到的事情
  2. How to add a new keycode in android
  3. android:ellipsize的使用
  4. Run Android(安卓)on Your Netbook or De
  5. 由Android想到的事情
  6. 由Android想到的事情
  7. Android(安卓)之EditText InputType说明
  8. Android四大布局之线性布局及其属性
  9. Android(安卓)UI系列-----RelativeLayout
  10. Android用户界面UI组件--AdapterView及其