summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-06-07 11:06:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-07 11:06:10 -0700
commitffa6f6e3e260dad0e7f75f6e8daa892eeed8df92 (patch)
treeb7515b7167c1779f5bc28ff94c087e81dd3dcd03 /res
parentceb1ff2a5530ce921930b728fb6c4f5c0a8a08bf (diff)
parent86708a8a6da3d2da4547750ce67a89744a2878a1 (diff)
downloadpackages_apps_settings-ffa6f6e3e260dad0e7f75f6e8daa892eeed8df92.zip
packages_apps_settings-ffa6f6e3e260dad0e7f75f6e8daa892eeed8df92.tar.gz
packages_apps_settings-ffa6f6e3e260dad0e7f75f6e8daa892eeed8df92.tar.bz2
Merge "Add back a SYNC_SETTINGS screen" into jb-dev
Diffstat (limited to 'res')
-rwxr-xr-xres/values/dimens.xml2
-rw-r--r--res/xml/sync_settings.xml21
2 files changed, 22 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 3911fd5..9335788 100755
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -48,7 +48,7 @@
<dimen name="divider_margin_bottom">7dip</dimen>
<!-- Size of icons in the top-level of settings -->
- <dimen name="header_icon_width">32dp</dimen>
+ <dimen name="header_icon_width">28dp</dimen>
<dimen name="appwidget_min_width">260dip</dimen>
<dimen name="appwidget_min_height">40dip</dimen>
</resources>
diff --git a/res/xml/sync_settings.xml b/res/xml/sync_settings.xml
new file mode 100644
index 0000000..530f4ab
--- /dev/null
+++ b/res/xml/sync_settings.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <CheckBoxPreference
+ android:key="sync_switch"
+ android:title="@string/sync_automatically" />
+</PreferenceScreen>