aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_filter.xml13
-rw-r--r--app/src/main/res/layout/activity_filter_settings.xml38
-rw-r--r--app/src/main/res/layout/activity_filters.xml17
-rw-r--r--app/src/main/res/layout/activity_unified_inbox.xml3
-rw-r--r--app/src/main/res/layout/fragment_filter_settings_feeds.xml34
-rw-r--r--app/src/main/res/layout/item_feeditem.xml19
-rw-r--r--app/src/main/res/layout/item_filter.xml19
-rw-r--r--app/src/main/res/layout/item_filter_settings_feed.xml19
-rw-r--r--app/src/main/res/layout/item_filter_settings_keyword.xml14
9 files changed, 173 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_filter.xml b/app/src/main/res/layout/activity_filter.xml
new file mode 100644
index 0000000..b144d08
--- /dev/null
+++ b/app/src/main/res/layout/activity_filter.xml
@@ -0,0 +1,13 @@
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context="org.rssin.android.FilterActivity">
+
+ <ListView
+ android:id="@+id/filter_items_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+</RelativeLayout>
diff --git a/app/src/main/res/layout/activity_filter_settings.xml b/app/src/main/res/layout/activity_filter_settings.xml
new file mode 100644
index 0000000..6ee5331
--- /dev/null
+++ b/app/src/main/res/layout/activity_filter_settings.xml
@@ -0,0 +1,38 @@
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:context="org.rssin.android.FilterSettingsActivity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="0dp"
+ android:paddingRight="0dp"
+ android:paddingTop="0dp"
+ android:paddingBottom="0dp"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <EditText
+ android:id="@+id/filter_settings_add_keyword"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:maxLines="1"/>
+
+ <Button
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/filter_settings_add_keyword"
+ android:onClick="addKeyword"/>
+
+ </LinearLayout>
+
+ <ListView
+ android:id="@+id/filter_settings_feeds_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"></ListView>
+
+</LinearLayout>
diff --git a/app/src/main/res/layout/activity_filters.xml b/app/src/main/res/layout/activity_filters.xml
new file mode 100644
index 0000000..700e939
--- /dev/null
+++ b/app/src/main/res/layout/activity_filters.xml
@@ -0,0 +1,17 @@
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="0dp"
+ android:paddingRight="0dp"
+ android:paddingTop="0dp"
+ android:paddingBottom="0dp"
+ tools:context="org.rssin.android.FiltersActivity">
+
+ <ListView
+ android:id="@+id/filters_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"></ListView>
+
+</RelativeLayout>
diff --git a/app/src/main/res/layout/activity_unified_inbox.xml b/app/src/main/res/layout/activity_unified_inbox.xml
index 1f25ce7..5c56465 100644
--- a/app/src/main/res/layout/activity_unified_inbox.xml
+++ b/app/src/main/res/layout/activity_unified_inbox.xml
@@ -5,7 +5,4 @@
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".UnifiedInboxActivity">
- <TextView android:text="@string/hello_world" android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
-
</RelativeLayout>
diff --git a/app/src/main/res/layout/fragment_filter_settings_feeds.xml b/app/src/main/res/layout/fragment_filter_settings_feeds.xml
new file mode 100644
index 0000000..9c1e1f4
--- /dev/null
+++ b/app/src/main/res/layout/fragment_filter_settings_feeds.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <EditText
+ android:id="@+id/filter_settings_add_feed"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:maxLines="1"
+ android:inputType="textUri"/>
+
+ <Button
+ android:id="@+id/filter_settings_add_feed_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/filter_settings_add_feed"/>
+
+ </LinearLayout>
+
+ <ListView
+ android:id="@+id/filter_settings_feeds_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_feeditem.xml b/app/src/main/res/layout/item_feeditem.xml
new file mode 100644
index 0000000..9f4c553
--- /dev/null
+++ b/app/src/main/res/layout/item_feeditem.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="10dp">
+
+ <TextView android:id="@+id/feeditem_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textSize="@dimen/font_size_normal"/>
+
+ <TextView android:id="@+id/feeditem_summary"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textSize="@dimen/font_size_small"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_filter.xml b/app/src/main/res/layout/item_filter.xml
new file mode 100644
index 0000000..c91a1a5
--- /dev/null
+++ b/app/src/main/res/layout/item_filter.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="10dp">
+
+ <TextView android:id="@+id/filter_item_title"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:textSize="@dimen/font_size_large"/>
+
+ <TextView android:id="@+id/filter_item_keywords"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:textSize="@dimen/font_size_normal"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_filter_settings_feed.xml b/app/src/main/res/layout/item_filter_settings_feed.xml
new file mode 100644
index 0000000..ed3d596
--- /dev/null
+++ b/app/src/main/res/layout/item_filter_settings_feed.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="10dp">
+
+ <TextView android:id="@+id/filter_settings_feed_item_title"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:textSize="@dimen/font_size_large"/>
+
+ <TextView android:id="@+id/filter_settings_feed_item_url"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:textSize="@dimen/font_size_normal"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_filter_settings_keyword.xml b/app/src/main/res/layout/item_filter_settings_keyword.xml
new file mode 100644
index 0000000..36d8c59
--- /dev/null
+++ b/app/src/main/res/layout/item_filter_settings_keyword.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <TextView android:id="@+id/filter_settings_keyword_item_title"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="10dp"
+ android:textSize="@dimen/font_size_normal"/>
+
+</LinearLayout> \ No newline at end of file