aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-06-28 03:29:05 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-06-28 03:29:05 +0000
commit69b08a6d563cef786375e2c18614f5ff9074c641 (patch)
tree8e439ee8c7b52f41eab7ce919b728a8186c115a8
parent08bfa254bcbb2b9b15f0db3c772664427cbd606a (diff)
downloadinfinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.tar
infinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.tar.gz
infinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.tar.bz2
infinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.tar.lz
infinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.tar.xz
infinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.tar.zst
infinity-for-reddit-69b08a6d563cef786375e2c18614f5ff9074c641.zip
Fixed comment color in CommentActivity. Minor layout tweaks.
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/CommentRecyclerViewAdapter.java2
-rw-r--r--app/src/main/res/layout/activity_comment.xml13
2 files changed, 5 insertions, 10 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentRecyclerViewAdapter.java
index b03f7930..b72ec28e 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentRecyclerViewAdapter.java
@@ -1109,7 +1109,7 @@ class CommentRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
@BindView(R.id.error_text_view_item_comment_footer_error) TextView errorTextView;
@BindView(R.id.retry_button_item_comment_footer_error) Button retryButton;
- public LoadMoreCommentsFailedViewHolder(@NonNull View itemView) {
+ LoadMoreCommentsFailedViewHolder(@NonNull View itemView) {
super(itemView);
ButterKnife.bind(this, itemView);
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml
index 4a7be7b0..b664e845 100644
--- a/app/src/main/res/layout/activity_comment.xml
+++ b/app/src/main/res/layout/activity_comment.xml
@@ -28,13 +28,6 @@
android:padding="16dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <!--<TextView
- android:id="@+id/comment_parent_text_view_comment_activity"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:textSize="16sp" />-->
-
<ru.noties.markwon.view.MarkwonView
android:id="@+id/comment_parent_markwon_view_comment_activity"
android:layout_width="match_parent"
@@ -45,11 +38,13 @@
<EditText
android:id="@+id/comment_edit_text_comment_activity"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="top"
android:hint="@string/write_comment_hint"
android:inputType="textCapSentences|textMultiLine"
android:textSize="18sp"
- android:background="#00000000" />
+ android:background="#00000000"
+ android:textColor="@color/primaryTextColor" />
</LinearLayout>