tt-rss-android/res/layout/share.xml
2012-09-09 17:44:28 +04:00

90 lines
3.2 KiB
XML

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TableLayout
android:padding="4dp"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TableRow
android:id="@+id/tableRow1"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/textView1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.3"
android:text="@string/share_title_prompt"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/title"
android:singleLine="true"
android:layout_width="0dp"
android:hint="@string/share_title_hint"
android:layout_height="wrap_content"
android:layout_weight="0.7" >
</EditText>
</TableRow>
<TableRow
android:id="@+id/tableRow2"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/textView2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.3"
android:text="@string/share_url_prompt"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/url"
android:singleLine="true"
android:hint="@string/share_url_hint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.7" />
</TableRow>
<EditText
android:id="@+id/content"
android:layout_width="wrap_content"
android:hint="@string/share_content_hint"
android:layout_height="wrap_content"
android:inputType="textMultiLine"
android:maxLines="3">
<requestFocus />
</EditText>
<Button
android:id="@+id/share_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/share_share_button" />
</TableLayout>
<LinearLayout
android:id="@+id/loading_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical" >
<TextView
android:id="@+id/loading_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/loading_message" />
</LinearLayout>
</LinearLayout>