<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="horizontal"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">
<View android:layout_height="2px"
    android:gravity="center"
    android:layout_width="fill_parent"
    android:maxWidth="200dp"
    android:background="#eee"
    />
</RelativeLayout>