2013-03-24 15:43:03 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/main"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:padding="5dp" >
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/share_title_hint"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/url"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/title"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/title"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/share_url_hint"
|
|
|
|
android:singleLine="true" />
|
2013-03-30 15:30:47 +00:00
|
|
|
|
|
|
|
|
2013-03-24 15:43:03 +00:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignRight="@+id/url"
|
|
|
|
android:layout_below="@+id/url"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/share_content_hint"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:maxLines="3" >
|
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</EditText>
|
2013-03-30 15:30:47 +00:00
|
|
|
|
|
|
|
|
2013-03-24 15:43:03 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/share_button"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignRight="@+id/content"
|
|
|
|
android:layout_below="@+id/content"
|
|
|
|
android:text="@string/share_share_button" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|