diff options
author | cretin45 <cretin45@gmail.com> | 2015-05-07 16:21:10 -0700 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-05-08 11:44:34 -0700 |
commit | 7710855b726a921d7fd1e85aeeb4b20fee998923 (patch) | |
tree | a7203ba380b5189a47ae6cf25be9ffe3c46294d3 /res | |
parent | 4d08b90df38a90a0ec077412f92b0dabb594e056 (diff) | |
download | packages_apps_SetupWizard-7710855b726a921d7fd1e85aeeb4b20fee998923.zip packages_apps_SetupWizard-7710855b726a921d7fd1e85aeeb4b20fee998923.tar.gz packages_apps_SetupWizard-7710855b726a921d7fd1e85aeeb4b20fee998923.tar.bz2 |
SetupWizard: Add kill switch implementation
Change-Id: I1335cddf0dcc94eb8d2defeebdc47cb61abffd06
Diffstat (limited to 'res')
-rwxr-xr-x | res/drawable-hdpi/cross.png | bin | 0 -> 346 bytes | |||
-rwxr-xr-x | res/drawable-hdpi/tick.png | bin | 0 -> 312 bytes | |||
-rwxr-xr-x | res/drawable-mdpi/cross.png | bin | 0 -> 253 bytes | |||
-rwxr-xr-x | res/drawable-mdpi/tick.png | bin | 0 -> 236 bytes | |||
-rwxr-xr-x | res/drawable-xhdpi/cross.png | bin | 0 -> 422 bytes | |||
-rwxr-xr-x | res/drawable-xhdpi/tick.png | bin | 0 -> 371 bytes | |||
-rwxr-xr-x | res/drawable-xxhdpi/cross.png | bin | 0 -> 554 bytes | |||
-rwxr-xr-x | res/drawable-xxhdpi/tick.png | bin | 0 -> 477 bytes | |||
-rwxr-xr-x | res/drawable-xxxhdpi/cross.png | bin | 0 -> 692 bytes | |||
-rwxr-xr-x | res/drawable-xxxhdpi/tick.png | bin | 0 -> 572 bytes | |||
-rw-r--r-- | res/layout/setup_cyanogen_services.xml | 52 | ||||
-rw-r--r-- | res/values/strings.xml | 6 |
12 files changed, 58 insertions, 0 deletions
diff --git a/res/drawable-hdpi/cross.png b/res/drawable-hdpi/cross.png Binary files differnew file mode 100755 index 0000000..ad8e5d9 --- /dev/null +++ b/res/drawable-hdpi/cross.png diff --git a/res/drawable-hdpi/tick.png b/res/drawable-hdpi/tick.png Binary files differnew file mode 100755 index 0000000..1564a5b --- /dev/null +++ b/res/drawable-hdpi/tick.png diff --git a/res/drawable-mdpi/cross.png b/res/drawable-mdpi/cross.png Binary files differnew file mode 100755 index 0000000..a5bca90 --- /dev/null +++ b/res/drawable-mdpi/cross.png diff --git a/res/drawable-mdpi/tick.png b/res/drawable-mdpi/tick.png Binary files differnew file mode 100755 index 0000000..779b159 --- /dev/null +++ b/res/drawable-mdpi/tick.png diff --git a/res/drawable-xhdpi/cross.png b/res/drawable-xhdpi/cross.png Binary files differnew file mode 100755 index 0000000..d5cac0a --- /dev/null +++ b/res/drawable-xhdpi/cross.png diff --git a/res/drawable-xhdpi/tick.png b/res/drawable-xhdpi/tick.png Binary files differnew file mode 100755 index 0000000..0e10e6d --- /dev/null +++ b/res/drawable-xhdpi/tick.png diff --git a/res/drawable-xxhdpi/cross.png b/res/drawable-xxhdpi/cross.png Binary files differnew file mode 100755 index 0000000..9c47e16 --- /dev/null +++ b/res/drawable-xxhdpi/cross.png diff --git a/res/drawable-xxhdpi/tick.png b/res/drawable-xxhdpi/tick.png Binary files differnew file mode 100755 index 0000000..f398a15 --- /dev/null +++ b/res/drawable-xxhdpi/tick.png diff --git a/res/drawable-xxxhdpi/cross.png b/res/drawable-xxxhdpi/cross.png Binary files differnew file mode 100755 index 0000000..0a2800d --- /dev/null +++ b/res/drawable-xxxhdpi/cross.png diff --git a/res/drawable-xxxhdpi/tick.png b/res/drawable-xxxhdpi/tick.png Binary files differnew file mode 100755 index 0000000..050fa9f --- /dev/null +++ b/res/drawable-xxxhdpi/tick.png diff --git a/res/layout/setup_cyanogen_services.xml b/res/layout/setup_cyanogen_services.xml index ba16627..36837bb 100644 --- a/res/layout/setup_cyanogen_services.xml +++ b/res/layout/setup_cyanogen_services.xml @@ -50,6 +50,58 @@ android:text="@string/services_explanation" android:clickable="true"/> + <LinearLayout + android:id="@+id/killswitch" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="@dimen/location_margin_left" + android:paddingRight="@dimen/content_margin_right" + android:background="?android:attr/selectableItemBackground"> + + + <ImageView + android:id="@+id/killswitch_check" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="5dp" + android:paddingLeft="8dp" + android:paddingRight="@dimen/location_text_margin_left" + android:layout_gravity="center|top" + android:src="@drawable/tick"/> + + <RelativeLayout + android:layout_width="0px" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="top" + android:layout_marginLeft="@dimen/location_text_margin_left" + android:layout_marginRight="@dimen/location_text_margin_right" + android:paddingBottom="@dimen/content_margin_bottom"> + + <TextView + android:id="@+id/killswitch_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="15sp" + android:lineSpacingExtra="@dimen/setup_line_spacing" + android:fadingEdge="horizontal" + android:text="@string/setup_require_cyanogen_label"/> + + <TextView + android:id="@+id/killswitch_summary" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/killswitch_title" + android:layout_alignStart="@+id/killswitch_title" + android:textSize="15sp" + android:lineSpacingExtra="@dimen/setup_line_spacing" + android:textColor="?android:attr/textColorSecondary" + android:text="@string/setup_device_locked_instructions"/> + </RelativeLayout> + + </LinearLayout> + <!-- Whether or not to enable metrics --> <LinearLayout android:id="@+id/metrics" diff --git a/res/values/strings.xml b/res/values/strings.xml index 4a106be..2607b9b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -79,4 +79,10 @@ <string name="services_os_nav_keys_label"><b>Use on screen navigation keys</b> instead of hardware keys.</string> <string name="services_use_secure_sms">Use secure SMS</string> <string name="services_secure_sms_label"><xliff:g id="name" example="Use secure SMS">%s</xliff:g> to encrypt SMS conversations with other users using secure SMS on a <xliff:g id="name" example="CyanogenMod">%s</xliff:g> device.</string> + + <string name="setup_unlock">Unlock</string> + <string name="setup_device_locked">This device has been locked by the user.</string> + <string name="setup_require_cyanogen_label"><b>Require your Cyanogen OS account password</b> in order to use your device even after a factory reset.</string> + <string name="setup_device_locked_instructions"><i>To turn this feature off/on, please go to Settings > Security</i></string> + <string name="setup_warning_skip_anyway">Without a Cyanogen OS Account, you won\'t be able to:\n\nCustomize your phone with new icons, wallpapers and more in the Themes app\n\nLocate or remotely erase your phone if it\'s lost</string> </resources> |