ListView滚动条没有显示在屏幕最右侧

JackBurd 2015-05-17 10:29:47


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">

<ListView
android:id="@+id/market_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="#dddddd"
android:dividerHeight="1dp"
android:background="@android:color/background_light"
android:fastScrollEnabled="true"/>

</LinearLayout>


如上图所示,怎么破?求指导
...全文
382 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
JackBurd 2015-06-05
  • 打赏
  • 举报
回复
引用 1 楼 hjq2013的回复:
调整ListView的margin_right为负值试试,
是我手机的问题,在同学和模拟器上都正常
Hare_ 2015-05-18
  • 打赏
  • 举报
回复
调整ListView的margin_right为负值试试,
东大坡居士 2015-05-18
  • 打赏
  • 举报
回复
activity或者fragment是不是设置padding或者margin了

80,471

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