Browse Source

SetupWizard: Initial commit

replicant-6.0
cretin45 5 years ago
commit
0328b87bf6
100 changed files with 3699 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +30
    -0
      Android.mk
  3. +69
    -0
      AndroidManifest.xml
  4. +3
    -0
      proguard.flags
  5. +6
    -0
      res/anim/fadein.xml
  6. +6
    -0
      res/anim/fadeout.xml
  7. +8
    -0
      res/anim/slide_left.xml
  8. +8
    -0
      res/anim/slide_right.xml
  9. BIN
      res/drawable-hdpi/brand.png
  10. BIN
      res/drawable-hdpi/brand_finish.png
  11. BIN
      res/drawable-hdpi/finish_logo.png
  12. BIN
      res/drawable-hdpi/icon.png
  13. BIN
      res/drawable-hdpi/powered_by.png
  14. BIN
      res/drawable-hdpi/sim_back.png
  15. BIN
      res/drawable-hdpi/sim_side.png
  16. BIN
      res/drawable-mdpi/brand.png
  17. BIN
      res/drawable-mdpi/brand_finish.png
  18. BIN
      res/drawable-mdpi/finish_logo.png
  19. BIN
      res/drawable-mdpi/icon.png
  20. BIN
      res/drawable-mdpi/powered_by.png
  21. BIN
      res/drawable-mdpi/sim_back.png
  22. BIN
      res/drawable-mdpi/sim_side.png
  23. BIN
      res/drawable-xhdpi/brand.png
  24. BIN
      res/drawable-xhdpi/brand_finish.png
  25. BIN
      res/drawable-xhdpi/finish_logo.png
  26. BIN
      res/drawable-xhdpi/icon.png
  27. BIN
      res/drawable-xhdpi/powered_by.png
  28. BIN
      res/drawable-xhdpi/sim_back.png
  29. BIN
      res/drawable-xhdpi/sim_side.png
  30. BIN
      res/drawable-xxhdpi/brand.png
  31. BIN
      res/drawable-xxhdpi/brand_finish.png
  32. BIN
      res/drawable-xxhdpi/finish_logo.png
  33. BIN
      res/drawable-xxhdpi/powered_by.png
  34. BIN
      res/drawable-xxhdpi/sim_back.png
  35. BIN
      res/drawable-xxhdpi/sim_side.png
  36. BIN
      res/drawable-xxxhdpi/brand.png
  37. BIN
      res/drawable-xxxhdpi/brand_finish.png
  38. BIN
      res/drawable-xxxhdpi/finish_logo.png
  39. BIN
      res/drawable-xxxhdpi/powered_by.png
  40. BIN
      res/drawable-xxxhdpi/sim_back.png
  41. BIN
      res/drawable-xxxhdpi/sim_side.png
  42. +20
    -0
      res/drawable/divider.xml
  43. +11
    -0
      res/drawable/ic_chevron_left_dark.xml
  44. +11
    -0
      res/drawable/ic_chevron_left_wht.xml
  45. +11
    -0
      res/drawable/ic_chevron_right_dark.xml
  46. +11
    -0
      res/drawable/ic_chevron_right_wht.xml
  47. +25
    -0
      res/drawable/ic_signal_0.xml
  48. +28
    -0
      res/drawable/ic_signal_1.xml
  49. +28
    -0
      res/drawable/ic_signal_2.xml
  50. +28
    -0
      res/drawable/ic_signal_3.xml
  51. +25
    -0
      res/drawable/ic_signal_4.xml
  52. +25
    -0
      res/drawable/ic_signal_no_signal.xml
  53. +37
    -0
      res/layout/button_bar.xml
  54. +44
    -0
      res/layout/choose_data_sim_page.xml
  55. +51
    -0
      res/layout/data_sim_row.xml
  56. +41
    -0
      res/layout/date_time_setup_custom_list_item_2.xml
  57. +21
    -0
      res/layout/divider.xml
  58. +26
    -0
      res/layout/header.xml
  59. +26
    -0
      res/layout/header_condensed.xml
  60. +42
    -0
      res/layout/locale_picker.xml
  61. +33
    -0
      res/layout/locale_picker_item.xml
  62. +140
    -0
      res/layout/location_settings.xml
  63. +45
    -0
      res/layout/logo_header.xml
  64. +83
    -0
      res/layout/mobile_data_settings.xml
  65. +98
    -0
      res/layout/setup_datetime_page.xml
  66. +13
    -0
      res/layout/setup_finalizing.xml
  67. +32
    -0
      res/layout/setup_finished_page.xml
  68. +47
    -0
      res/layout/setup_main.xml
  69. +32
    -0
      res/layout/setup_welcome_page.xml
  70. +49
    -0
      res/layout/sim_missing_page.xml
  71. +17
    -0
      res/transition/explode.xml
  72. +25
    -0
      res/transition/slide_left.xml
  73. +25
    -0
      res/transition/slide_right.xml
  74. +27
    -0
      res/values-af/strings.xml
  75. +27
    -0
      res/values-ar/strings.xml
  76. +27
    -0
      res/values-ca/strings.xml
  77. +27
    -0
      res/values-cs/strings.xml
  78. +27
    -0
      res/values-es/strings.xml
  79. +19
    -0
      res/values-land/dimens.xml
  80. +29
    -0
      res/values/colors.xml
  81. +19
    -0
      res/values/config.xml
  82. +34
    -0
      res/values/dimens.xml
  83. +72
    -0
      res/values/strings.xml
  84. +89
    -0
      res/values/styles.xml
  85. +4
    -0
      res/values/version.xml
  86. +103
    -0
      res/xml/timezones.xml
  87. +58
    -0
      src/com/cyanogenmod/setupwizard/SetupWizardApp.java
  88. +155
    -0
      src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java
  89. +59
    -0
      src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
  90. +267
    -0
      src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
  91. +83
    -0
      src/com/cyanogenmod/setupwizard/setup/CyanogenAccountPage.java
  92. +464
    -0
      src/com/cyanogenmod/setupwizard/setup/DateTimePage.java
  93. +86
    -0
      src/com/cyanogenmod/setupwizard/setup/FinishPage.java
  94. +90
    -0
      src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
  95. +194
    -0
      src/com/cyanogenmod/setupwizard/setup/LocationSettingsPage.java
  96. +211
    -0
      src/com/cyanogenmod/setupwizard/setup/MobileDataPage.java
  97. +46
    -0
      src/com/cyanogenmod/setupwizard/setup/Page.java
  98. +44
    -0
      src/com/cyanogenmod/setupwizard/setup/PageList.java
  99. +31
    -0
      src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java
  100. +126
    -0
      src/com/cyanogenmod/setupwizard/setup/SetupPage.java

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
values-v1

