Fixed comment color in CommentActivity. Minor layout tweaks.

This commit is contained in:
Alex Ning 2019-06-28 11:29:05 +08:00
parent 08bfa254bc
commit 69b08a6d56
2 changed files with 5 additions and 10 deletions

View File

@ -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.error_text_view_item_comment_footer_error) TextView errorTextView;
@BindView(R.id.retry_button_item_comment_footer_error) Button retryButton; @BindView(R.id.retry_button_item_comment_footer_error) Button retryButton;
public LoadMoreCommentsFailedViewHolder(@NonNull View itemView) { LoadMoreCommentsFailedViewHolder(@NonNull View itemView) {
super(itemView); super(itemView);
ButterKnife.bind(this, itemView); ButterKnife.bind(this, itemView);

View File

@ -28,13 +28,6 @@
android:padding="16dp" android:padding="16dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> 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 <ru.noties.markwon.view.MarkwonView
android:id="@+id/comment_parent_markwon_view_comment_activity" android:id="@+id/comment_parent_markwon_view_comment_activity"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -45,11 +38,13 @@
<EditText <EditText
android:id="@+id/comment_edit_text_comment_activity" android:id="@+id/comment_edit_text_comment_activity"
android:layout_width="match_parent" 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:hint="@string/write_comment_hint"
android:inputType="textCapSentences|textMultiLine" android:inputType="textCapSentences|textMultiLine"
android:textSize="18sp" android:textSize="18sp"
android:background="#00000000" /> android:background="#00000000"
android:textColor="@color/primaryTextColor" />
</LinearLayout> </LinearLayout>