Improve Home, Activity and tablet layout

- Content keeps a readable width on tablets; Home and Activity show two
  columns on wide screens
- Home chart: bars per hour or per day, a working 24 h / 7 d switch,
  a message instead of an empty chart, and more height on tall screens
- Company dominance waits for 50 requests and shows whole percents
- Home offers to turn on HaGeZi Pro when no list is on, or blocking
  when it is off
- Tapping the server on Home opens the server list; the ON/OFF switch
  gives haptic feedback
This commit is contained in:
2026-10-31 10:18:57 +02:00
parent 5ff10463a3
commit 343cbfadb6
20 changed files with 644 additions and 329 deletions
+7 -2
View File
@@ -96,14 +96,12 @@
<string name="period_24h">24 小时</string>
<string name="period_7d">7 天</string>
<string name="home_lists_info">已启用列表:%1$d · 规则:%2$s</string>
<string name="blocking_off">屏蔽已关闭</string>
<string name="blocklist_title">DNS 屏蔽列表</string>
<string name="tab_activity">活动</string>
<string name="tab_settings">设置</string>
<string name="companies_title">公司占比</string>
<string name="companies_desc">你的请求中发往大公司的比例。</string>
<string name="companies_other">其他</string>
<string name="no_data">暂无数据</string>
<string name="recent_title">最近活动</string>
<string name="filter">筛选</string>
<string name="bl_search">搜索列表</string>
@@ -126,4 +124,11 @@
<string name="settings_general">通用</string>
<string name="settings_apps">不使用 SparkleDNS 的应用</string>
<string name="settings_apps_desc">选中的应用使用网络的常规 DNS</string>
<string name="chart_empty">暂无数据。连接后,图表会按小时逐步填充。</string>
<string name="companies_wait">正在收集数据:%1$d / %2$d 个请求</string>
<string name="blocklist_cta_lists">没有启用任何列表。开启 HaGeZi Pro 以屏蔽广告和跟踪器。</string>
<string name="blocklist_cta_master">屏蔽已关闭。开启后即可过滤广告和跟踪器。</string>
<string name="turn_on">开启</string>
<string name="downloading">正在下载…</string>
<string name="change_server">更换服务器</string>
</resources>