应用电量报告中添加应用名称搜索功能
This commit is contained in:
@@ -6,19 +6,19 @@
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/white">
|
||||
|
||||
<!-- 搜索框:使用系统兼容背景 -->
|
||||
<!-- 搜索框:提示文本改为“搜索应用名称或包名” -->
|
||||
<EditText
|
||||
android:id="@+id/et_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="8dp"
|
||||
android:padding="12dp"
|
||||
android:hint="搜索应用包名"
|
||||
android:hint="搜索应用名称或包名"
|
||||
android:background="@android:drawable/btn_default_small"
|
||||
android:inputType="text"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
<!-- 应用列表:不依赖系统分割线,避免资源缺失 -->
|
||||
<!-- 应用列表 -->
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_battery_report"
|
||||
android:layout_width="match_parent"
|
||||
@@ -28,4 +28,3 @@
|
||||
android:layout_marginRight="8dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user