Browse Source

Vector icons (#33)

Changes PNGs to vector assets
pull/44/head
oogee 7 years ago
committed by Apostolof
parent
commit
cf09f19a94
  1. 16
      app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java
  2. 8
      app/src/main/java/gr/thmmy/mthmmy/activities/downloads/DownloadsAdapter.java
  3. 8
      app/src/main/java/gr/thmmy/mthmmy/activities/profile/ProfileActivity.java
  4. 16
      app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicAdapter.java
  5. 8
      app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java
  6. BIN
      app/src/main/res/drawable-hdpi/ic_arrow_drop_down.png
  7. BIN
      app/src/main/res/drawable-hdpi/ic_arrow_drop_up.png
  8. BIN
      app/src/main/res/drawable-hdpi/ic_bookmark_false.png
  9. BIN
      app/src/main/res/drawable-hdpi/ic_bookmark_true.png
  10. BIN
      app/src/main/res/drawable-hdpi/ic_delete_accent.png
  11. BIN
      app/src/main/res/drawable-hdpi/ic_delete_white.png
  12. BIN
      app/src/main/res/drawable-hdpi/ic_file_upload.png
  13. BIN
      app/src/main/res/drawable-hdpi/ic_format_quote_checked.png
  14. BIN
      app/src/main/res/drawable-hdpi/ic_format_quote_unchecked.png
  15. BIN
      app/src/main/res/drawable-hdpi/ic_info.png
  16. BIN
      app/src/main/res/drawable-hdpi/ic_insert_drive_file.png
  17. BIN
      app/src/main/res/drawable-hdpi/ic_more_vert.png
  18. BIN
      app/src/main/res/drawable-hdpi/ic_send.png
  19. BIN
      app/src/main/res/drawable-hdpi/ic_share.png
  20. BIN
      app/src/main/res/drawable-mdpi/ic_arrow_drop_down.png
  21. BIN
      app/src/main/res/drawable-mdpi/ic_arrow_drop_up.png
  22. BIN
      app/src/main/res/drawable-mdpi/ic_bookmark_false.png
  23. BIN
      app/src/main/res/drawable-mdpi/ic_bookmark_true.png
  24. BIN
      app/src/main/res/drawable-mdpi/ic_delete_accent.png
  25. BIN
      app/src/main/res/drawable-mdpi/ic_delete_white.png
  26. BIN
      app/src/main/res/drawable-mdpi/ic_file_upload.png
  27. BIN
      app/src/main/res/drawable-mdpi/ic_format_quote_checked.png
  28. BIN
      app/src/main/res/drawable-mdpi/ic_format_quote_unchecked.png
  29. BIN
      app/src/main/res/drawable-mdpi/ic_info.png
  30. BIN
      app/src/main/res/drawable-mdpi/ic_insert_drive_file.png
  31. BIN
      app/src/main/res/drawable-mdpi/ic_more_vert.png
  32. BIN
      app/src/main/res/drawable-mdpi/ic_send.png
  33. BIN
      app/src/main/res/drawable-mdpi/ic_share.png
  34. BIN
      app/src/main/res/drawable-xhdpi/ic_arrow_drop_down.png
  35. BIN
      app/src/main/res/drawable-xhdpi/ic_arrow_drop_up.png
  36. BIN
      app/src/main/res/drawable-xhdpi/ic_bookmark_false.png
  37. BIN
      app/src/main/res/drawable-xhdpi/ic_bookmark_true.png
  38. BIN
      app/src/main/res/drawable-xhdpi/ic_delete_accent.png
  39. BIN
      app/src/main/res/drawable-xhdpi/ic_delete_white.png
  40. BIN
      app/src/main/res/drawable-xhdpi/ic_file_upload.png
  41. BIN
      app/src/main/res/drawable-xhdpi/ic_format_quote_checked.png
  42. BIN
      app/src/main/res/drawable-xhdpi/ic_format_quote_unchecked.png
  43. BIN
      app/src/main/res/drawable-xhdpi/ic_info.png
  44. BIN
      app/src/main/res/drawable-xhdpi/ic_insert_drive_file.png
  45. BIN
      app/src/main/res/drawable-xhdpi/ic_more_vert.png
  46. BIN
      app/src/main/res/drawable-xhdpi/ic_send.png
  47. BIN
      app/src/main/res/drawable-xhdpi/ic_share.png
  48. BIN
      app/src/main/res/drawable-xxhdpi/ic_arrow_drop_down.png
  49. BIN
      app/src/main/res/drawable-xxhdpi/ic_arrow_drop_up.png
  50. BIN
      app/src/main/res/drawable-xxhdpi/ic_bookmark_false.png
  51. BIN
      app/src/main/res/drawable-xxhdpi/ic_bookmark_true.png
  52. BIN
      app/src/main/res/drawable-xxhdpi/ic_delete_accent.png
  53. BIN
      app/src/main/res/drawable-xxhdpi/ic_delete_white.png
  54. BIN
      app/src/main/res/drawable-xxhdpi/ic_file_upload.png
  55. BIN
      app/src/main/res/drawable-xxhdpi/ic_format_quote_checked.png
  56. BIN
      app/src/main/res/drawable-xxhdpi/ic_format_quote_unchecked.png
  57. BIN
      app/src/main/res/drawable-xxhdpi/ic_info.png
  58. BIN
      app/src/main/res/drawable-xxhdpi/ic_insert_drive_file.png
  59. BIN
      app/src/main/res/drawable-xxhdpi/ic_more_vert.png
  60. BIN
      app/src/main/res/drawable-xxhdpi/ic_send.png
  61. BIN
      app/src/main/res/drawable-xxhdpi/ic_share.png
  62. BIN
      app/src/main/res/drawable-xxxhdpi/ic_arrow_drop_down.png
  63. BIN
      app/src/main/res/drawable-xxxhdpi/ic_arrow_drop_up.png
  64. BIN
      app/src/main/res/drawable-xxxhdpi/ic_bookmark_false.png
  65. BIN
      app/src/main/res/drawable-xxxhdpi/ic_bookmark_true.png
  66. BIN
      app/src/main/res/drawable-xxxhdpi/ic_delete_accent.png
  67. BIN
      app/src/main/res/drawable-xxxhdpi/ic_delete_white.png
  68. BIN
      app/src/main/res/drawable-xxxhdpi/ic_file_upload.png
  69. BIN
      app/src/main/res/drawable-xxxhdpi/ic_format_quote_checked.png
  70. BIN
      app/src/main/res/drawable-xxxhdpi/ic_format_quote_unchecked.png
  71. BIN
      app/src/main/res/drawable-xxxhdpi/ic_info.png
  72. BIN
      app/src/main/res/drawable-xxxhdpi/ic_insert_drive_file.png
  73. BIN
      app/src/main/res/drawable-xxxhdpi/ic_more_vert.png
  74. BIN
      app/src/main/res/drawable-xxxhdpi/ic_send.png
  75. BIN
      app/src/main/res/drawable-xxxhdpi/ic_share.png
  76. 5
      app/src/main/res/drawable/ic_arrow_drop_down_accent_24dp.xml
  77. 5
      app/src/main/res/drawable/ic_arrow_drop_up_accent_24dp.xml
  78. 5
      app/src/main/res/drawable/ic_bookmark_false_accent_24dp.xml
  79. 5
      app/src/main/res/drawable/ic_bookmark_true_accent_24dp.xml
  80. BIN
      app/src/main/res/drawable/ic_default_user_thumbnail.png
  81. 5
      app/src/main/res/drawable/ic_default_user_thumbnail_white_24dp.xml
  82. 5
      app/src/main/res/drawable/ic_delete_accent_24dp.xml
  83. 5
      app/src/main/res/drawable/ic_delete_white_24dp.xml
  84. 11
      app/src/main/res/drawable/ic_file_upload.xml
  85. 5
      app/src/main/res/drawable/ic_file_upload_white_24dp.xml
  86. 5
      app/src/main/res/drawable/ic_format_quote_checked_accent_24dp.xml
  87. 5
      app/src/main/res/drawable/ic_format_quote_unchecked_grey_24dp.xml
  88. 5
      app/src/main/res/drawable/ic_info_outline_white_24dp.xml
  89. 5
      app/src/main/res/drawable/ic_insert_drive_file_white_24dp.xml
  90. 5
      app/src/main/res/drawable/ic_more_vert_white_24dp.xml
  91. 5
      app/src/main/res/drawable/ic_send_accent_24dp.xml
  92. 5
      app/src/main/res/drawable/ic_share_white_24dp.xml
  93. 2
      app/src/main/res/layout-v21/activity_profile.xml
  94. 7
      app/src/main/res/layout-v21/activity_topic_post_row.xml
  95. 2
      app/src/main/res/layout/activity_board.xml
  96. 3
      app/src/main/res/layout/activity_board_sub_board.xml
  97. 3
      app/src/main/res/layout/activity_board_topic.xml
  98. 2
      app/src/main/res/layout/activity_downloads.xml
  99. 3
      app/src/main/res/layout/activity_downloads_row.xml
  100. 2
      app/src/main/res/layout/activity_profile.xml

16
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java

@ -147,10 +147,10 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
});
if (boardExpandableVisibility.get(subBoardViewHolder.getAdapterPosition() - 1)) {
subBoardViewHolder.boardExpandable.setVisibility(View.VISIBLE);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up_accent_24dp);
} else {
subBoardViewHolder.boardExpandable.setVisibility(View.GONE);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down_accent_24dp);
}
subBoardViewHolder.showHideExpandable.setOnClickListener(new View.OnClickListener() {
@Override
@ -158,10 +158,10 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
final boolean visible = boardExpandableVisibility.get(subBoardViewHolder.getAdapterPosition() - 1);
if (visible) {
subBoardViewHolder.boardExpandable.setVisibility(View.GONE);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down_accent_24dp);
} else {
subBoardViewHolder.boardExpandable.setVisibility(View.VISIBLE);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up);
subBoardViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up_accent_24dp);
}
boardExpandableVisibility.set(subBoardViewHolder.getAdapterPosition() - 1, !visible);
}
@ -208,10 +208,10 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
if (topicExpandableVisibility.get(topicViewHolder.getAdapterPosition() - parsedSubBoards
.size() - 2)) {
topicViewHolder.topicExpandable.setVisibility(View.VISIBLE);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up_accent_24dp);
} else {
topicViewHolder.topicExpandable.setVisibility(View.GONE);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down_accent_24dp);
}
topicViewHolder.showHideExpandable.setOnClickListener(new View.OnClickListener() {
@Override
@ -220,10 +220,10 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
getAdapterPosition() - parsedSubBoards.size() - 2);
if (visible) {
topicViewHolder.topicExpandable.setVisibility(View.GONE);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_down_accent_24dp);
} else {
topicViewHolder.topicExpandable.setVisibility(View.VISIBLE);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up);
topicViewHolder.showHideExpandable.setImageResource(R.drawable.ic_arrow_drop_up_accent_24dp);
}
topicExpandableVisibility.set(topicViewHolder.getAdapterPosition() -
parsedSubBoards.size() - 2, !visible);

