From a509415720d059d59d35d83750c78d25b35256cb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 8 Nov 2014 00:57:08 +0400 Subject: [PATCH] add fab button to article fragment --- org.fox.ttrss/build.gradle | 1 + org.fox.ttrss/org.fox.ttrss.iml | 1 + org.fox.ttrss/src/main/AndroidManifest.xml | 4 +-- .../java/org/fox/ttrss/ArticleFragment.java | 28 ++++++++++++++- .../ttrss/offline/OfflineArticleFragment.java | 33 +++++++++++++++--- .../res/drawable-hdpi/ic_action_web_site.png | Bin 0 -> 1154 bytes .../res/drawable-xhdpi/ic_action_web_site.png | Bin 0 -> 1532 bytes .../src/main/res/layout/article_fragment.xml | 13 +++++-- org.fox.ttrss/src/main/res/values/style.xml | 6 ++++ 9 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_web_site.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_web_site.png diff --git a/org.fox.ttrss/build.gradle b/org.fox.ttrss/build.gradle index f2952775..4cc22613 100644 --- a/org.fox.ttrss/build.gradle +++ b/org.fox.ttrss/build.gradle @@ -33,4 +33,5 @@ dependencies { compile 'com.android.support:support-v4:21.0.0' compile 'com.google.code.gson:gson:2.2.4' compile 'com.android.support:appcompat-v7:21.0.0' + compile 'com.shamanland:fab:0.0.5' } diff --git a/org.fox.ttrss/org.fox.ttrss.iml b/org.fox.ttrss/org.fox.ttrss.iml index 2f2a4b69..5506e1af 100644 --- a/org.fox.ttrss/org.fox.ttrss.iml +++ b/org.fox.ttrss/org.fox.ttrss.iml @@ -82,6 +82,7 @@ + diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index a5817e4b..d215d256 100644 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="274" + android:versionName="1.67" > lj@q9p9FTrRdm%9HX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&QQ~O$tFTI`%(w0ITRI_Q+n`0yM(Qi2V_!-XLg66W?M@ z4Vvt7tEmGkEAaAi0BD4lTDTV1cf{0{e?N-96#%C-WDTAFUs>3wLV)n5r_ZlgK-%N} zCkT0k02ag7@9^BU#(Ym2Kz0b2I;zF`Abz(&Y@r~e&k6v{GG%G)fa*>P^FdrU;#%Wx zO5+Ixs+kp(Y=8O8eTVQZqJN7(d4PK)&NujLB8RZWM+x`yd+MD@En{a zv$hhkL_PnGq{|I>Qh{|HG!4QpAIPnZt_Xqo@!WodFmXpPb1_@#_bs$5dHIZ{>125K zrAyiDY5^%TeNzRN8FKWc$zmLZmvjZ;Q-FB`U{&E%0c>iq!(9L`U9wu-L|-*k;14r} z`Ia6o*YJEV)*S>>ai!4o2{bFjAuJ%FfyrW4w_u`0l~-xp!Ie%-pbGo8aKVG7d_IwP z#4c_4#K8jY$VMBN1_a2@4ROMyy#49-V*QWkpL?Y09SNM*Ljm~WShuV0?Kdl7gOLU5 zgVe(fyt_UMviR-$-Y&q33L6tsnBAJ>XqwUzn))0mw+SyZlzbmj;~%`*3L{$#a0UPc zN{eAdZ3t*_N0n#I5K>67cyyQMzGp%2t812dYhhs45#esn&F z0w5#pf=6U>*wKQ4#v{cU{a;t)5YxT{z^#v44h3L}HuIzE#SM+mHh}x&mO$I;ED{r; zEg7cHLbt=b&D3f7>bbPE;ERiq1sxxa+6}DTHd*!%+DDobWz44L&+{a4{n9 zN$1-rO>Z3bSw))THl*O%@%NPX!D+CJG$%TaS%U|-Vt{44w$W>nrOLqo!1P>3S*2|X zE6)+4Ujx!AGyrIo>G-YNO9z{9u5N!T7cX8K;i)%*JZ%>9l-tN_6*>lp_UgYZY!vx7kZ z0EDaqgwDw?G)A%=@rv=0R{j8xwM3zArT$`0000 + - \ No newline at end of file + \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml index 4dc4db9f..41e913e1 100644 --- a/org.fox.ttrss/src/main/res/values/style.xml +++ b/org.fox.ttrss/src/main/res/values/style.xml @@ -30,6 +30,7 @@ #dddddd ?colorPrimaryDark @android:color/white + @style/FabTheme #6482af #526A8E @@ -79,6 +80,7 @@ #a0a0a0 ?colorPrimaryDark @android:color/white + @style/FabTheme #51698E #445877 @@ -87,4 +89,8 @@ + + \ No newline at end of file