From a909812d4636004248a972db89250624f4679fbd Mon Sep 17 00:00:00 2001 From: Arianna Masciolini Date: Fri, 29 Jun 2018 11:30:42 +0200 Subject: [PATCH] Use new icons + change color. --- LibreryApp/.idea/misc.xml | 2 +- LibreryApp/app/src/main/AndroidManifest.xml | 4 ++-- .../harisont/librery/RecyclerViewAdapter.kt | 2 +- .../harisont/librery/ViewBookDetailsActivity.kt | 2 +- .../src/main/res/drawable/new_sample_cover.png | Bin 0 -> 16149 bytes .../res/layout/activity_view_book_details.xml | 2 +- LibreryApp/app/src/main/res/layout/row.xml | 2 +- LibreryApp/app/src/main/res/values/colors.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 LibreryApp/app/src/main/res/drawable/new_sample_cover.png diff --git a/LibreryApp/.idea/misc.xml b/LibreryApp/.idea/misc.xml index c0f68ed..99202cc 100644 --- a/LibreryApp/.idea/misc.xml +++ b/LibreryApp/.idea/misc.xml @@ -25,7 +25,7 @@ - + diff --git a/LibreryApp/app/src/main/AndroidManifest.xml b/LibreryApp/app/src/main/AndroidManifest.xml index 2b44dbf..63c0064 100644 --- a/LibreryApp/app/src/main/AndroidManifest.xml +++ b/LibreryApp/app/src/main/AndroidManifest.xml @@ -7,9 +7,9 @@ ): RecyclerView.Adapter } holder.v.title?.text = title holder.v.author?.text = authors - holder.v.cover?.setImageResource(R.drawable.sample_cover) + holder.v.cover?.setImageResource(R.drawable.new_sample_cover) } } diff --git a/LibreryApp/app/src/main/java/com/example/harisont/librery/ViewBookDetailsActivity.kt b/LibreryApp/app/src/main/java/com/example/harisont/librery/ViewBookDetailsActivity.kt index 4d8c51d..7001f3e 100644 --- a/LibreryApp/app/src/main/java/com/example/harisont/librery/ViewBookDetailsActivity.kt +++ b/LibreryApp/app/src/main/java/com/example/harisont/librery/ViewBookDetailsActivity.kt @@ -47,7 +47,7 @@ class ViewBookDetailsActivity : AppCompatActivity() { println("Image path is probably empty. A placeholder will be used instead.") } } - else book_cover.setImageResource(R.drawable.sample_cover) + else book_cover.setImageResource(R.drawable.new_sample_cover) notes.setText(notesStr, TextView.BufferType.EDITABLE) read_chbox.isChecked = read rating_bar.rating = rating diff --git a/LibreryApp/app/src/main/res/drawable/new_sample_cover.png b/LibreryApp/app/src/main/res/drawable/new_sample_cover.png new file mode 100644 index 0000000000000000000000000000000000000000..158d08ceb9e34c48ad49ea274fcad72e46037089 GIT binary patch literal 16149 zcmeHN1z42J{{H9|K~j{EI!GujBA`fzGz-#7NG_cM(t@CLEU-uk2qK}Rgi0tWE!_Q&yF$ENjq6m8`;k%cwgT)*XoWPeJT zWrIyp(fdrBJ^3XaV4=?hpc$9TH`X53or$@-#W$R|9I-L<);r9uX=u>?b;&Cbb;278 zcti(n%_0?e7T8_!aE}wbg@*qG&CbBPc|AK2IuKv0rIZJwH`_t!M zp>n*Stn}`_)9yugZklNiUP^rlbDPP}fR@AC&B16}!I#?KU6-JAcrj}dYx5*7qls(Y zqLDq#P+i+}k}*4{tWUyRaG|85Ma!|*p%~OXz-}>I<@p*?okSryL~A=SQ^2wol{_4r{ZTr7rv+}XVN=aHEWKD* zf3_rGnp-O%%X-}`$&nPZJTWHmQ+kw9_r-2#Ppa+zC_J>Sf5Ni0y#% z1~h*pLbuJscY~{|L=TzEV!w8JnVv+D6{5(1V)|5f}s;!($>z$Wgi>sBqB*N63 z&)qwx=5w?X;2IReP3Ex4^3JonBPs2In0V3LY87VZ9{CxsjaWTl=w+RADo~PQg*UCa zs-udTm(z;|)G*nOeE4b9w#oY^#c>)E;&FeOE zC7Qj7>tuUhAp&<5GfUu*uYYw%lPO}>ipZ8Ld@$6fvj7K={)B7bb@i(dA$Js)_{C#>F{N#(D-g=P>q)~fapqmhQ1I4jG$Bp*nzq#6Fo%E1T z+lReCE6LBegO7feg;ZiqwyM($zjbJY1ThPx4ufPo5G9HAAB95G`(L2EIvIzqckZ#w zYdtO%Kd%%eV%>}Z#*N8DTVJ)@HhJ=o%n6~@aChHsYaY~owf^_5oGN{3BtF@6V`S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