|
|
|
@ -19,26 +19,43 @@ |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_name" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:padding="3dp" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
android:textSize="15sp" |
|
|
|
|
android:text="@string/book_name" |
|
|
|
|
android:textColor="@color/tv_text_default" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/tv_author" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@id/checkbox" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_group" /> |
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/tv_group_s" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@id/checkbox" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_author" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:padding="3dp" |
|
|
|
|
android:paddingLeft="12dp" |
|
|
|
|
android:paddingRight="8dp" |
|
|
|
|
android:text="@string/author" |
|
|
|
|
android:textColor="@color/tv_text_summary" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tv_name" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/tv_name" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_name" |
|
|
|
|
app:layout_constraintRight_toRightOf="parent" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tv_group_s" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:padding="3dp" |
|
|
|
|
android:hint="@string/no_group" |
|
|
|
|
android:textSize="12sp" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/checkbox" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_name" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_author" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_group" /> |
|
|
|
|
|
|
|
|
@ -49,7 +66,7 @@ |
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless" |
|
|
|
|
android:padding="10dp" |
|
|
|
|
android:text="@string/group" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_author" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_delete" /> |
|
|
|
|
|
|
|
|
@ -60,7 +77,7 @@ |
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless" |
|
|
|
|
android:padding="10dp" |
|
|
|
|
android:text="@string/delete" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_author" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintRight_toRightOf="parent" /> |
|
|
|
|
|
|
|
|
|