SmsForwarder/app/src/main/res/layout/fragment_logs.xml
pppscn 6473b3eb7c 优化:MainActivity 内容填充方式(避免一次性加载多个Fragment)&& 提升APP启动速度与稳定性
优化:左滑菜单 与 TabBar 美化
精简:界面调整 & 去除不常用资源
整理:code review
2023-12-19 23:52:50 +08:00

48 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/xui_config_color_background"
android:orientation="vertical"
tools:ignore="Overdraw">
<com.xuexiang.xui.widget.tabbar.EasyIndicator
android:id="@+id/tabBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
app:indicator_height="42dp"
app:indicator_line_height="2dp"
app:indicator_line_show="true"
app:indicator_textSize="@dimen/text_size_medium"
app:indicator_width="0dp" />
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srlEnableAutoLoadMore="true"
app:srlEnableLoadMore="false">
<com.scwang.smartrefresh.header.MaterialHeader
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
android:paddingBottom="@dimen/config_padding_5dp"
tools:listitem="@layout/adapter_logs_card_view_list_item" />
<!-- TODO:注意修改包名时,这里也需要修改 -->
<com.idormy.sms.forwarder.widget.MaterialFooter
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</LinearLayout>