8
app/src/main/java/gr/thmmy/mthmmy/activities/downloads/DownloadsAdapter.java

@ -91,10 +91,10 @@ class DownloadsAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
if (downloadExpandableVisibility.get(downloadViewHolder.getAdapterPosition())) {
downloadViewHolder.informationExpandable.setVisibility(View.VISIBLE);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_up);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_up_accent_24dp);
} else {
downloadViewHolder.informationExpandable.setVisibility(View.GONE);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_down);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_down_accent_24dp);
}
downloadViewHolder.informationExpandableBtn.setOnClickListener(new View.OnClickListener() {
@Override
@ -103,10 +103,10 @@ class DownloadsAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
getAdapterPosition());
if (visible) {
downloadViewHolder.informationExpandable.setVisibility(View.GONE);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_down);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_down_accent_24dp);
} else {
downloadViewHolder.informationExpandable.setVisibility(View.VISIBLE);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_up);
downloadViewHolder.informationExpandableBtn.setImageResource(R.drawable.ic_arrow_drop_up_accent_24dp);
}
downloadExpandableVisibility.set(downloadViewHolder.getAdapterPosition(), !visible);
}

8
app/src/main/java/gr/thmmy/mthmmy/activities/profile/ProfileActivity.java

@ -124,9 +124,9 @@ public class ProfileActivity extends BaseActivity implements LatestPostsFragment
.resize(THUMBNAIL_SIZE, THUMBNAIL_SIZE)
.centerCrop()
.error(ResourcesCompat.getDrawable(this.getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.placeholder(ResourcesCompat.getDrawable(this.getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.transform(new CircleTransform())
.into(thumbnailView);
usernameView = findViewById(R.id.profile_activity_username);
@ -310,9 +310,9 @@ public class ProfileActivity extends BaseActivity implements LatestPostsFragment
.resize(THUMBNAIL_SIZE, THUMBNAIL_SIZE)
.centerCrop()
.error(ResourcesCompat.getDrawable(getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.placeholder(ResourcesCompat.getDrawable(getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.transform(new CircleTransform())
.into(thumbnailView);
if (personalText != null) {

16
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicAdapter.java

@ -204,9 +204,9 @@ class TopicAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
.resize(THUMBNAIL_SIZE, THUMBNAIL_SIZE)
.centerCrop()
.error(ResourcesCompat.getDrawable(context.getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.placeholder(ResourcesCompat.getDrawable(context.getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.transform(new CircleTransform())
.into(holder.thumbnail);
@ -480,9 +480,9 @@ class TopicAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
holder.quoteToggle.setVisibility(View.GONE);
} else {
if (viewProperties.get(position)[isQuoteButtonChecked])
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_checked);
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_checked_accent_24dp);
else
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked);
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked_grey_24dp);
//Sets graphics behavior
holder.quoteToggle.setOnClickListener(new View.OnClickListener() {
@Override
@ -493,10 +493,10 @@ class TopicAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
toQuoteList.remove(toQuoteList.indexOf(postsList.indexOf(currentPost)));
} else
Timber.i("An error occurred while trying to exclude post fromtoQuoteList, post wasn't there!");
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked);
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked_grey_24dp);
} else {
toQuoteList.add(postsList.indexOf(currentPost));
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_checked);
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_checked_accent_24dp);
}
tmp[isQuoteButtonChecked] = !tmp[isQuoteButtonChecked];
viewProperties.set(holder.getAdapterPosition(), tmp);
@ -512,9 +512,9 @@ class TopicAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
.resize(THUMBNAIL_SIZE, THUMBNAIL_SIZE)
.centerCrop()
.error(ResourcesCompat.getDrawable(context.getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.placeholder(ResourcesCompat.getDrawable(context.getResources()
, R.drawable.ic_default_user_thumbnail, null))
, R.drawable.ic_default_user_thumbnail_white_24dp, null))
.transform(new CircleTransform())
.into(holder.thumbnail);
holder.username.setText(getSessionManager().getUsername());

8
app/src/main/java/gr/thmmy/mthmmy/base/BaseActivity.java

@ -106,15 +106,15 @@ public abstract class BaseActivity extends AppCompatActivity {
if (bookmarked == null) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
bookmarked = getResources().getDrawable(R.drawable.ic_bookmark_true, null);
bookmarked = getResources().getDrawable(R.drawable.ic_bookmark_true_accent_24dp, null);
} else //noinspection deprecation
bookmarked = getResources().getDrawable(R.drawable.ic_bookmark_true);
bookmarked = getResources().getDrawable(R.drawable.ic_bookmark_true_accent_24dp);
}
if (notBookmarked == null) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
notBookmarked = getResources().getDrawable(R.drawable.ic_bookmark_false, null);
notBookmarked = getResources().getDrawable(R.drawable.ic_bookmark_false_accent_24dp, null);
} else //noinspection deprecation
notBookmarked = getResources().getDrawable(R.drawable.ic_bookmark_false);
notBookmarked = getResources().getDrawable(R.drawable.ic_bookmark_false_accent_24dp);
}
if (topicsBookmarked == null || boardsBookmarked == null) {
bookmarksFile = getSharedPreferences(BOOKMARKS_SHARED_PREFS, Context.MODE_PRIVATE);

BIN
app/src/main/res/drawable-hdpi/ic_arrow_drop_down.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

BIN
app/src/main/res/drawable-hdpi/ic_arrow_drop_up.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

BIN
app/src/main/res/drawable-hdpi/ic_bookmark_false.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

BIN
app/src/main/res/drawable-hdpi/ic_bookmark_true.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

BIN
app/src/main/res/drawable-hdpi/ic_delete_accent.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

BIN
app/src/main/res/drawable-hdpi/ic_delete_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

BIN
app/src/main/res/drawable-hdpi/ic_file_upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

BIN
app/src/main/res/drawable-hdpi/ic_format_quote_checked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

BIN
app/src/main/res/drawable-hdpi/ic_format_quote_unchecked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

BIN
app/src/main/res/drawable-hdpi/ic_info.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 B

BIN
app/src/main/res/drawable-hdpi/ic_insert_drive_file.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

BIN
app/src/main/res/drawable-hdpi/ic_more_vert.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

BIN
app/src/main/res/drawable-hdpi/ic_send.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 B

BIN
app/src/main/res/drawable-hdpi/ic_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

BIN
app/src/main/res/drawable-mdpi/ic_arrow_drop_down.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

BIN
app/src/main/res/drawable-mdpi/ic_arrow_drop_up.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

BIN
app/src/main/res/drawable-mdpi/ic_bookmark_false.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

BIN
app/src/main/res/drawable-mdpi/ic_bookmark_true.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

BIN
app/src/main/res/drawable-mdpi/ic_delete_accent.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

BIN
app/src/main/res/drawable-mdpi/ic_delete_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

BIN
app/src/main/res/drawable-mdpi/ic_file_upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

BIN
app/src/main/res/drawable-mdpi/ic_format_quote_checked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

BIN
app/src/main/res/drawable-mdpi/ic_format_quote_unchecked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

BIN
app/src/main/res/drawable-mdpi/ic_info.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 B

BIN
app/src/main/res/drawable-mdpi/ic_insert_drive_file.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

BIN
app/src/main/res/drawable-mdpi/ic_more_vert.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 B

BIN
app/src/main/res/drawable-mdpi/ic_send.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

BIN
app/src/main/res/drawable-mdpi/ic_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

BIN
app/src/main/res/drawable-xhdpi/ic_arrow_drop_down.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

BIN
app/src/main/res/drawable-xhdpi/ic_arrow_drop_up.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

BIN
app/src/main/res/drawable-xhdpi/ic_bookmark_false.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

BIN
app/src/main/res/drawable-xhdpi/ic_bookmark_true.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

BIN
app/src/main/res/drawable-xhdpi/ic_delete_accent.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 B

BIN
app/src/main/res/drawable-xhdpi/ic_delete_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

BIN
app/src/main/res/drawable-xhdpi/ic_file_upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 B

BIN
app/src/main/res/drawable-xhdpi/ic_format_quote_checked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

BIN
app/src/main/res/drawable-xhdpi/ic_format_quote_unchecked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

BIN
app/src/main/res/drawable-xhdpi/ic_info.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 796 B

BIN
app/src/main/res/drawable-xhdpi/ic_insert_drive_file.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

BIN
app/src/main/res/drawable-xhdpi/ic_more_vert.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

BIN
app/src/main/res/drawable-xhdpi/ic_send.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 B

BIN
app/src/main/res/drawable-xhdpi/ic_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

BIN
app/src/main/res/drawable-xxhdpi/ic_arrow_drop_down.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 B

BIN
app/src/main/res/drawable-xxhdpi/ic_arrow_drop_up.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

BIN
app/src/main/res/drawable-xxhdpi/ic_bookmark_false.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

BIN
app/src/main/res/drawable-xxhdpi/ic_bookmark_true.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

BIN
app/src/main/res/drawable-xxhdpi/ic_delete_accent.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 B

BIN
app/src/main/res/drawable-xxhdpi/ic_delete_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

BIN
app/src/main/res/drawable-xxhdpi/ic_file_upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

BIN
app/src/main/res/drawable-xxhdpi/ic_format_quote_checked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

BIN
app/src/main/res/drawable-xxhdpi/ic_format_quote_unchecked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 B

BIN
app/src/main/res/drawable-xxhdpi/ic_info.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
app/src/main/res/drawable-xxhdpi/ic_insert_drive_file.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B

BIN
app/src/main/res/drawable-xxhdpi/ic_more_vert.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

BIN
app/src/main/res/drawable-xxhdpi/ic_send.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

BIN
app/src/main/res/drawable-xxhdpi/ic_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
app/src/main/res/drawable-xxxhdpi/ic_arrow_drop_down.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_arrow_drop_up.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 432 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_bookmark_false.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_bookmark_true.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_delete_accent.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_delete_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_file_upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_format_quote_checked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_format_quote_unchecked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_info.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

BIN
app/src/main/res/drawable-xxxhdpi/ic_insert_drive_file.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_more_vert.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_send.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

5
app/src/main/res/drawable/ic_arrow_drop_down_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M7,10l5,5 5,-5z"/>
</vector>

5
app/src/main/res/drawable/ic_arrow_drop_up_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M7,14l5,-5 5,5z"/>
</vector>

5
app/src/main/res/drawable/ic_bookmark_false_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M17,3L7,3c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3L19,5c0,-1.1 -0.9,-2 -2,-2zM17,18l-5,-2.18L7,18L7,5h10v13z"/>
</vector>

5
app/src/main/res/drawable/ic_bookmark_true_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M17,3H7c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3V5c0,-1.1 -0.9,-2 -2,-2z"/>
</vector>

BIN
app/src/main/res/drawable/ic_default_user_thumbnail.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

5
app/src/main/res/drawable/ic_default_user_thumbnail_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
</vector>

5
app/src/main/res/drawable/ic_delete_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7H6v12zM19,4h-3.5l-1,-1h-5l-1,1H5v2h14V4z"/>
</vector>

5
app/src/main/res/drawable/ic_delete_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7H6v12zM19,4h-3.5l-1,-1h-5l-1,1H5v2h14V4z"/>
</vector>

11
app/src/main/res/drawable/ic_file_upload.xml

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="24.0"
android:viewportWidth="24.0">
<path
android:fillColor="#FFFFFF"
android:pathData="M9,16h6v-6h4l-7,-7 -7,7h4zM5,18h14v2L5,20z"/>
</vector>

5
app/src/main/res/drawable/ic_file_upload_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M9,16h6v-6h4l-7,-7 -7,7h4zM5,18h14v2L5,20z"/>
</vector>

5
app/src/main/res/drawable/ic_format_quote_checked_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M6,17h3l2,-4L11,7L5,7v6h3zM14,17h3l2,-4L19,7h-6v6h3z"/>
</vector>

5
app/src/main/res/drawable/ic_format_quote_unchecked_grey_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#4B4B4B"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M6,17h3l2,-4L11,7L5,7v6h3zM14,17h3l2,-4L19,7h-6v6h3z"/>
</vector>

5
app/src/main/res/drawable/ic_info_outline_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M11,17h2v-6h-2v6zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM11,9h2L13,7h-2v2z"/>
</vector>

5
app/src/main/res/drawable/ic_insert_drive_file_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M6,2c-1.1,0 -1.99,0.9 -1.99,2L4,20c0,1.1 0.89,2 1.99,2L18,22c1.1,0 2,-0.9 2,-2L20,8l-6,-6L6,2zM13,9L13,3.5L18.5,9L13,9z"/>
</vector>

5
app/src/main/res/drawable/ic_more_vert_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z"/>
</vector>

5
app/src/main/res/drawable/ic_send_accent_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="@color/accent"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M2.01,21L23,12 2.01,3 2,10l15,2 -15,2z"/>
</vector>

5
app/src/main/res/drawable/ic_share_white_24dp.xml

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 2.92,-2.92s-1.31,-2.92 -2.92,-2.92z"/>
</vector>

2
app/src/main/res/layout-v21/activity_profile.xml

@ -41,7 +41,7 @@
android:adjustViewBounds="true"
android:contentDescription="@string/post_thumbnail"
android:fitsSystemWindows="true"
android:src="@drawable/ic_default_user_thumbnail"
app:srcCompat="@drawable/ic_default_user_thumbnail_white_24dp"
android:transitionName="user_thumbnail"
app:layout_collapseMode="parallax"/>

7
app/src/main/res/layout-v21/activity_topic_post_row.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -59,7 +60,7 @@
android:contentDescription="@string/post_thumbnail"
android:maxHeight="@dimen/thumbnail_size"
android:maxWidth="@dimen/thumbnail_size"
android:src="@drawable/ic_default_user_thumbnail"
app:srcCompat="@drawable/ic_default_user_thumbnail_white_24dp"
android:transitionName="user_thumbnail" />
</FrameLayout>
@ -94,7 +95,7 @@
android:clickable="true"
android:contentDescription="@string/post_quote_button"
android:focusable="true"
android:src="@drawable/ic_format_quote_unchecked" />
app:srcCompat="@drawable/ic_format_quote_unchecked_grey_24dp" />
<!--<ImageButton
android:id="@+id/post_share_button"
android:layout_width="@dimen/post_image_button"
@ -116,7 +117,7 @@
android:clickable="true"
android:contentDescription="@string/post_overflow_menu_button"
android:focusable="true"
android:src="@drawable/ic_more_vert" />
app:srcCompat="@drawable/ic_more_vert_white_24dp" />
</LinearLayout>
<LinearLayout

2
app/src/main/res/layout/activity_board.xml

@ -31,7 +31,7 @@
android:layout_marginEnd="4dp"
android:background="@null"
android:contentDescription="@string/bookmark"
android:src="@drawable/ic_bookmark_false"/>
app:srcCompat="@drawable/ic_bookmark_false_accent_24dp"/>
</android.support.v7.widget.Toolbar>
</android.support.design.widget.AppBarLayout>

3
app/src/main/res/layout/activity_board_sub_board.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/card_background"
@ -40,7 +41,7 @@
android:layout_height="wrap_content"
android:background="@null"
android:contentDescription="@string/child_board_button"
android:src="@drawable/ic_arrow_drop_down" />
app:srcCompat="@drawable/ic_arrow_drop_down_accent_24dp" />
</LinearLayout>
<LinearLayout

3
app/src/main/res/layout/activity_board_topic.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/topic_row_linear"
android:layout_width="match_parent"
@ -47,7 +48,7 @@
android:layout_height="wrap_content"
android:background="@null"
android:contentDescription="@string/child_board_button"
android:src="@drawable/ic_arrow_drop_down" />
app:srcCompat="@drawable/ic_arrow_drop_down_accent_24dp" />
</LinearLayout>
<LinearLayout

2
app/src/main/res/layout/activity_downloads.xml

@ -56,7 +56,7 @@
android:layout_marginBottom="@dimen/fab_margins"
android:layout_marginEnd="@dimen/fab_margins"
app:layout_behavior="gr.thmmy.mthmmy.utils.ScrollAwareFABBehavior"
app:srcCompat="@drawable/ic_file_upload"/>
app:srcCompat="@drawable/ic_file_upload_white_24dp"/>
</android.support.design.widget.CoordinatorLayout>

3
app/src/main/res/layout/activity_downloads_row.xml

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/upper_linear"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -43,7 +44,7 @@
android:layout_height="wrap_content"
android:background="@null"
android:contentDescription="@string/child_board_button"
android:src="@drawable/ic_arrow_drop_down"/>
app:srcCompat="@drawable/ic_arrow_drop_down_accent_24dp"/>
</LinearLayout>
<LinearLayout

2
app/src/main/res/layout/activity_profile.xml

@ -41,7 +41,7 @@
android:adjustViewBounds="true"
android:contentDescription="@string/post_thumbnail"
android:fitsSystemWindows="true"
android:src="@drawable/ic_default_user_thumbnail"
app:srcCompat="@drawable/ic_default_user_thumbnail_white_24dp"
app:layout_collapseMode="parallax"/>
<TextView

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save