+ 30
- 0
Android.mk View File

@@ -0,0 +1,30 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_MODULE_TAGS := optional

LOCAL_PACKAGE_NAME := CMSetupWizard
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v4 \
android-support-v13 \
play \
libphonenumber

LOCAL_JAVA_LIBRARIES += org.cyanogenmod.hardware

# Include res dir from chips
google_play_dir := ../../../external/google/google_play_services/libproject/google-play-services_lib/res
res_dir := $(google_play_dir) res

LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_AAPT_FLAGS += --extra-packages com.google.android.gms

include $(BUILD_PACKAGE)

+ 69
- 0
AndroidManifest.xml View File

@@ -0,0 +1,69 @@
<?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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cyanogenmod.setupwizard"
android:versionCode="3">

<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<uses-permission android:name="android.permission.STATUS_BAR" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission android:name="android.permission.SET_TIME_ZONE" />
<uses-permission android:name="android.permission.SET_TIME" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_THEME_MANAGER"/>
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.HARDWARE_ABSTRACTION_ACCESS" />

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />

<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:theme="@style/Theme.Setup"
android:name=".SetupWizardApp">

<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

<activity android:name=".ui.SetupWizardActivity"
android:label="@string/product_name"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:immersive="true">

<intent-filter android:priority="9">

