Skip to content

Commit

Permalink
Update pages thumbnails list
Browse files Browse the repository at this point in the history
  • Loading branch information
Koitharu committed Jun 11, 2020
1 parent 2e69395 commit 1b4a65f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
minSdkVersion 21
targetSdkVersion 29
versionCode gitCommits
versionName '0.4'
versionName '0.5-b1'

kapt {
arguments {
Expand Down
22 changes: 15 additions & 7 deletions app/src/main/res/layout/item_page_thumb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,25 @@
android:scaleType="centerCrop"
tools:src="@drawable/ic_placeholder" />

<TextView
android:id="@+id/textView_number"
<View
android:id="@+id/handle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:selectableItemBackground"
android:background="?selectableItemBackground" />

<TextView
android:id="@+id/textView_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="8dp"
android:background="@drawable/bg_badge_default"
android:ellipsize="none"
android:gravity="end|bottom"
android:padding="12dp"
android:gravity="center"
android:minWidth="26dp"
android:singleLine="true"
android:textColor="@android:color/black"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline6"
android:textAlignment="center"
android:textColor="?android:textColorSecondaryInverse"
tools:text="2" />

</FrameLayout>

0 comments on commit 1b4a65f

Please sign in to comment.