diff options
author | cretin45 <cretin45@gmail.com> | 2015-01-15 16:04:44 -0800 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-01-15 16:04:44 -0800 |
commit | 0328b87bf68f6389049991c68caa515f4230f95f (patch) | |
tree | 556b0a23df4bb849eada991b01f4861c651f25e8 /res/layout | |
download | packages_apps_SetupWizard-0328b87bf68f6389049991c68caa515f4230f95f.zip packages_apps_SetupWizard-0328b87bf68f6389049991c68caa515f4230f95f.tar.gz packages_apps_SetupWizard-0328b87bf68f6389049991c68caa515f4230f95f.tar.bz2 |
SetupWizard: Initial commit
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/button_bar.xml | 37 | ||||
-rw-r--r-- | res/layout/choose_data_sim_page.xml | 44 | ||||
-rw-r--r-- | res/layout/data_sim_row.xml | 51 | ||||
-rw-r--r-- | res/layout/date_time_setup_custom_list_item_2.xml | 41 | ||||
-rw-r--r-- | res/layout/divider.xml | 21 | ||||
-rw-r--r-- | res/layout/header.xml | 26 | ||||
-rw-r--r-- | res/layout/header_condensed.xml | 26 | ||||
-rw-r--r-- | res/layout/locale_picker.xml | 42 | ||||
-rw-r--r-- | res/layout/locale_picker_item.xml | 33 | ||||
-rw-r--r-- | res/layout/location_settings.xml | 140 | ||||
-rw-r--r-- | res/layout/logo_header.xml | 45 | ||||
-rw-r--r-- | res/layout/mobile_data_settings.xml | 83 | ||||
-rw-r--r-- | res/layout/setup_datetime_page.xml | 98 | ||||
-rw-r--r-- | res/layout/setup_finalizing.xml | 13 | ||||
-rw-r--r-- | res/layout/setup_finished_page.xml | 32 | ||||
-rw-r--r-- | res/layout/setup_main.xml | 47 | ||||
-rw-r--r-- | res/layout/setup_welcome_page.xml | 32 | ||||
-rw-r--r-- | res/layout/sim_missing_page.xml | 49 |
18 files changed, 860 insertions, 0 deletions
diff --git a/res/layout/button_bar.xml b/res/layout/button_bar.xml new file mode 100644 index 0000000..9a6f9fa --- /dev/null +++ b/res/layout/button_bar.xml @@ -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>
\ No newline at end of file diff --git a/res/layout/choose_data_sim_page.xml b/res/layout/choose_data_sim_page.xml new file mode 100644 index 0000000..95162d3 --- /dev/null +++ b/res/layout/choose_data_sim_page.xml @@ -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> + + diff --git a/res/layout/data_sim_row.xml b/res/layout/data_sim_row.xml new file mode 100644 index 0000000..c75fd2d --- /dev/null +++ b/res/layout/data_sim_row.xml @@ -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>
\ No newline at end of file diff --git a/res/layout/date_time_setup_custom_list_item_2.xml b/res/layout/date_time_setup_custom_list_item_2.xml new file mode 100644 index 0000000..69ef5c1 --- /dev/null +++ b/res/layout/date_time_setup_custom_list_item_2.xml @@ -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> diff --git a/res/layout/divider.xml b/res/layout/divider.xml new file mode 100644 index 0000000..770c74d --- /dev/null +++ b/res/layout/divider.xml @@ -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" />
\ No newline at end of file diff --git a/res/layout/header.xml b/res/layout/header.xml new file mode 100644 index 0000000..2e76a08 --- /dev/null +++ b/res/layout/header.xml @@ -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>
\ No newline at end of file diff --git a/res/layout/header_condensed.xml b/res/layout/header_condensed.xml new file mode 100644 index 0000000..c47062c --- /dev/null +++ b/res/layout/header_condensed.xml @@ -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>
\ No newline at end of file diff --git a/res/layout/locale_picker.xml b/res/layout/locale_picker.xml new file mode 100644 index 0000000..6c943c5 --- /dev/null +++ b/res/layout/locale_picker.xml @@ -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> diff --git a/res/layout/locale_picker_item.xml b/res/layout/locale_picker_item.xml new file mode 100644 index 0000000..1beabd4 --- /dev/null +++ b/res/layout/locale_picker_item.xml @@ -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> diff --git a/res/layout/location_settings.xml b/res/layout/location_settings.xml new file mode 100644 index 0000000..393a180 --- /dev/null +++ b/res/layout/location_settings.xml @@ -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> diff --git a/res/layout/logo_header.xml b/res/layout/logo_header.xml new file mode 100644 index 0000000..5aa8df4 --- /dev/null +++ b/res/layout/logo_header.xml @@ -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>
\ No newline at end of file diff --git a/res/layout/mobile_data_settings.xml b/res/layout/mobile_data_settings.xml new file mode 100644 index 0000000..2ac3b35 --- /dev/null +++ b/res/layout/mobile_data_settings.xml @@ -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> + diff --git a/res/layout/setup_datetime_page.xml b/res/layout/setup_datetime_page.xml new file mode 100644 index 0000000..2622dad --- /dev/null +++ b/res/layout/setup_datetime_page.xml @@ -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> diff --git a/res/layout/setup_finalizing.xml b/res/layout/setup_finalizing.xml new file mode 100644 index 0000000..60a30d7 --- /dev/null +++ b/res/layout/setup_finalizing.xml @@ -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>
\ No newline at end of file diff --git a/res/layout/setup_finished_page.xml b/res/layout/setup_finished_page.xml new file mode 100644 index 0000000..9462d06 --- /dev/null +++ b/res/layout/setup_finished_page.xml @@ -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> + + diff --git a/res/layout/setup_main.xml b/res/layout/setup_main.xml new file mode 100644 index 0000000..c29af05 --- /dev/null +++ b/res/layout/setup_main.xml @@ -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> diff --git a/res/layout/setup_welcome_page.xml b/res/layout/setup_welcome_page.xml new file mode 100644 index 0000000..608a66c --- /dev/null +++ b/res/layout/setup_welcome_page.xml @@ -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> diff --git a/res/layout/sim_missing_page.xml b/res/layout/sim_missing_page.xml new file mode 100644 index 0000000..789de85 --- /dev/null +++ b/res/layout/sim_missing_page.xml @@ -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> + + + |