Browse Source

parametrize topic post/edit/reply icon colors

pull/45/head
Thodoris1999 6 years ago
parent
commit
f8cf474ee4
  1. 4
      app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicAdapter.java
  2. 8
      app/src/main/java/gr/thmmy/mthmmy/editorview/EditorView.java
  3. 2
      app/src/main/res/drawable/ic_code.xml
  4. 2
      app/src/main/res/drawable/ic_format_align_center.xml
  5. 2
      app/src/main/res/drawable/ic_format_align_left.xml
  6. 2
      app/src/main/res/drawable/ic_format_align_right.xml
  7. 2
      app/src/main/res/drawable/ic_format_bold.xml
  8. 2
      app/src/main/res/drawable/ic_format_color_text.xml
  9. 2
      app/src/main/res/drawable/ic_format_italic.xml
  10. 2
      app/src/main/res/drawable/ic_format_list_bulleted.xml
  11. 2
      app/src/main/res/drawable/ic_format_quote.xml
  12. 2
      app/src/main/res/drawable/ic_format_quote_unchecked_24dp.xml
  13. 2
      app/src/main/res/drawable/ic_format_size.xml
  14. 2
      app/src/main/res/drawable/ic_format_underlined.xml
  15. 2
      app/src/main/res/drawable/ic_functions.xml
  16. 2
      app/src/main/res/drawable/ic_insert_link.xml
  17. 2
      app/src/main/res/drawable/ic_keyboard_24dp.xml
  18. 2
      app/src/main/res/drawable/ic_strikethrough_s.xml
  19. 2
      app/src/main/res/drawable/ic_tag_faces_24dp.xml
  20. 2
      app/src/main/res/drawable/ic_text_format.xml
  21. 2
      app/src/main/res/layout-v21/activity_topic_post_row.xml
  22. 2
      app/src/main/res/layout/activity_topic_post_row.xml
  23. 30
      app/src/main/res/layout/editor_view.xml
  24. 1
      app/src/main/res/values/colors.xml

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

@ -430,14 +430,14 @@ class TopicAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
if (viewModel.getToQuoteList().contains(currentPost.getPostIndex()))
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_checked_accent_24dp);
else
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked_grey_24dp);
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked_24dp);
//Sets graphics behavior
holder.quoteToggle.setOnClickListener(view -> {
viewModel.postIndexToggle(currentPost.getPostIndex());
if (viewModel.getToQuoteList().contains(currentPost.getPostIndex()))
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_checked_accent_24dp);
else
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked_grey_24dp);
holder.quoteToggle.setImageResource(R.drawable.ic_format_quote_unchecked_24dp);
});
}
} else if (currentHolder instanceof QuickReplyViewHolder) {

8
app/src/main/java/gr/thmmy/mthmmy/editorview/EditorView.java

@ -83,11 +83,11 @@ public class EditorView extends LinearLayout {
if (emojiKeyboardOwner.isEmojiKeyboardVisible()) {
editText.requestFocus();
imm.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT);
emojiButton.setImageResource(R.drawable.ic_tag_faces_grey_24dp);
emojiButton.setImageResource(R.drawable.ic_tag_faces_24dp);
} else {
imm.hideSoftInputFromWindow(getWindowToken(), 0);
view.clearFocus();
emojiButton.setImageResource(R.drawable.ic_keyboard_grey_24dp);
emojiButton.setImageResource(R.drawable.ic_keyboard_24dp);
}
emojiKeyboardOwner.setEmojiKeyboardVisible(!emojiKeyboardOwner.isEmojiKeyboardVisible());
});
@ -276,8 +276,8 @@ public class EditorView extends LinearLayout {
public void updateEmojiKeyboardVisibility() {
if (emojiKeyboardOwner.isEmojiKeyboardVisible())
emojiButton.setImageResource(R.drawable.ic_keyboard_grey_24dp);
emojiButton.setImageResource(R.drawable.ic_keyboard_24dp);
else
emojiButton.setImageResource(R.drawable.ic_tag_faces_grey_24dp);
emojiButton.setImageResource(R.drawable.ic_tag_faces_24dp);
}
}

2
app/src/main/res/drawable/ic_code_grey.xml → app/src/main/res/drawable/ic_code.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M9.4,16.6L4.8,12l4.6,-4.6L8,6l-6,6 6,6 1.4,-1.4zM14.6,16.6l4.6,-4.6 -4.6,-4.6L16,6l6,6 -6,6 -1.4,-1.4z"/>

2
app/src/main/res/drawable/ic_format_align_center_grey.xml → app/src/main/res/drawable/ic_format_align_center.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M7,15v2h10v-2L7,15zM3,21h18v-2L3,19v2zM3,13h18v-2L3,11v2zM7,7v2h10L17,7L7,7zM3,3v2h18L21,3L3,3z"/>

