Updated SWE Browser "About" menu item
- Changed "About" menu to preference screen layout,
instead of popup
- Added Version, Build date, Build Hash, User Agent, Help
and Feedback
Change-Id: I2c5b8f74f9ffc945adb305042c1ebcd61283e047
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml
index a777921..ef53343 100644
--- a/res/values-zh-rCN/strings.xml
+++ b/res/values-zh-rCN/strings.xml
@@ -491,4 +491,10 @@
<string name="activity_not_found">没有找到处理 Intent <xliff:g id="NOACTIVITY">%s</xliff:g> 的Activity.</string>
<!-- Toast message displayed when the full screen received message -->
<string name="received_message_full_screen">收到来自: <xliff:g id="FROM">%s</xliff:g> 的一条消息.</string>
+
+ <string name="build_date">"版本日期"</string>
+ <string name="build_hash">"版本哈希值"</string>
+ <string name="user_agent">"浏览器UA标识"</string>
+ <string name="help">"帮助"</string>
+ <string name="feedback">"反馈"</string>
</resources>
diff --git a/res/values-zh-rHK/strings.xml b/res/values-zh-rHK/strings.xml
index 17d71cc..224c9e7 100644
--- a/res/values-zh-rHK/strings.xml
+++ b/res/values-zh-rHK/strings.xml
@@ -410,4 +410,9 @@
<string name="accessibility_state_frozen" msgid="8041539250447035570">"儲存網頁"</string>
<string name="accessibility_transition_navscreen" msgid="2734915619351519547">"標籤管理"</string>
<string name="accessibility_button_bookmarks_folder_up" msgid="9179389954714270505">"上一個資料夾"</string>
+ <string name="build_date">"版本日期"</string>
+ <string name="build_hash">"版本哈希值"</string>
+ <string name="user_agent">"瀏覽器UA標識"</string>
+ <string name="help">"幫助"</string>
+ <string name="feedback">"反饋"</string>
</resources>
diff --git a/res/values-zh-rTW/strings.xml b/res/values-zh-rTW/strings.xml
index 5250ce3..1762a96 100644
--- a/res/values-zh-rTW/strings.xml
+++ b/res/values-zh-rTW/strings.xml
@@ -399,4 +399,9 @@
<string name="accessibility_state_frozen" msgid="8041539250447035570">"儲存的頁面"</string>
<string name="accessibility_transition_navscreen" msgid="2734915619351519547">"分頁管理"</string>
<string name="accessibility_button_bookmarks_folder_up" msgid="9179389954714270505">"上一個資料夾"</string>
+ <string name="build_date">"版本日期"</string>
+ <string name="build_hash">"版本哈希值"</string>
+ <string name="user_agent">"瀏覽器UA標識"</string>
+ <string name="help">"幫助"</string>
+ <string name="feedback">"反饋"</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9bd2aae..0a4814e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1107,4 +1107,9 @@
<string name="ssl_certificate">Security certificate</string>
<string name="ssl_certificate_is_valid">This certificate is valid.</string>
<string name="version">Version</string>
+ <string name="build_date">Build Date</string>
+ <string name="build_hash">Build Hash</string>
+ <string name="user_agent">User Agent</string>
+ <string name="help">Help</string>
+ <string name="feedback">Feedback</string>
</resources>
diff --git a/res/xml/about_preferences.xml b/res/xml/about_preferences.xml
index 399d0c0..14bab64 100644
--- a/res/xml/about_preferences.xml
+++ b/res/xml/about_preferences.xml
@@ -30,8 +30,30 @@
*/
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory>
- <Preference android:key="about_preference"/>
- </PreferenceCategory>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:key="about"
+ android:title="@string/about" >
+ <Preference
+ android:key="version"
+ android:title="@string/version" />
+
+ <Preference
+ android:key="built"
+ android:title="@string/build_date" />
+
+ <Preference
+ android:key="hash"
+ android:title="@string/build_hash" />
+
+ <Preference
+ android:key="user_agent"
+ android:title="@string/user_agent" />
+
+ <Preference
+ android:key="help_about"
+ android:title="@string/help" />
+
+ <Preference
+ android:key="feedback"
+ android:title="@string/feedback" />
</PreferenceScreen>