* 设置界面支持切换到不同类型的仪表盘地址,默认是自动跳转
* 监听遥控器 F8 按键,打开设置界面 * webView 禁止缩放,避免受到安卓字体和dpi缩放的影响
This commit is contained in:
@@ -9,4 +9,16 @@
|
||||
<item>reply</item>
|
||||
<item>reply_all</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="dashboard_type_entries">
|
||||
<item>0 (根据服务器配置跳转)</item>
|
||||
<item>1 (按楼层)</item>
|
||||
<item>2 (网格+统计)</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="dashboard_type_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
@@ -19,4 +19,5 @@
|
||||
<string name="attachment_summary_on">Automatically download attachments for incoming emails
|
||||
</string>
|
||||
<string name="attachment_summary_off">Only download attachments when manually requested</string>
|
||||
<string name="dashboard_type_default_value">0</string>
|
||||
</resources>
|
||||
@@ -5,5 +5,12 @@
|
||||
app:title="URL 前缀"
|
||||
app:defaultValue="http://172.18.22.211:8002/Dashboard"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
<ListPreference
|
||||
app:title="仪表盘类型"
|
||||
app:key="k_dashboard_type"
|
||||
app:useSimpleSummaryProvider="true"
|
||||
app:entries="@array/dashboard_type_entries"
|
||||
app:entryValues="@array/dashboard_type_values"
|
||||
app:defaultValue="@string/dashboard_type_default_value" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user