<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />

<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>

+ 3
- 0
proguard.flags View File

@@ -0,0 +1,3 @@
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}

+ 6
- 0
res/anim/fadein.xml View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha android:fromAlpha="0.0" android:toAlpha="1.0"
android:interpolator="@android:anim/accelerate_interpolator"
android:duration="1000"/>
</set>

+ 6
- 0
res/anim/fadeout.xml View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"
android:interpolator="@android:anim/accelerate_interpolator"
android:duration="1000"/>
</set>

+ 8
- 0
res/anim/slide_left.xml View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="-100%"
android:toXDelta="0"
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="500"/>
</set>

+ 8
- 0
res/anim/slide_right.xml View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="0"
android:toXDelta="100%"
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="500"/>
</set>

BIN
res/drawable-hdpi/brand.png View File

Before After
Width: 224  |  Height: 152  |  Size: 11 KiB

BIN
res/drawable-hdpi/brand_finish.png View File

Before After
Width: 261  |  Height: 245  |  Size: 18 KiB

BIN
res/drawable-hdpi/finish_logo.png View File

Before After
Width: 261  |  Height: 245  |  Size: 18 KiB

BIN
res/drawable-hdpi/icon.png View File

Before After
Width: 72  |  Height: 73  |  Size: 2.7 KiB

BIN
res/drawable-hdpi/powered_by.png View File

Before After
Width: 269  |  Height: 32  |  Size: 4.1 KiB

BIN
res/drawable-hdpi/sim_back.png View File

Before After
Width: 324  |  Height: 393  |  Size: 6.1 KiB

BIN
res/drawable-hdpi/sim_side.png View File

Before After
Width: 338  |  Height: 393  |  Size: 5.7 KiB

BIN
res/drawable-mdpi/brand.png View File

Before After
Width: 149  |  Height: 101  |  Size: 5.7 KiB

BIN
res/drawable-mdpi/brand_finish.png View File

Before After
Width: 174  |  Height: 163  |  Size: 9.0 KiB

BIN
res/drawable-mdpi/finish_logo.png View File

Before After
Width: 174  |  Height: 163  |  Size: 9.0 KiB

BIN
res/drawable-mdpi/icon.png View File

Before After
Width: 48  |  Height: 49  |  Size: 2.1 KiB

BIN
res/drawable-mdpi/powered_by.png View File

Before After
Width: 179  |  Height: 21  |  Size: 2.4 KiB

BIN
res/drawable-mdpi/sim_back.png View File

Before After
Width: 216  |  Height: 262  |  Size: 3.2 KiB

BIN
res/drawable-mdpi/sim_side.png View File

Before After
Width: 225  |  Height: 262  |  Size: 3.1 KiB

BIN
res/drawable-xhdpi/brand.png View File

Before After
Width: 298  |  Height: 202  |  Size: 13 KiB

BIN
res/drawable-xhdpi/brand_finish.png View File

Before After
Width: 348  |  Height: 326  |  Size: 22 KiB

BIN
res/drawable-xhdpi/finish_logo.png View File

Before After
Width: 348  |  Height: 326  |  Size: 22 KiB

BIN
res/drawable-xhdpi/icon.png View File

Before After
Width: 96  |  Height: 97  |  Size: 3.2 KiB

BIN
res/drawable-xhdpi/powered_by.png View File

Before After
Width: 358  |  Height: 42  |  Size: 5.7 KiB

BIN
res/drawable-xhdpi/sim_back.png View File

Before After
Width: 432  |  Height: 524  |  Size: 9.0 KiB

BIN
res/drawable-xhdpi/sim_side.png View File

Before After
Width: 450  |  Height: 524  |  Size: 8.4 KiB

BIN
res/drawable-xxhdpi/brand.png View File

