当小弟我以dialog对话框的方式显示一个xml布局的时候,为什么会。

当我以dialog对话框的方式显示一个xml布局的时候,为什么会。。。。。。
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical" >
   
  <TextView
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:id="@+id/about_content"
  />

</ScrollView>

照理只有一个TextView啊,可是实际textview上面还有一个 app_name ,

strings.xml中
  <string name="app_name">abc网</string>

为啥?另外我要问的是如何插入一条水平线呢

------解决方案--------------------
Dialog的话,会有一个标题栏显示一个标题。你可以用 dialog.requestWindowFeature(Window.FEATURE_NO_TITLE) 来隐藏标题
------解决方案--------------------
插入水平线可以这样
XML code

<View
    android:layout_width="match_parent"
    android:layout_height="1dp"
    android:background="@color/你自己想要定义的颜色"
/>