阅读记录添加最后阅读时间
This commit is contained in:
@@ -21,16 +21,50 @@
|
||||
tools:ignore="RtlHardcoded" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_read_time"
|
||||
android:id="@+id/tv_reading_time_tag"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="6dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/reading_time_tag"
|
||||
android:textColor="@color/secondaryText"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_book_name" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_reading_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="6dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/secondaryText"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_reading_time_tag"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_book_name"
|
||||
app:layout_constraintRight_toLeftOf="@+id/tv_remove"
|
||||
tools:text="time" />
|
||||
tools:text="readingTime" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_last_read_time_tag"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="6dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/last_read_time_tag"
|
||||
android:textColor="@color/secondaryText"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_reading_time_tag" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_last_read_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="6dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/secondaryText"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tv_last_read_time_tag"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_reading_time_tag"
|
||||
app:layout_constraintRight_toLeftOf="@+id/tv_remove"
|
||||
tools:text="readingTime" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_remove"
|
||||
@@ -40,7 +74,7 @@
|
||||
android:text="@string/clear"
|
||||
android:textColor="@color/primaryText"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/tv_book_name"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_read_time" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user