Before After
Width: 447  |  Height: 303  |  Size: 22 KiB

BIN
res/drawable-xxhdpi/brand_finish.png View File

Before After
Width: 522  |  Height: 489  |  Size: 39 KiB

BIN
res/drawable-xxhdpi/finish_logo.png View File

Before After
Width: 522  |  Height: 489  |  Size: 39 KiB

BIN
res/drawable-xxhdpi/powered_by.png View File

Before After
Width: 537  |  Height: 63  |  Size: 9.2 KiB

BIN
res/drawable-xxhdpi/sim_back.png View File

Before After
Width: 648  |  Height: 786  |  Size: 17 KiB

BIN
res/drawable-xxhdpi/sim_side.png View File

Before After
Width: 675  |  Height: 786  |  Size: 16 KiB

BIN
res/drawable-xxxhdpi/brand.png View File

Before After
Width: 596  |  Height: 404  |  Size: 32 KiB

BIN
res/drawable-xxxhdpi/brand_finish.png View File

Before After
Width: 696  |  Height: 652  |  Size: 60 KiB

BIN
res/drawable-xxxhdpi/finish_logo.png View File

Before After
Width: 696  |  Height: 652  |  Size: 60 KiB

BIN
res/drawable-xxxhdpi/powered_by.png View File

Before After
Width: 537  |  Height: 63  |  Size: 9.2 KiB

BIN
res/drawable-xxxhdpi/sim_back.png View File

Before After
Width: 864  |  Height: 1048  |  Size: 26 KiB

BIN
res/drawable-xxxhdpi/sim_side.png View File

Before After
Width: 900  |  Height: 1048  |  Size: 25 KiB

+ 20
- 0
res/drawable/divider.xml View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@color/divider" />
<size android:width="316dp" android:height="1dp"/>
</shape>

+ 11
- 0
res/drawable/ic_chevron_left_dark.xml View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/primary_text"
android:pathData="M15.41,7.41L14,6l-6,6l6,6l1.41-1.41L10.83,12L15.41,7.41Z" />
</vector>

+ 11
- 0
res/drawable/ic_chevron_left_wht.xml View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/white"
android:pathData="M15.41,7.41L14,6l-6,6l6,6l1.41-1.41L10.83,12L15.41,7.41Z" />
</vector>

+ 11
- 0
res/drawable/ic_chevron_right_dark.xml View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/primary_text"
android:pathData="M10,6L8.59,7.41L13.17,12l-4.58,4.59L10,18l6-6L10,6Z" />
</vector>

+ 11
- 0
res/drawable/ic_chevron_right_wht.xml View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/white"
android:pathData="M10,6L8.59,7.41L13.17,12l-4.58,4.59L10,18l6-6L10,6Z" />
</vector>

+ 25
- 0
res/drawable/ic_signal_0.xml View File

@@ -0,0 +1,25 @@
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
</vector>

+ 28
- 0
res/drawable/ic_signal_1.xml View File

@@ -0,0 +1,28 @@
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
<path
android:fillColor="@color/accent"
android:pathData="M11.300000,12.700000l-9.300000,9.300000 9.300000,0.000000z"/>
</vector>

+ 28
- 0
res/drawable/ic_signal_2.xml View File

@@ -0,0 +1,28 @@
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
<path
android:fillColor="@color/accent"
android:pathData="M14.000000,10.000000l-12.000000,12.000000 12.000000,0.000000z"/>
</vector>

+ 28
- 0
res/drawable/ic_signal_3.xml View File

@@ -0,0 +1,28 @@
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
<path
android:fillColor="@color/accent"
android:pathData="M16.700001,7.300000l-14.700001,14.700000 14.700001,0.000000z"/>
</vector>

+ 25
- 0
res/drawable/ic_signal_4.xml View File

@@ -0,0 +1,25 @@
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="@color/accent"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
</vector>

+ 25
- 0
res/drawable/ic_signal_no_signal.xml View File

