SetupWizard: Initial commit
This commit is contained in:
29
res/values/colors.xml
Normal file
29
res/values/colors.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The CyanogenMod 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.
|
||||
-->
|
||||
<resources>
|
||||
<color name="black">#000000</color>
|
||||
<color name="white">#ffffff</color>
|
||||
<color name="window_background">#e4e7e8</color>
|
||||
<color name="page_background">#efefef</color>
|
||||
|
||||
<color name="primary">#2196f3</color>
|
||||
<color name="primary_dark">#1481d8</color>
|
||||
<color name="accent">#009789</color>
|
||||
<color name="primary_text">#8a000000</color>
|
||||
<color name="secondary_text">#727272</color>
|
||||
<color name="divider">#40000000</color>
|
||||
</resources>
|
19
res/values/config.xml
Normal file
19
res/values/config.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The CyanogenMod 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.
|
||||
-->
|
||||
<resources>
|
||||
<integer name="local_picker_items">3</integer>
|
||||
</resources>
|
34
res/values/dimens.xml
Normal file
34
res/values/dimens.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The CyanogenMod 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.
|
||||
-->
|
||||
<resources>
|
||||
<dimen name="logo_header_height">290dp</dimen>
|
||||
<dimen name="header_height">220dp</dimen>
|
||||
<dimen name="page_title_height">56dp</dimen>
|
||||
<dimen name="header_title_margin_left">26dp</dimen>
|
||||
<dimen name="header_logo_margin_left">25dp</dimen>
|
||||
<dimen name="header_logo_margin_bottom">11dp</dimen>
|
||||
<dimen name="content_margin_top">26dp</dimen>
|
||||
<dimen name="content_margin_left">26dp</dimen>
|
||||
<dimen name="content_margin_right">14dp</dimen>
|
||||
<dimen name="content_margin_bottom">20dp</dimen>
|
||||
<dimen name="summary_margin_bottom">20dp</dimen>
|
||||
<dimen name="location_margin_left">20dp</dimen>
|
||||
<dimen name="location_text_margin_left">10dp</dimen>
|
||||
<dimen name="location_text_margin_right">30dp</dimen>
|
||||
<dimen name="data_switch_margin_right">30dp</dimen>
|
||||
<dimen name="carrier_text_margin_left">15dp</dimen>
|
||||
</resources>
|
72
res/values/strings.xml
Normal file
72
res/values/strings.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013-2014 The Cyanogen 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.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="app_name">Setup Wizard</string>
|
||||
<string name="product_name" translatable="false">cyanogen</string>
|
||||
<string name="account_name" translatable="false">Cyanogen</string>
|
||||
|
||||
<string name="next">Next</string>
|
||||
<string name="continue_label">Continue</string>
|
||||
<string name="skip">Skip</string>
|
||||
<string name="finish">Finish</string>
|
||||
<string name="start">Start</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="create">Create</string>
|
||||
<string name="login">Login</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="existing">Existing</string>
|
||||
<string name="new_account">New</string>
|
||||
<string name="skip_anyway">Skip anyway</string>
|
||||
<string name="dont_skip">Don\'t skip</string>
|
||||
|
||||
<string name="setup_complete">Setup is complete</string>
|
||||
<string name="setup_welcome">Welcome</string>
|
||||
<string name="setup_wifi">Connect to Wi-Fi</string>
|
||||
<string name="setup_sim_missing">SIM Card Missing</string>
|
||||
<string name="setup_gms_account">GMS account</string>
|
||||
<string name="setup_choose_data_sim">Choose a SIM for Data</string>
|
||||
<string name="setup_location">Location Services</string>
|
||||
<string name="setup_datetime">Date & time</string>
|
||||
<string name="setup_current_date">Current date</string>
|
||||
<string name="setup_current_time">Current time</string>
|
||||
<string name="setup_msg_no_network">WARNING: You won\'t be able to set up your accounts</string>
|
||||
<string name="setup_warning_skip_wifi" product="tablet">WARNING: You may incur extra carrier data charges.\n\nTablet setup can require significant network activity.</string>
|
||||
<string name="setup_warning_skip_wifi" product="default">WARNING: You may incur extra carrier data charges.\n\nPhone setup can require significant network activity.</string>
|
||||
<string name="setup_privacy">Privacy Settings</string>
|
||||
<string name="setup_finalizing">Finalizing setup\u2026</string>
|
||||
|
||||
<string name="sim_missing_summary">A SIM card has not been detected in your device. Please insert a valid SIM card.</string>
|
||||
<string name="choose_data_sim_summary">Which SIM do you want to use for data? The selected SIM may incur network charges as it will be used to set up your device.</string>
|
||||
|
||||
<string name="date_time_summary">Set your time zone and adjust current date and time if needed</string>
|
||||
|
||||
<string name="location_services_summary">Location services allows Maps and other apps to gather and use data such as your approximate location. For example, Maps may use your approximate location to locate nearby coffee shops.</string>
|
||||
<string name="location_access_summary">Allow apps that have asked your permission to use your location information. This may include your current location and past locations.</string>
|
||||
<string name="location_gps">Improve location accuracy by allowing apps to use the GPS on your phone.</string>
|
||||
<string name="location_network">Use Google’s location service to help apps determine your location. This means sending annonymous location data to Google, even when no apps are running.</string>
|
||||
|
||||
<string name="setup_mobile_data">Turn On Mobile Data</string>
|
||||
<string name="setup_mobile_data_no_service">No service</string>
|
||||
<string name="setup_mobile_data_emergency_only">Emergency calls only</string>
|
||||
<string name="enable_mobile_data_summary">Do you want to use mobile data during setup? Turning on mobile data may be subject to data charges.</string>
|
||||
<string name="enable_mobile_off">No</string>
|
||||
<string name="enable_mobile_on">Yes</string>
|
||||
|
||||
<string name="data_sim_name">SIM <xliff:g id="sub">%d</xliff:g> - <xliff:g id="name">%s</xliff:g></string>
|
||||
|
||||
<string name="emergency_call">Emergency Call</string>
|
||||
</resources>
|
89
res/values/styles.xml
Normal file
89
res/values/styles.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The CyanogenMod 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.
|
||||
-->
|
||||
<resources>
|
||||
<style name="Theme.Setup" parent="@android:style/Theme.Material.Light">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowActivityTransitions">true</item>
|
||||
<item name="android:windowContentTransitions">true</item>
|
||||
<item name="android:colorPrimary">@color/primary</item>
|
||||
<item name="android:colorPrimaryDark">@color/primary</item>
|
||||
<item name="android:colorAccent">@color/accent</item>
|
||||
</style>
|
||||
|
||||
<style name="RootView">
|
||||
<item name="android:background">@color/window_background</item>
|
||||
</style>
|
||||
|
||||
<style name="Header">
|
||||
<item name="android:elevation">4dp</item>
|
||||
<item name="android:background">@color/primary</item>
|
||||
</style>
|
||||
|
||||
<style name="PageContainer">
|
||||
<item name="android:textColor">@color/primary_text</item>
|
||||
<item name="android:background">@color/page_background</item>
|
||||
</style>
|
||||
|
||||
<style name="PageContent">
|
||||
<item name="android:paddingTop">@dimen/content_margin_top</item>
|
||||
<item name="android:paddingLeft">@dimen/content_margin_left</item>
|
||||
<item name="android:paddingRight">@dimen/content_margin_right</item>
|
||||
</style>
|
||||
|
||||
<style name="PageTitle">
|
||||
<item name="android:id">@android:id/title</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
<item name="android:textColor">@color/white</item>
|
||||
<item name="android:background">@color/primary_dark</item>
|
||||
<item name="android:layout_alignParentBottom">true</item>
|
||||
<item name="android:gravity">left|center_vertical</item>
|
||||
<item name="android:paddingLeft">@dimen/header_title_margin_left</item>
|
||||
</style>
|
||||
|
||||
<style name="PageSummaryText">
|
||||
<item name="android:id">@android:id/summary</item>
|
||||
</style>
|
||||
|
||||
<style name="SpinnerItem">
|
||||
<item name="android:textSize">15sp</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonBar" parent="@android:style/Widget.Material.ActionButton">
|
||||
<item name="android:layout_height">48dp</item>
|
||||
<item name="android:textSize">15sp</item>
|
||||
<item name="android:textAllCaps">true</item>
|
||||
<item name="android:maxLines">1</item>
|
||||
<item name="android:minWidth">15dp</item>
|
||||
<item name="android:minHeight">15dp</item>
|
||||
<item name="android:textColor">@color/primary_text</item>
|
||||
<item name="android:fontFamily">sans-serif-medium</item>
|
||||
<item name="android:drawablePadding">5dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonBar.Left">
|
||||
<item name="android:paddingStart">15dp</item>
|
||||
<item name="android:gravity">center_vertical|start</item>
|
||||
<item name="android:drawableLeft">@drawable/ic_chevron_left_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonBar.Right">
|
||||
<item name="android:paddingEnd">15dp</item>
|
||||
<item name="android:gravity">center_vertical|end</item>
|
||||
<item name="android:drawableRight">@drawable/ic_chevron_right_dark</item>
|
||||
</style>
|
||||
</resources>
|
4
res/values/version.xml
Normal file
4
res/values/version.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<integer name="google_play_services_version">4323000</integer>
|
||||
</resources>
|
Reference in New Issue
Block a user