wj嘉爷 2017-03-28 07:10 采纳率: 0%
浏览 3007

textview显示不出来怎么办

<?xml version="1.0" encoding="utf-8"?>
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<TextView
    android:layout_gravity="center"
    android:gravity="center"
    android:id="@+id/textView1"
    android:layout_weight="1"
    android:layout_width="wrap_content"
    android:layout_height="0dp"
    android:textSize="40sp"
    android:textColor="@android:color/holo_blue_bright"
    android:text="@string/history" />

layout可以看到但是在模拟器上就看不到了。。。求助

  • 写回答

6条回答 默认 最新

  • 江三木洛 2017-03-28 07:13
    关注

    你把整个布局文件贴上来啊。。。

    评论

报告相同问题?

悬赏问题

  • ¥15 算法题:数的划分,用记忆化DFS做WA求调
  • ¥15 chatglm-6b应用到django项目中,模型加载失败
  • ¥15 武汉岩海低应变分析软件,导数据库里不显示波形图
  • ¥15 CreateBitmapFromWicBitmap内存释放问题。
  • ¥30 win c++ socket
  • ¥30 CanMv K210开发板实现功能
  • ¥15 C# datagridview 栏位进度
  • ¥15 vue3页面el-table页面数据过多
  • ¥100 vue3中融入gRPC-web
  • ¥15 kali环境运行volatility分析android内存文件,缺profile