@@ -0,0 +1,25 @@
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:pathData="M2.000000,22.000000l20.000000,0.000000L22.000000,2.000000L2.000000,22.000000zM20.000000,20.000000L6.800000,20.000000L20.000000,6.800000L20.000000,20.000000z"/>
</vector>

+ 37
- 0
res/layout/button_bar.xml View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/button_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<Button
style="@style/ButtonBar.Left"
android:id="@+id/prev_button"
android:layout_width="0dp"
android:layout_weight="1"
android:text="@string/prev" />

<Button
style="@style/ButtonBar.Right"
android:id="@+id/next_button"
android:layout_width="0dp"
android:layout_weight="1"
android:text="@string/next" />

</LinearLayout>

+ 44
- 0
res/layout/choose_data_sim_page.xml View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">

<LinearLayout
android:id="@+id/page_view"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="15sp"
android:paddingTop="@dimen/content_margin_top"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:paddingBottom="@dimen/summary_margin_bottom"
android:text="@string/choose_data_sim_summary" />

<include layout="@layout/divider" />

</LinearLayout>
</ScrollView>



+ 51
- 0
res/layout/data_sim_row.xml View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/sim_row"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/data_switch_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">

<ImageView
android:id="@+id/signal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_signal_0" />

<TextView
android:id="@+id/sim_title"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="14sp"
android:layout_marginLeft="@dimen/carrier_text_margin_left"
android:maxLines="4" />

<CheckBox
android:id="@+id/enable_check"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:duplicateParentState="true"
android:clickable="false"/>

</LinearLayout>

+ 41
- 0
res/layout/date_time_setup_custom_list_item_2.xml View File

@@ -0,0 +1,41 @@
<?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.
-->
<!-- Based on simple_list_item_2.xml in framework -->
<TwoLineListItem xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:mode="twoLine"
android:gravity="center_vertical">

<TextView
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="16dip"
style="@style/SpinnerItem" />

<TextView
android:id="@android:id/text2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="10dip"
android:layout_below="@android:id/text1"
android:layout_alignStart="@android:id/text1"
android:fontFamily="sans-serif-medium"
style="@style/SpinnerItem" />
</TwoLineListItem>

+ 21
- 0
res/layout/divider.xml View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/divider" />

+ 26
- 0
res/layout/header.xml View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/header_height">

<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />

</RelativeLayout>

+ 26
- 0
res/layout/header_condensed.xml View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height">

<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />

</RelativeLayout>

+ 42
- 0
res/layout/locale_picker.xml View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2008, 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.
*/
-->

<merge xmlns:android="http://schemas.android.com/apk/res/android">

<ImageButton android:id="@+id/increment"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="22dip"
android:paddingBottom="22dip"/>

<EditText
android:id="@+id/numberpicker_input"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
android:gravity="center"
android:singleLine="true" />

<ImageButton android:id="@+id/decrement"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="22dip"
android:paddingBottom="22dip"/>

</merge>

+ 33
- 0
res/layout/locale_picker_item.xml View File

@@ -0,0 +1,33 @@
<?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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:gravity="left"
android:paddingStart="16dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:paddingEnd="16dp">

<TextView
android:id="@+id/locale"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="left"
android:textAppearance="?android:attr/textAppearanceMedium"/>
</LinearLayout>

+ 140
- 0
res/layout/location_settings.xml View File

@@ -0,0 +1,140 @@
<?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.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">

<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/PageContent">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
style="@style/PageSummaryText"
android:text="@string/location_services_summary" />

<LinearLayout
android:id="@+id/location"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/location_margin_left"
android:layout_marginRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">


<CheckBox
android:id="@+id/location_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />

<TextView
android:id="@+id/location_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
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"
android:text="@string/location_access_summary"
android:maxLines="5" />

</LinearLayout>

<LinearLayout
android:id="@+id/gps"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/location_margin_left"
android:layout_marginRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">

<CheckBox
android:id="@+id/gps_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />


