Skip to content

Commit

Permalink
Use new icons + change color.
Browse files Browse the repository at this point in the history
  • Loading branch information
harisont committed Jun 29, 2018
1 parent 0c2e44d commit a909812
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LibreryApp/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions LibreryApp/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@drawable/icon"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class RecyclerViewAdapter(private val bookList: List<Any>): 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)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
android:layout_width="50dp"
android:layout_height="match_parent"
android:contentDescription="@string/cover_desc"
android:src="@drawable/sample_cover" />
android:src="@drawable/new_sample_cover" />

<LinearLayout
android:layout_width="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion LibreryApp/app/src/main/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:id="@+id/cover"
android:layout_width="40dp"
android:layout_height="match_parent"
android:src="@drawable/sample_cover" />
android:src="@drawable/new_sample_cover" />

<LinearLayout
android:padding="@dimen/recycler_view_padding"
Expand Down
2 changes: 1 addition & 1 deletion LibreryApp/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<resources>
<color name="colorPrimary">#424242</color>
<color name="colorPrimaryDark">#212121</color>
<color name="colorAccent">#f44336</color>
<color name="colorAccent">#ff2828</color>
</resources>

0 comments on commit a909812

Please sign in to comment.