Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
fix movie detail tag and title ui bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan2046 committed May 5, 2020
1 parent 8b46dc7 commit a9df488
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions movie/src/main/res/layout/lion_item_movie_detail_title.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,6 @@
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title_tv"
android:textIsSelectable="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/space_normal_16"
android:ellipsize="end"
android:letterSpacing="0.08"
android:maxLines="2"
android:textColor="@color/text_primary_dark"
android:textSize="@dimen/text_large_20" />

<TextView
android:id="@+id/tag_tv"
app:layout_constraintTop_toTopOf="parent"
Expand All @@ -37,6 +23,23 @@
android:textSize="11sp"
tools:ignore="SmallSp" />

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title_tv"
android:textIsSelectable="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/tag_tv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/space_normal_16"
android:ellipsize="end"
android:letterSpacing="0.08"
android:maxLines="2"
android:textColor="@color/text_primary_dark"
android:textSize="@dimen/text_large_20" />



<Space
app:layout_constraintTop_toBottomOf="@+id/title_tv"
android:layout_width="match_parent"
Expand Down

0 comments on commit a9df488

Please sign in to comment.