2014-10-16 20:06:56 +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"
|
2015-06-08 10:35:54 +00:00
|
|
|
android:animateLayoutChanges="true"
|
2015-02-12 19:54:33 +00:00
|
|
|
android:padding="@dimen/activity_horizontal_margin" >
|
2014-10-16 20:06:56 +00:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/feed_url"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/feed_url"
|
|
|
|
android:inputType="textUri"
|
2015-06-08 10:35:54 +00:00
|
|
|
android:maxLines="1" >
|
2014-10-16 20:06:56 +00:00
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</EditText>
|
|
|
|
|
|
|
|
<Spinner
|
2015-06-08 10:35:54 +00:00
|
|
|
android:id="@+id/feed_spinner"
|
|
|
|
android:visibility="gone"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/feed_url"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/feed_url" />
|
|
|
|
|
2015-06-08 10:35:54 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/category_spinner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/feed_spinner"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/feed_spinner" />
|
|
|
|
|
2015-06-03 10:43:28 +00:00
|
|
|
<ProgressBar
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_below="@+id/category_spinner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:id="@+id/subscribe_progress" />
|
|
|
|
|
2014-10-16 20:06:56 +00:00
|
|
|
<LinearLayout
|
2015-02-12 19:54:33 +00:00
|
|
|
style="?android:attr/buttonBarStyle"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/category_spinner"
|
|
|
|
android:layout_alignRight="@+id/category_spinner"
|
2015-06-03 10:43:28 +00:00
|
|
|
android:layout_below="@+id/subscribe_progress" >
|
2014-10-16 20:06:56 +00:00
|
|
|
|
|
|
|
<Button
|
2015-02-12 19:54:33 +00:00
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/cats_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:text="Update categories" />
|
|
|
|
|
|
|
|
<Button
|
2015-02-12 19:54:33 +00:00
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/subscribe_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/subscribe_to_feed" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2013-03-24 15:43:03 +00:00
|
|
|
</RelativeLayout>
|