Skip to content

Commit

Permalink
little fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lovejjfg committed Jan 30, 2018
1 parent 5d32960 commit 344222a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ dependencies {
implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'
implementation 'com.jakewharton:butterknife:8.8.1'
kapt 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.lovejjfg.powertext:lib:0.0.3'
implementation 'com.lovejjfg.powertext:lib:0.0.4'
}

apply plugin: 'com.google.gms.google-services'
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class NormalTopicAdapter : PowerAdapter<DataItem>() {
}
itemBinding!!.tvDes.setOriginalText(t?.summary)
itemBinding!!.tvDes.isExpanded = t?.isExband!!
itemBinding!!.tvDes.setOnClickListener{
itemBinding!!.tvDes.setOnClickListener {
itemView.performClick()
}

Expand Down
5 changes: 3 additions & 2 deletions app/src/main/res/layout/holder_normal_topic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/activity_vertical_margin"
android:clickable="false"
android:duplicateParentState="true"
android:ellipsize="end"
android:focusable="false"
android:lineSpacingExtra="1dp"
android:textColor="@color/theme_color_text_g4"
android:textSize="@dimen/text_des"
app:defaultLineCount="3"
app:defaultMoreHint="查看更多"
app:moreHintColor="@color/colorAccent"
android:clickable="false"
android:focusable="false"
/>


Expand Down

0 comments on commit 344222a

Please sign in to comment.