修复阅读背景配置时不显示文字的问题
This commit is contained in:
3 files changed
+8
-10
No files matched your search
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="66dp"
|
||||
android:layout_height="88dp"
|
||||
xmlns:tool="http://schemas.android.com/tools"
|
||||
android:layout_height="98dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -17,9 +16,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:contentDescription="@string/bg_image"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:scaleType="fitCenter"
|
||||
tool:src="@drawable/ic_image" />
|
||||
android:src="@drawable/ic_add" />
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
@@ -27,6 +26,9 @@
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/text"
|
||||
android:singleLine="true"
|
||||
android:gravity="center" />
|
||||
|
||||
Reference in new issue
Block a user