全文搜索界面优化 #262
This commit is contained in:
4 files changed
+94
-58
No files matched your search
@@ -4,12 +4,42 @@
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_search_result"
|
||||
android:layout_margin="8dp">
|
||||
|
||||
<com.google.android.material.listitem.ListItemCardView
|
||||
android:id="@+id/cd_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:checkable="true"
|
||||
app:cardCornerRadius="16dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="2dp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:textStyle="bold"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:textSize="13sp"
|
||||
android:lineSpacingExtra="2dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</com.google.android.material.listitem.ListItemCardView>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
Reference in new issue
Block a user