<TextView
android:id="@+id/gps_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
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"
android:text="@string/location_gps"
android:maxLines="5" />

</LinearLayout>

<LinearLayout
android:id="@+id/network"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/location_margin_left"
android:layout_marginRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">

<CheckBox
android:id="@+id/network_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />

<TextView
android:id="@+id/network_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
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"
android:text="@string/location_network"
android:maxLines="5" />

</LinearLayout>
</LinearLayout>
</ScrollView>

+ 45
- 0
res/layout/logo_header.xml View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/logo_header_height">

<ImageView
android:id="@+id/brand_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/brand"
android:paddingLeft="@dimen/header_logo_margin_left"
android:paddingBottom="@dimen/header_logo_margin_bottom"
android:layout_above="@+id/powered_by_logo"/>

<ImageView
android:id="@+id/powered_by_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/powered_by"
android:visibility="gone"
android:paddingLeft="@dimen/header_logo_margin_left"
android:paddingBottom="@dimen/header_logo_margin_bottom"
android:layout_above="@android:id/title"/>

<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />

</RelativeLayout>

+ 83
- 0
res/layout/mobile_data_settings.xml View File

@@ -0,0 +1,83 @@
<?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.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">

<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:id="@+id/mobile_data_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="15sp"
android:paddingTop="@dimen/content_margin_top"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:paddingBottom="@dimen/summary_margin_bottom"
android:text="@string/enable_mobile_data_summary" />

<include layout="@layout/divider" />

<LinearLayout
android:id="@+id/data"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/data_switch_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">

<ImageView
android:id="@+id/signal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_signal_0" />

<TextView
android:id="@+id/enable_data_title"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="14sp"
android:layout_marginLeft="@dimen/carrier_text_margin_left"
android:text="@string/setup_mobile_data_no_service"
android:maxLines="4" />

<Switch
android:id="@+id/data_switch"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:duplicateParentState="true"
android:clickable="false"
android:textOff="@string/enable_mobile_off"
android:textOn="@string/enable_mobile_on"/>
</LinearLayout>

<include layout="@layout/divider" />

</LinearLayout>
</ScrollView>


+ 98
- 0
res/layout/setup_datetime_page.xml View File

@@ -0,0 +1,98 @@
<?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.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">

<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageContent">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="16sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingRight="@dimen/location_text_margin_right"
android:text="@string/date_time_summary" />

<Spinner
android:id="@+id/timezone_list"
android:layout_width="290dp"
android:layout_height="wrap_content"
android:saveEnabled="false"/>

<TwoLineListItem
android:id="@+id/date_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:mode="twoLine"
android:clickable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical">

<TextView
android:id="@+id/date_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/setup_current_date"
style="@style/SpinnerItem" />

<TextView
android:id="@+id/date_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/date_title"
android:layout_alignStart="@id/date_title"
android:fontFamily="sans-serif-medium"
style="@style/SpinnerItem" />
</TwoLineListItem>

<TwoLineListItem
android:id="@+id/time_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:mode="twoLine"
android:clickable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical">

<TextView
android:id="@+id/time_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/setup_current_time"
style="@style/SpinnerItem" />

<TextView
android:id="@+id/time_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/time_title"
android:layout_alignStart="@id/time_title"
android:fontFamily="sans-serif-medium"
style="@style/SpinnerItem" />
</TwoLineListItem>

</LinearLayout>
</ScrollView>

+ 13
- 0
res/layout/setup_finalizing.xml View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="wrap_content"
android:layout_height="wrap_content">

<ProgressBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="true"
style="@android:style/Widget.Material.ProgressBar.Horizontal" />

</LinearLayout>

+ 32
- 0
res/layout/setup_finished_page.xml View File

@@ -0,0 +1,32 @@
<?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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/primary">

<ImageView
android:id="@+id/brand_logo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/finish_logo"
android:scaleType="centerInside"/>

</LinearLayout>



+ 47
- 0
res/layout/setup_main.xml View File