2
app/src/main/res/drawable/ic_format_align_left_grey.xml → app/src/main/res/drawable/ic_format_align_left.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M15,15L3,15v2h12v-2zM15,7L3,7v2h12L15,7zM3,13h18v-2L3,11v2zM3,21h18v-2L3,19v2zM3,3v2h18L21,3L3,3z"/>

2
app/src/main/res/drawable/ic_format_align_right_grey.xml → app/src/main/res/drawable/ic_format_align_right.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M3,21h18v-2L3,19v2zM9,17h12v-2L9,15v2zM3,13h18v-2L3,11v2zM9,9h12L21,7L9,7v2zM3,3v2h18L21,3L3,3z"/>

2
app/src/main/res/drawable/ic_format_bold_grey.xml → app/src/main/res/drawable/ic_format_bold.xml

@ -4,6 +4,6 @@
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF4B4B4B"
android:fillColor="@color/topic_post_icon"
android:pathData="M15.6,10.79c0.97,-0.67 1.65,-1.77 1.65,-2.79 0,-2.26 -1.75,-4 -4,-4L7,4v14h7.04c2.09,0 3.71,-1.7 3.71,-3.79 0,-1.52 -0.86,-2.82 -2.15,-3.42zM10,6.5h3c0.83,0 1.5,0.67 1.5,1.5s-0.67,1.5 -1.5,1.5h-3v-3zM13.5,15.5L10,15.5v-3h3.5c0.83,0 1.5,0.67 1.5,1.5s-0.67,1.5 -1.5,1.5z"/>
</vector>

2
app/src/main/res/drawable/ic_format_color_text.xml

@ -2,5 +2,5 @@
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha=".36" android:fillColor="@color/colorAccent" android:pathData="M0,20h24v4H0z"/>
<path android:fillColor="#FF4B4B4B" android:pathData="M11,3L5.5,17h2.25l1.12,-3h6.25l1.12,3h2.25L13,3h-2zM9.62,12L12,5.67 14.38,12L9.62,12z"/>
<path android:fillColor="@color/topic_post_icon" android:pathData="M11,3L5.5,17h2.25l1.12,-3h6.25l1.12,3h2.25L13,3h-2zM9.62,12L12,5.67 14.38,12L9.62,12z"/>
</vector>

2
app/src/main/res/drawable/ic_format_italic_grey.xml → app/src/main/res/drawable/ic_format_italic.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:viewportHeight="24.0"
android:viewportWidth="24.0" android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF4B4B4B" android:pathData="M10,4v3h2.21l-3.42,8H6v3h8v-3h-2.21l3.42,-8H18V4z"/>
<path android:fillColor="@color/topic_post_icon" android:pathData="M10,4v3h2.21l-3.42,8H6v3h8v-3h-2.21l3.42,-8H18V4z"/>
</vector>

2
app/src/main/res/drawable/ic_format_list_bulleted_black.xml → app/src/main/res/drawable/ic_format_list_bulleted.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M4,10.5c-0.83,0 -1.5,0.67 -1.5,1.5s0.67,1.5 1.5,1.5 1.5,-0.67 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM4,4.5c-0.83,0 -1.5,0.67 -1.5,1.5S3.17,7.5 4,7.5 5.5,6.83 5.5,6 4.83,4.5 4,4.5zM4,16.5c-0.83,0 -1.5,0.68 -1.5,1.5s0.68,1.5 1.5,1.5 1.5,-0.68 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM7,19h14v-2L7,17v2zM7,13h14v-2L7,11v2zM7,5v2h14L21,5L7,5z"/>

2
app/src/main/res/drawable/ic_format_quote_grey.xml → app/src/main/res/drawable/ic_format_quote.xml

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

2
app/src/main/res/drawable/ic_format_quote_unchecked_grey_24dp.xml → app/src/main/res/drawable/ic_format_quote_unchecked_24dp.xml

@ -1,4 +1,4 @@
<vector android:height="24dp" android:tint="#4B4B4B"
<vector android:height="24dp" android:tint="@color/topic_post_icon"
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"/>

2
app/src/main/res/drawable/ic_format_size_black.xml → app/src/main/res/drawable/ic_format_size.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M9,4v3h5v12h3L17,7h5L22,4L9,4zM3,12h3v7h3v-7h3L12,9L3,9v3z"/>

2
app/src/main/res/drawable/ic_format_underlined_grey.xml → app/src/main/res/drawable/ic_format_underlined.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,17c3.31,0 6,-2.69 6,-6L18,3h-2.5v8c0,1.93 -1.57,3.5 -3.5,3.5S8.5,12.93 8.5,11L8.5,3L6,3v8c0,3.31 2.69,6 6,6zM5,19v2h14v-2L5,19z"/>

