summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-06-11 14:15:32 +0300
committerAndrew Dolgov <[email protected]>2015-06-11 14:15:32 +0300
commitf114539024d0769edb6c25d0268fef6cd558c845 (patch)
tree26afcf5191fa363f14c89067cf0dcb978309b216 /org.fox.ttrss/src/main/res
parent35f421e896cc53565cc11748a624cd828a4e1fe3 (diff)
use dialogwhenlarge theme for image pager
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rw-r--r--[-rwxr-xr-x]org.fox.ttrss/src/main/res/layout/activity_images_pager.xml (renamed from org.fox.ttrss/src/main/res/layout/article_images_pager.xml)4
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/style.xml8
2 files changed, 8 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/article_images_pager.xml b/org.fox.ttrss/src/main/res/layout/activity_images_pager.xml
index 8744af67..8e754bf7 100755..100644
--- a/org.fox.ttrss/src/main/res/layout/article_images_pager.xml
+++ b/org.fox.ttrss/src/main/res/layout/activity_images_pager.xml
@@ -1,9 +1,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:fitsSystemWindows="true"
android:id="@+id/article_images"
android:layout_width="fill_parent"
android:animateLayoutChanges="true"
- android:background="?headlinesBackground"
android:layout_height="fill_parent">
<org.fox.ttrss.ArticleImagesPager
@@ -37,6 +35,4 @@
android:visibility="invisible" />
- <include layout="@layout/toolbar" android:id="@+id/toolbar" />
-
</RelativeLayout>
diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml
index a02ee887..25084641 100755
--- a/org.fox.ttrss/src/main/res/values/style.xml
+++ b/org.fox.ttrss/src/main/res/values/style.xml
@@ -123,4 +123,12 @@
<item name="floatingActionButtonColor">?colorPrimaryDark</item>
</style>
+ <style name="ImagePagerTheme" parent="Theme.AppCompat.DialogWhenLarge">
+ <item name="windowActionBarOverlay">true</item>
+
+ <item name="colorPrimary">#607D8B</item>
+ <item name="colorPrimaryDark">#455A64</item>
+ <item name="colorAccent">#D84315</item>
+ </style>
+
</resources> \ No newline at end of file