@@ -0,0 +1,47 @@
<?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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/root"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/RootView">

<LinearLayout android:id="@+id/page"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
style="@style/PageContainer" >

<FrameLayout
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Header"/>

<FrameLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>

</LinearLayout>

<include layout="@layout/button_bar" />

</LinearLayout>

+ 32
- 0
res/layout/setup_welcome_page.xml View File

@@ -0,0 +1,32 @@
<?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.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/PageContent">

<com.cyanogenmod.account.ui.LocalePicker
android:id="@+id/locale_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="12dp"
android:gravity="left"
android:focusable="true"
android:focusableInTouchMode="true"/>

</FrameLayout>

+ 49
- 0
res/layout/sim_missing_page.xml View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">

<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/sim_missing"
style="@style/PageSummaryText"
android:textSize="15sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingTop="@dimen/content_margin_top"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:text="@string/sim_missing_summary" />

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:src="@drawable/sim_back"/>

</LinearLayout>
</ScrollView>




+ 17
- 0
res/transition/explode.xml View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<explode/>

+ 25
- 0
res/transition/slide_left.xml View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
android:transitionOrdering="sequential">
<changeBounds/>
<slide android:slideEdge="left" >
<targets>
<target android:targetId="@id/page" />
</targets>
</slide>
</transitionSet>

+ 25
- 0
res/transition/slide_right.xml View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
android:transitionOrdering="sequential">
<changeBounds/>
<slide android:slideEdge="right" >
<targets>
<target android:targetId="@id/page" />
</targets>
</slide>
</transitionSet>

+ 27
- 0
res/values-af/strings.xml View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.net-->
<!--
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="next">Volgende</string>
<string name="continue_label">Gaan voort</string>
<string name="prev">Vorige</string>
<string name="skip">Slaan oor</string>
<string name="cancel">Kanselleer</string>
<string name="ok">OK</string>

<string name="setup_welcome">Welkom by Cyanogen</string>
</resources>

+ 27
- 0
res/values-ar/strings.xml View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.net-->
<!--
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="next">القادم</string>
<string name="continue_label">متابعة</string>
<string name="prev">سابق</string>
<string name="skip">تخطي</string>
<string name="cancel">إلغاء</string>
<string name="ok">موافق</string>
<string name="setup_complete">اكتمال الإعداد</string>
<string name="setup_welcome">مرحبا بك في Cyanogen</string>
</resources>

+ 27
- 0
res/values-ca/strings.xml View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.net-->
<!--
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="next">Següent</string>
<string name="continue_label">Continua</string>
<string name="prev">Anterior</string>
<string name="skip">Omet</string>
<string name="cancel">Cancel·la</string>
<string name="ok">D\'acord</string>
<string name="setup_complete">Configuració completa</string>
<string name="setup_welcome">Benvingut a Cyanogen</string>
</resources>

+ 27
- 0
res/values-cs/strings.xml View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.net-->
<!--
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="next">Další</string>
<string name="continue_label">Pokračovat</string>
<string name="prev">Předchozí</string>
<string name="skip">Přeskočit</string>
<string name="cancel">Zrušit</string>
<string name="ok">OK</string>
<string name="setup_complete">Nastavení dokončeno</string>
<string name="setup_welcome">Vítá Vás Cyanogen</string>
</resources>

+ 27
- 0
res/values-es/strings.xml View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.net-->
<!--
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="next">Siguiente</string>
<string name="continue_label">Continuar</string>
<string name="prev">Anterior</string>
<string name="skip">Omitir</string>
<string name="cancel">Cancelar</string>
<string name="ok">Aceptar</string>
<string name="setup_complete">Configuración completada</string>
<string name="setup_welcome">Bienvenido a Cyanogen</string>
</resources>

+ 19
- 0
res/values-land/dimens.xml View 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>

</resources>

