summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2014-04-18 20:32:22 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2014-04-18 20:32:22 +0200
commit257913196b0aa7f971bad387359f49e391fe9ed3 (patch)
tree2cff3dba84443aabffea4ee16948bf9d42353b63 /res
parent9a86c6651a2335f3385777c99a3943ac52d555f0 (diff)
downloadAntennaPod-257913196b0aa7f971bad387359f49e391fe9ed3.zip
Added FeedItem dialog
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_action_overflow.pngbin0 -> 225 bytes
-rw-r--r--res/drawable-hdpi/ic_action_overflow_dark.pngbin0 -> 217 bytes
-rw-r--r--res/drawable-mdpi/ic_action_overflow.pngbin0 -> 197 bytes
-rw-r--r--res/drawable-mdpi/ic_action_overflow_dark.pngbin0 -> 201 bytes
-rw-r--r--res/drawable-xhdpi/ic_action_overflow.pngbin0 -> 267 bytes
-rw-r--r--res/drawable-xhdpi/ic_action_overflow_dark.pngbin0 -> 262 bytes
-rw-r--r--res/drawable-xxhdpi/ic_action_overflow.pngbin0 -> 264 bytes
-rw-r--r--res/drawable-xxhdpi/ic_action_overflow_dark.pngbin0 -> 264 bytes
-rw-r--r--res/layout/feeditem_dialog.xml52
-rw-r--r--res/menu/feeditem_dialog.xml48
-rw-r--r--res/values/attrs.xml67
-rw-r--r--res/values/styles.xml63
12 files changed, 168 insertions, 62 deletions
diff --git a/res/drawable-hdpi/ic_action_overflow.png b/res/drawable-hdpi/ic_action_overflow.png
new file mode 100644
index 000000000..002fc4bfb
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_overflow.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_action_overflow_dark.png b/res/drawable-hdpi/ic_action_overflow_dark.png
new file mode 100644
index 000000000..c8792cbe2
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_overflow_dark.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_action_overflow.png b/res/drawable-mdpi/ic_action_overflow.png
new file mode 100644
index 000000000..6f0fb23f4
--- /dev/null
+++ b/res/drawable-mdpi/ic_action_overflow.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_action_overflow_dark.png b/res/drawable-mdpi/ic_action_overflow_dark.png
new file mode 100644
index 000000000..b4a4a221f
--- /dev/null
+++ b/res/drawable-mdpi/ic_action_overflow_dark.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_action_overflow.png b/res/drawable-xhdpi/ic_action_overflow.png
new file mode 100644
index 000000000..7ba4e10ea
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_overflow.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_action_overflow_dark.png b/res/drawable-xhdpi/ic_action_overflow_dark.png
new file mode 100644
index 000000000..5d8af5d63
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_overflow_dark.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_action_overflow.png b/res/drawable-xxhdpi/ic_action_overflow.png
new file mode 100644
index 000000000..5a603b6bc
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_action_overflow.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_action_overflow_dark.png b/res/drawable-xxhdpi/ic_action_overflow_dark.png
new file mode 100644
index 000000000..e22049b1e
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_action_overflow_dark.png
Binary files differ
diff --git a/res/layout/feeditem_dialog.xml b/res/layout/feeditem_dialog.xml
new file mode 100644
index 000000000..3b7c02b72
--- /dev/null
+++ b/res/layout/feeditem_dialog.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:id="@+id/header"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <ImageButton
+ android:layout_width="0dp"
+ android:layout_height="48dp"
+ android:layout_weight="1"
+ android:id="@+id/butAction1"
+ android:background="?attr/borderless_button"
+ tools:ignore="ContentDescription"/>
+
+ <ImageButton
+ android:layout_width="0dp"
+ android:layout_height="48dp"
+ android:layout_weight="1"
+ android:id="@+id/butAction2"
+ android:background="?attr/borderless_button"
+ tools:ignore="ContentDescription"/>
+
+ <ImageButton
+ android:layout_width="0dp"
+ android:layout_height="48dp"
+ android:layout_weight="1"
+ android:id="@+id/butMoreActions"
+ android:background="?attr/borderless_button"
+ android:src="?attr/ic_action_overflow"
+ android:contentDescription="@string/butAction_label"/>
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="3dp"
+ android:background="@color/bright_blue"/>
+
+ <WebView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/webview"/>
+
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/menu/feeditem_dialog.xml b/res/menu/feeditem_dialog.xml
new file mode 100644
index 000000000..f33b7502a
--- /dev/null
+++ b/res/menu/feeditem_dialog.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:custom="http://schemas.android.com/apk/res-auto">
+
+ <item
+ android:id="@id/skip_episode_item"
+ android:title="@string/skip_episode_label"
+ custom:showAsAction="collapseActionView">
+ </item>
+
+ <item
+ android:id="@+id/mark_read_item"
+ custom:showAsAction="collapseActionView"
+ android:title="@string/mark_read_label">
+ </item>
+ <item
+ android:id="@+id/mark_unread_item"
+ custom:showAsAction="collapseActionView"
+ android:title="@string/mark_unread_label">
+ </item>
+ <item
+ android:id="@+id/add_to_queue_item"
+ custom:showAsAction="collapseActionView"
+ android:title="@string/add_to_queue_label">
+ </item>
+ <item
+ android:id="@+id/remove_from_queue_item"
+ custom:showAsAction="collapseActionView"
+ android:title="@string/remove_from_queue_label">
+ </item>
+ <item
+ android:id="@+id/share_link_item"
+ custom:showAsAction="collapseActionView"
+ android:title="@string/share_link_label">
+ </item>
+ <item
+ android:id="@+id/visit_website_item"
+ android:icon="?attr/location_web_site"
+ custom:showAsAction="ifRoom|collapseActionView"
+ android:title="@string/visit_website_label">
+ </item>
+ <item
+ android:id="@+id/support_item"
+ custom:showAsAction="collapseActionView"
+ android:title="@string/support_label">
+ </item>
+
+</menu> \ No newline at end of file
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 36afb6d7b..751134a50 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -1,40 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <attr name="action_about" format="reference" />
- <attr name="action_search" format="reference" />
- <attr name="action_settings" format="reference" />
- <attr name="action_stream" format="reference" />
- <attr name="av_download" format="reference" />
- <attr name="av_fast_forward" format="reference" />
- <attr name="av_pause" format="reference" />
- <attr name="av_play" format="reference" />
- <attr name="av_rewind" format="reference" />
- <attr name="content_discard" format="reference" />
- <attr name="content_new" format="reference" />
- <attr name="default_cover" format="reference" />
- <attr name="device_access_time" format="reference" />
- <attr name="location_web_site" format="reference" />
- <attr name="navigation_accept" format="reference" />
- <attr name="navigation_cancel" format="reference" />
- <attr name="navigation_expand" format="reference" />
- <attr name="navigation_collapse" format="reference" />
- <attr name="navigation_refresh" format="reference" />
- <attr name="navigation_up" format="reference" />
- <attr name="navigation_shownotes" format="reference" />
- <attr name="navigation_chapters" format="reference" />
- <attr name="social_share" format="reference" />
- <attr name="stat_playlist" format="reference" />
- <attr name="type_audio" format="reference" />
- <attr name="type_video" format="reference" />
- <attr name="borderless_button" format="reference" />
- <attr name="spinner_button" format="reference" />
- <attr name="overlay_drawable" format="reference" />
- <attr name="dragview_background" format="reference" />
- <attr name="dragview_float_background" format="reference" />
+ <attr name="action_about" format="reference"/>
+ <attr name="action_search" format="reference"/>
+ <attr name="action_settings" format="reference"/>
+ <attr name="action_stream" format="reference"/>
+ <attr name="av_download" format="reference"/>
+ <attr name="av_fast_forward" format="reference"/>
+ <attr name="av_pause" format="reference"/>
+ <attr name="av_play" format="reference"/>
+ <attr name="av_rewind" format="reference"/>
+ <attr name="content_discard" format="reference"/>
+ <attr name="content_new" format="reference"/>
+ <attr name="default_cover" format="reference"/>
+ <attr name="device_access_time" format="reference"/>
+ <attr name="location_web_site" format="reference"/>
+ <attr name="navigation_accept" format="reference"/>
+ <attr name="navigation_cancel" format="reference"/>
+ <attr name="navigation_expand" format="reference"/>
+ <attr name="navigation_collapse" format="reference"/>
+ <attr name="navigation_refresh" format="reference"/>
+ <attr name="navigation_up" format="reference"/>
+ <attr name="navigation_shownotes" format="reference"/>
+ <attr name="navigation_chapters" format="reference"/>
+ <attr name="social_share" format="reference"/>
+ <attr name="stat_playlist" format="reference"/>
+ <attr name="type_audio" format="reference"/>
+ <attr name="type_video" format="reference"/>
+ <attr name="borderless_button" format="reference"/>
+ <attr name="spinner_button" format="reference"/>
+ <attr name="overlay_drawable" format="reference"/>
+ <attr name="dragview_background" format="reference"/>
+ <attr name="dragview_float_background" format="reference"/>
+ <attr name="ic_action_overflow" format="reference"/>
<!-- Used in itemdescription -->
- <attr name="non_transparent_background" format="reference" />
- <attr name="overlay_background" format="color" />
+ <attr name="non_transparent_background" format="reference"/>
+ <attr name="overlay_background" format="color"/>
<attr name="nav_drawer_background" format="color"/>
<attr name="nav_drawer_toggle" format="reference"/>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index e29329c78..f169b6301 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -37,6 +37,7 @@
<item name="attr/dragview_float_background">@color/white</item>
<item name="attr/nav_drawer_background">@color/white</item>
<item name="attr/nav_drawer_toggle">@drawable/ic_drawer</item>
+ <item name="attr/ic_action_overflow">@drawable/ic_action_overflow</item>
</style>
<style name="Theme.AntennaPod.Dark" parent="@style/Theme.AppCompat">
@@ -75,41 +76,45 @@
<item name="attr/dragview_float_background">@color/black</item>
<item name="attr/nav_drawer_background">#3B3B3B</item>
<item name="attr/nav_drawer_toggle">@drawable/ic_drawer_dark</item>
+ <item name="attr/ic_action_overflow">@drawable/ic_action_overflow_dark</item>
+
</style>
<style name="UndoBar">
- <item name="android:layout_width">match_parent</item>
- <item name="android:layout_height">48dp</item>
- <item name="android:layout_gravity">bottom</item>
- <item name="android:layout_marginLeft">8dp</item>
- <item name="android:layout_marginRight">8dp</item>
- <item name="android:layout_marginBottom">16dp</item>
- <item name="android:orientation">horizontal</item>
- <item name="android:background">@drawable/undobar</item>
- <item name="android:clickable">true</item>
- <item name="android:divider">@drawable/undobar_divider</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">48dp</item>
+ <item name="android:layout_gravity">bottom</item>
+ <item name="android:layout_marginLeft">8dp</item>
+ <item name="android:layout_marginRight">8dp</item>
+ <item name="android:layout_marginBottom">16dp</item>
+ <item name="android:orientation">horizontal</item>
+ <item name="android:background">@drawable/undobar</item>
+ <item name="android:clickable">true</item>
+ <item name="android:divider">@drawable/undobar_divider</item>
</style>
+
<style name="UndoBarMessage">
- <item name="android:layout_width">0dp</item>
- <item name="android:layout_weight">1</item>
- <item name="android:layout_height">wrap_content</item>
- <item name="android:layout_marginLeft">16dp</item>
- <item name="android:layout_gravity">center_vertical</item>
- <item name="android:layout_marginRight">16dp</item>
- <item name="android:textAppearance">?android:textAppearanceMedium</item>
- <item name="android:textColor">#fff</item>
+ <item name="android:layout_width">0dp</item>
+ <item name="android:layout_weight">1</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_marginLeft">16dp</item>
+ <item name="android:layout_gravity">center_vertical</item>
+ <item name="android:layout_marginRight">16dp</item>
+ <item name="android:textAppearance">?android:textAppearanceMedium</item>
+ <item name="android:textColor">#fff</item>
</style>
+
<style name="UndoBarButton">
- <item name="android:layout_width">wrap_content</item>
- <item name="android:layout_height">match_parent</item>
- <item name="android:paddingLeft">16dp</item>
- <item name="android:paddingRight">16dp</item>
- <item name="android:background">@drawable/undobar_button</item>
- <item name="android:drawableLeft">@drawable/ic_undobar_undo</item>
- <item name="android:drawablePadding">12dp</item>
- <item name="android:textAppearance">?android:textAppearanceSmall</item>
- <item name="android:textStyle">bold</item>
- <item name="android:textColor">#fff</item>
- <item name="android:text">@string/undo</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:paddingLeft">16dp</item>
+ <item name="android:paddingRight">16dp</item>
+ <item name="android:background">@drawable/undobar_button</item>
+ <item name="android:drawableLeft">@drawable/ic_undobar_undo</item>
+ <item name="android:drawablePadding">12dp</item>
+ <item name="android:textAppearance">?android:textAppearanceSmall</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:textColor">#fff</item>
+ <item name="android:text">@string/undo</item>
</style>
</resources>