Skip to content

Commit e8728fa

Browse files
committed
Clinet:修改点赞和评论图标命名
1 parent c27f5c3 commit e8728fa

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/res/drawable-hdpi/comment_light.png renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/res/drawable-hdpi/commented.png

File renamed without changes.

APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/res/drawable-hdpi/praise_light.png renamed to APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/res/drawable-hdpi/praised.png

File renamed without changes.

‎APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/res/layout/moment_view.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@
8989
style="@style/img_btn"
9090
android:layout_marginRight="18dp"
9191
android:background="@drawable/bg_item_to_alpha"
92-
android:src="@drawable/praise_light" />
92+
android:src="@drawable/praised" />
9393

9494
<ImageView
9595
android:id="@+id/ivMomentViewComment"
9696
style="@style/img_btn"
9797
android:background="@drawable/bg_item_to_alpha"
98-
android:src="@drawable/comment_light" />
98+
android:src="@drawable/commented" />
9999
</LinearLayout>
100100

101101
<LinearLayout

‎APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/src/apijson/demo/client/view/MomentView.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public void bindView(MomentItem data_){
183183
* @param count
184184
*/
185185
private void setPraise(boolean joined, int count) {
186-
ivMomentViewComment.setImageResource(count <= 0 ? R.drawable.praise : R.drawable.praise_light);
186+
ivMomentViewComment.setImageResource(count <= 0 ? R.drawable.praise : R.drawable.praised);
187187
}
188188

189189
private boolean showComment = true;
@@ -206,7 +206,7 @@ public void setComment(boolean joined, int total, List<CommentItem> list) {
206206
Log.e(TAG, "setComment total < count ! >> total = count;");
207207
total = count;
208208
}
209-
ivMomentViewComment.setImageResource(total <= 0 ? R.drawable.comment : R.drawable.comment_light);
209+
ivMomentViewComment.setImageResource(total <= 0 ? R.drawable.comment : R.drawable.commented);
210210
tvMomentViewCommentMore.setVisibility(showComment && count > 9 ? View.VISIBLE : View.GONE);//total > count
211211

212212
llMomentViewCommentContainer.removeAllViews();

0 commit comments

Comments
 (0)