2
app/src/main/res/drawable/ic_functions_black.xml → app/src/main/res/drawable/ic_functions.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M18,4H6v2l6.5,6L6,18v2h12v-3h-7l5,-5 -5,-5h7z"/>

2
app/src/main/res/drawable/ic_insert_link_grey.xml → app/src/main/res/drawable/ic_insert_link.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M3.9,12c0,-1.71 1.39,-3.1 3.1,-3.1h4L11,7L7,7c-2.76,0 -5,2.24 -5,5s2.24,5 5,5h4v-1.9L7,15.1c-1.71,0 -3.1,-1.39 -3.1,-3.1zM8,13h8v-2L8,11v2zM17,7h-4v1.9h4c1.71,0 3.1,1.39 3.1,3.1s-1.39,3.1 -3.1,3.1h-4L13,17h4c2.76,0 5,-2.24 5,-5s-2.24,-5 -5,-5z"/>

2
app/src/main/res/drawable/ic_keyboard_grey_24dp.xml → app/src/main/res/drawable/ic_keyboard_24dp.xml

@ -1,4 +1,4 @@
<vector android:height="24dp" android:tint="#4B4B4B"
<vector android:height="24dp" android:tint="@color/topic_post_icon"
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="M20,5L4,5c-1.1,0 -1.99,0.9 -1.99,2L2,17c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,7c0,-1.1 -0.9,-2 -2,-2zM11,8h2v2h-2L11,8zM11,11h2v2h-2v-2zM8,8h2v2L8,10L8,8zM8,11h2v2L8,13v-2zM7,13L5,13v-2h2v2zM7,10L5,10L5,8h2v2zM16,17L8,17v-2h8v2zM16,13h-2v-2h2v2zM16,10h-2L14,8h2v2zM19,13h-2v-2h2v2zM19,10h-2L17,8h2v2z"/>

2
app/src/main/res/drawable/ic_strikethrough_s_grey.xml → app/src/main/res/drawable/ic_strikethrough_s.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#010101" android:pathData="M7.24,8.75c-0.26,-0.48 -0.39,-1.03 -0.39,-1.67 0,-0.61 0.13,-1.16 0.4,-1.67 0.26,-0.5 0.63,-0.93 1.11,-1.29 0.48,-0.35 1.05,-0.63 1.7,-0.83 0.66,-0.19 1.39,-0.29 2.18,-0.29 0.81,0 1.54,0.11 2.21,0.34 0.66,0.22 1.23,0.54 1.69,0.94 0.47,0.4 0.83,0.88 1.08,1.43 0.25,0.55 0.38,1.15 0.38,1.81h-3.01c0,-0.31 -0.05,-0.59 -0.15,-0.85 -0.09,-0.27 -0.24,-0.49 -0.44,-0.68 -0.2,-0.19 -0.45,-0.33 -0.75,-0.44 -0.3,-0.1 -0.66,-0.16 -1.06,-0.16 -0.39,0 -0.74,0.04 -1.03,0.13 -0.29,0.09 -0.53,0.21 -0.72,0.36 -0.19,0.16 -0.34,0.34 -0.44,0.55 -0.1,0.21 -0.15,0.43 -0.15,0.66 0,0.48 0.25,0.88 0.74,1.21 0.38,0.25 0.77,0.48 1.41,0.7H7.39c-0.05,-0.08 -0.11,-0.17 -0.15,-0.25zM21,12v-2H3v2h9.62c0.18,0.07 0.4,0.14 0.55,0.2 0.37,0.17 0.66,0.34 0.87,0.51 0.21,0.17 0.35,0.36 0.43,0.57 0.07,0.2 0.11,0.43 0.11,0.69 0,0.23 -0.05,0.45 -0.14,0.66 -0.09,0.2 -0.23,0.38 -0.42,0.53 -0.19,0.15 -0.42,0.26 -0.71,0.35 -0.29,0.08 -0.63,0.13 -1.01,0.13 -0.43,0 -0.83,-0.04 -1.18,-0.13s-0.66,-0.23 -0.91,-0.42c-0.25,-0.19 -0.45,-0.44 -0.59,-0.75 -0.14,-0.31 -0.25,-0.76 -0.25,-1.21H6.4c0,0.55 0.08,1.13 0.24,1.58 0.16,0.45 0.37,0.85 0.65,1.21 0.28,0.35 0.6,0.66 0.98,0.92 0.37,0.26 0.78,0.48 1.22,0.65 0.44,0.17 0.9,0.3 1.38,0.39 0.48,0.08 0.96,0.13 1.44,0.13 0.8,0 1.53,-0.09 2.18,-0.28s1.21,-0.45 1.67,-0.79c0.46,-0.34 0.82,-0.77 1.07,-1.27s0.38,-1.07 0.38,-1.71c0,-0.6 -0.1,-1.14 -0.31,-1.61 -0.05,-0.11 -0.11,-0.23 -0.17,-0.33H21z"/>

