dxh 5 years ago
parent
commit
6c90f8e63d

+ 1 - 1
app/src/main/java/com/electric/chargingpile/fragment/SvVideoShowView.java

@ -408,7 +408,7 @@ public class SvVideoShowView implements View.OnClickListener {
408 408
                                upVideoView2.start();
409 409
                            }
410 410
                        })
411
                        .setNegativeButton("取消", null);
411
                        .setNegativeButton("取消", null).show();
412 412
413 413
                break;
414 414
            default:

+ 5 - 0
app/src/main/java/com/electric/chargingpile/view/VideoCommentDialog.java

@ -162,6 +162,11 @@ public class VideoCommentDialog extends Dialog implements View.OnClickListener {
162 162
            @Override
163 163
            public void afterTextChanged(Editable editable) {
164 164
                int i2 = editable.length();
165
                if(i2>200){
166
                    showCommentPublish.setTextColor(Color.parseColor("#E90A0A"));
167
                }else {
168
                    showCommentPublish.setTextColor(Color.parseColor("#ffffff"));
169
                }
165 170
                if (i2 > 0) {
166 171
                    showCommentPublish.setTextColor(Color.parseColor("#00edb2"));
167 172
                } else {

+ 0 - 1
app/src/main/res/layout/view_show_comment.xml

@ -123,7 +123,6 @@
123 123
            android:layout_weight="1"
124 124
            android:background="@drawable/bg_comment_report"
125 125
            android:hint="写评论"
126
            android:maxLength="200"
127 126
            android:minHeight="30dp"
128 127
            android:paddingStart="14dp"
129 128
            android:paddingEnd="14dp"