+ 29
- 0
res/values/colors.xml View 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
- 0
res/values/config.xml View 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
- 0
res/values/dimens.xml View 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
- 0
res/values/strings.xml View 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 &amp; 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
- 0
res/values/styles.xml View 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
- 0
res/values/version.xml View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="google_play_services_version">4323000</integer>
</resources>

+ 103
- 0
res/xml/timezones.xml View File

@@ -0,0 +1,103 @@
<?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.
-->
<timezones>
<timezone id="Pacific/Majuro">Marshall Islands</timezone>
<timezone id="Pacific/Midway">Midway Island</timezone>
<timezone id="Pacific/Honolulu">Hawaii</timezone>
<timezone id="America/Anchorage">Alaska</timezone>
<timezone id="America/Los_Angeles">Pacific Time</timezone>
<timezone id="America/Tijuana">Tijuana</timezone>
<timezone id="America/Phoenix">Arizona</timezone>
<timezone id="America/Chihuahua">Chihuahua</timezone>
<timezone id="America/Denver">Mountain Time</timezone>
<timezone id="America/Costa_Rica">Central America</timezone>
<timezone id="America/Chicago">Central Time</timezone>
<timezone id="America/Mexico_City">Mexico City</timezone>
<timezone id="America/Regina">Saskatchewan</timezone>
<timezone id="America/Bogota">Bogota</timezone>
<timezone id="America/New_York">Eastern Time</timezone>
<timezone id="America/Caracas">Venezuela</timezone>
<timezone id="America/Barbados">Atlantic Time (Barbados)</timezone>
<timezone id="America/Halifax">Atlantic Time (Canada)</timezone>
<timezone id="America/Manaus">Manaus</timezone>
<timezone id="America/Santiago">Santiago</timezone>
<timezone id="America/St_Johns">Newfoundland</timezone>
<timezone id="America/Sao_Paulo">Brasilia</timezone>
<timezone id="America/Argentina/Buenos_Aires">Buenos Aires</timezone>
<timezone id="America/Godthab">Greenland</timezone>
<timezone id="America/Montevideo">Montevideo</timezone>
<timezone id="Atlantic/South_Georgia">Mid-Atlantic</timezone>
<timezone id="Atlantic/Azores">Azores</timezone>
<timezone id="Atlantic/Cape_Verde">Cape Verde Islands</timezone>
<timezone id="Africa/Casablanca">Casablanca</timezone>
<timezone id="Europe/London">London, Dublin</timezone>
<timezone id="Europe/Amsterdam">Amsterdam, Berlin</timezone>
<timezone id="Europe/Belgrade">Belgrade</timezone>
<timezone id="Europe/Brussels">Brussels</timezone>
<timezone id="Europe/Sarajevo">Sarajevo</timezone>
<timezone id="Africa/Windhoek">Windhoek</timezone>
<timezone id="Africa/Brazzaville">W. Africa Time</timezone>
<timezone id="Asia/Amman">Amman, Jordan</timezone>
<timezone id="Europe/Athens">Athens, Istanbul</timezone>
<timezone id="Asia/Beirut">Beirut, Lebanon</timezone>
<timezone id="Africa/Cairo">Cairo</timezone>
<timezone id="Europe/Helsinki">Helsinki</timezone>
<timezone id="Asia/Jerusalem">Jerusalem</timezone>
<timezone id="Europe/Minsk">Minsk</timezone>
<timezone id="Africa/Harare">Harare</timezone>
<timezone id="Asia/Baghdad">Baghdad</timezone>
<timezone id="Europe/Moscow">Moscow</timezone>
<timezone id="Asia/Kuwait">Kuwait</timezone>
<timezone id="Africa/Nairobi">Nairobi</timezone>
<timezone id="Asia/Tehran">Tehran</timezone>
<timezone id="Asia/Baku">Baku</timezone>
<timezone id="Asia/Tbilisi">Tbilisi</timezone>
<timezone id="Asia/Yerevan">Yerevan</timezone>
<timezone id="Asia/Dubai">Dubai</timezone>
<timezone id="Asia/Kabul">Kabul</timezone>