2
app/src/main/res/drawable/ic_tag_faces_grey_24dp.xml → app/src/main/res/drawable/ic_tag_faces_24dp.xml

@ -1,4 +1,4 @@
<vector android:height="24dp" android:tint="#4B4B4B"
<vector android:height="24dp" android:tint="@color/topic_post_icon"
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.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8zM15.5,11c0.83,0 1.5,-0.67 1.5,-1.5S16.33,8 15.5,8 14,8.67 14,9.5s0.67,1.5 1.5,1.5zM8.5,11c0.83,0 1.5,-0.67 1.5,-1.5S9.33,8 8.5,8 7,8.67 7,9.5 7.67,11 8.5,11zM12,17.5c2.33,0 4.31,-1.46 5.11,-3.5L6.89,14c0.8,2.04 2.78,3.5 5.11,3.5z"/>

2
app/src/main/res/drawable/ic_text_format_grey.xml → app/src/main/res/drawable/ic_text_format.xml

@ -1,4 +1,4 @@
<vector android:height="@dimen/editor_format_button_size" android:tint="#4B4B4B"
<vector android:height="@dimen/editor_format_button_size" android:tint="@color/topic_post_icon"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="@dimen/editor_format_button_size" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M5,17v2h14v-2L5,17zM9.5,12.8h5l0.9,2.2h2.1L12.75,4h-1.5L6.5,15h2.1l0.9,-2.2zM12,5.98L13.87,11h-3.74L12,5.98z"/>

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

@ -95,7 +95,7 @@
android:clickable="true"
android:contentDescription="@string/post_quote_button"
android:focusable="true"
app:srcCompat="@drawable/ic_format_quote_unchecked_grey_24dp" />
app:srcCompat="@drawable/ic_format_quote_unchecked_24dp" />
<!--<ImageButton
android:id="@+id/post_share_button"
android:layout_width="@dimen/post_image_button"

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

@ -94,7 +94,7 @@
android:clickable="true"
android:contentDescription="@string/post_quote_button"
android:focusable="true"
app:srcCompat="@drawable/ic_format_quote_unchecked_grey_24dp" />
app:srcCompat="@drawable/ic_format_quote_unchecked_24dp" />
<!--<ImageButton
android:id="@+id/post_share_button"
android:layout_width="@dimen/post_image_button"

30
app/src/main/res/layout/editor_view.xml

@ -15,7 +15,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_bold_grey"
app:srcCompat="@drawable/ic_format_bold"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -23,7 +23,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_italic_grey"
app:srcCompat="@drawable/ic_format_italic"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -31,7 +31,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_underlined_grey"
app:srcCompat="@drawable/ic_format_underlined"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -39,7 +39,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_strikethrough_s_grey"
app:srcCompat="@drawable/ic_strikethrough_s"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -55,7 +55,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_size_black"
app:srcCompat="@drawable/ic_format_size"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -63,7 +63,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_text_format_grey"
app:srcCompat="@drawable/ic_text_format"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -71,7 +71,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_list_bulleted_black"
app:srcCompat="@drawable/ic_format_list_bulleted"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -79,7 +79,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_align_left_grey"
app:srcCompat="@drawable/ic_format_align_left"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -87,7 +87,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_align_center_grey"
app:srcCompat="@drawable/ic_format_align_center"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -95,7 +95,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_align_right_grey"
app:srcCompat="@drawable/ic_format_align_right"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -103,7 +103,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_insert_link_grey"
app:srcCompat="@drawable/ic_insert_link"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -111,7 +111,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_format_quote_unchecked_grey_24dp"
app:srcCompat="@drawable/ic_format_quote_unchecked_24dp"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -119,7 +119,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_code_grey"
app:srcCompat="@drawable/ic_code"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton
@ -127,7 +127,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/editor_format_button_margin_between"
app:srcCompat="@drawable/ic_functions_black"
app:srcCompat="@drawable/ic_functions"
android:background="?android:selectableItemBackground"/>
</gr.thmmy.mthmmy.editorview.AutoFitGridLayout>
@ -156,7 +156,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:padding="4dp"
app:srcCompat="@drawable/ic_tag_faces_grey_24dp"
app:srcCompat="@drawable/ic_tag_faces_24dp"
android:background="?android:selectableItemBackground"/>
<android.support.v7.widget.AppCompatImageButton

1
app/src/main/res/values/colors.xml

@ -25,4 +25,5 @@
<color name="dialog_bg_semi_transparent">#D926A69A</color>
<color name="dialog_bg_semi_transparent_dark">#D92B2B2B</color>
<color name="member_of_the_month">#E91E63</color>
<color name="topic_post_icon">@color/primary_text</color>
</resources>

Loading…
Cancel
Save