【发布时间】:2025-05-31 07:20:02
【问题描述】:
我正在制作一个 RSS 提要解析器,然后使用数组适配器扩展 UI。制作列表的屏幕布局显示列表很大。但是,当我实际执行应用程序时,它会显示小标题。 布局是这样的,
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ListView
android:id="@+id/android:list"
android:layout_width="wrap_content"
android:layout_height="280dp" />
</LinearLayout>
这是截图:
如果有人能告诉我,如何让这些列表看起来更大,因为我也计划解析图像 url,并将其显示在帖子的左侧。
【问题讨论】:
-
你的行 xml 是什么样子的
标签: android listview saxparser rss-reader