aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJohn Patterson <jdp@google.com>2020-07-01 12:45:04 +0200
committerJohn Patterson <jdp@google.com>2020-07-08 13:13:57 +0000
commita66655fd373cc9ef9ff06516a19141c60d2c2422 (patch)
tree1be2e60d2bcb1b3b37b3c24655a5ab8c0433f759 /res
parent41f8651ee86669c7607622b1207acb8a07bd66db (diff)
downloadCalendar-a66655fd373cc9ef9ff06516a19141c60d2c2422.tar.gz
Add CarCalendarAppandroid-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r76android-security-11.0.0_r75android-security-11.0.0_r74android-security-11.0.0_r73android-security-11.0.0_r72android-security-11.0.0_r71android-security-11.0.0_r70android-security-11.0.0_r69android-security-11.0.0_r68android-security-11.0.0_r67android-security-11.0.0_r66android-security-11.0.0_r65android-security-11.0.0_r64android-security-11.0.0_r63android-security-11.0.0_r62android-security-11.0.0_r61android-security-11.0.0_r60android-security-11.0.0_r59android-security-11.0.0_r58android-security-11.0.0_r57android-security-11.0.0_r56android-security-11.0.0_r55android-security-11.0.0_r54android-security-11.0.0_r53android-security-11.0.0_r52android-security-11.0.0_r51android-security-11.0.0_r50android-security-11.0.0_r49android-security-11.0.0_r1android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r5android-11.0.0_r4android-11.0.0_r3android-11.0.0_r25android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-releaseandroid11-dev
This was moved from vendor/auto/embedded/apps/Calendar Header licence was updated in all files Added OWNERS file Bug: 140862425 Bug: 160135021 Merged-In: I64cca6684ba132f47308911bdc73f35fe2176502 Test: clean build from root still works Change-Id: I64cca6684ba132f47308911bdc73f35fe2176502
Diffstat (limited to 'res')
-rw-r--r--res/drawable/ic_calendar_sync.xml91
-rw-r--r--res/drawable/ic_navigation_expand_less_white_24dp.xml24
-rw-r--r--res/drawable/ic_navigation_expand_more_white_24dp.xml24
-rw-r--r--res/drawable/ic_navigation_gm2_24px.xml24
-rw-r--r--res/drawable/ic_phone_gm2_24px.xml24
-rw-r--r--res/layout/all_day_events_item.xml60
-rw-r--r--res/layout/calendar.xml47
-rw-r--r--res/layout/event_item.xml71
-rw-r--r--res/layout/title_item.xml36
-rw-r--r--res/values/colors.xml20
-rw-r--r--res/values/dimens.xml20
-rw-r--r--res/values/ic_launcher_background.xml18
-rw-r--r--res/values/strings.xml48
-rw-r--r--res/values/styles.xml37
14 files changed, 544 insertions, 0 deletions
diff --git a/res/drawable/ic_calendar_sync.xml b/res/drawable/ic_calendar_sync.xml
new file mode 100644
index 0000000..b527dfd
--- /dev/null
+++ b/res/drawable/ic_calendar_sync.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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:width="256dp"
+ android:height="256dp"
+ android:viewportWidth="256"
+ android:viewportHeight="256">
+ <path
+ android:pathData="M16,8L240,8A8,8 0,0 1,248 16L248,240A8,8 0,0 1,240 248L16,248A8,8 0,0 1,8 240L8,16A8,8 0,0 1,16 8z"
+ android:fillColor="#F9F9F9"/>
+ <path
+ android:pathData="M16,7L240,7A9,9 0,0 1,249 16L249,240A9,9 0,0 1,240 249L16,249A9,9 0,0 1,7 240L7,16A9,9 0,0 1,16 7z"
+ android:strokeAlpha="0.1"
+ android:strokeWidth="2"
+ android:fillColor="#00000000"
+ android:strokeColor="#000000"/>
+ <path
+ android:pathData="M248,57H249V56V16C249,11.029 244.971,7 240,7H16C11.029,7 7,11.029 7,16V56V57H8H248Z"
+ android:strokeWidth="2"
+ android:fillColor="#F6BF26"
+ android:strokeColor="#F6BF26"/>
+ <path
+ android:pathData="M6,58h244v2h-244z"
+ android:strokeAlpha="0.2"
+ android:fillColor="#000000"
+ android:fillAlpha="0.2"/>
+ <path
+ android:pathData="M6,60h244v2h-244z"
+ android:strokeAlpha="0.1"
+ android:fillColor="#000000"
+ android:fillAlpha="0.1"/>
+ <path
+ android:pathData="M36,121h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M36,161h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M36,201h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M84,81h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M84,121h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M84,161h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M84,201h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M132,81h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M132,121h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M132,161h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M132,201h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M180,81h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M180,121h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M180,161h40v24h-40z"
+ android:fillColor="#C0C0C0"/>
+ <path
+ android:pathData="M180,201h40v24h-40z"
+ android:fillColor="#F6BF26"/>
+</vector>
diff --git a/res/drawable/ic_navigation_expand_less_white_24dp.xml b/res/drawable/ic_navigation_expand_less_white_24dp.xml
new file mode 100644
index 0000000..a7b9522
--- /dev/null
+++ b/res/drawable/ic_navigation_expand_less_white_24dp.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M12,8l-6,6 1.41,1.41L12,10.83l4.59,4.58L18,14z"
+ android:fillColor="#FFFFFF"/>
+</vector>
diff --git a/res/drawable/ic_navigation_expand_more_white_24dp.xml b/res/drawable/ic_navigation_expand_more_white_24dp.xml
new file mode 100644
index 0000000..8aba65f
--- /dev/null
+++ b/res/drawable/ic_navigation_expand_more_white_24dp.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M16.59,8.59L12,13.17 7.41,8.59 6,10l6,6 6,-6z"
+ android:fillColor="#FFFFFF"/>
+</vector>
diff --git a/res/drawable/ic_navigation_gm2_24px.xml b/res/drawable/ic_navigation_gm2_24px.xml
new file mode 100644
index 0000000..b945227
--- /dev/null
+++ b/res/drawable/ic_navigation_gm2_24px.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="#FF000000"
+ android:pathData="M12,7.27l4.28,10.43 -3.47,-1.53 -0.81,-0.36 -0.81,0.36 -3.47,1.53L12,7.27M12,2L4.5,20.29l0.71,0.71L12,18l6.79,3 0.71,-0.71L12,2z"/>
+</vector>
diff --git a/res/drawable/ic_phone_gm2_24px.xml b/res/drawable/ic_phone_gm2_24px.xml
new file mode 100644
index 0000000..669fde2
--- /dev/null
+++ b/res/drawable/ic_phone_gm2_24px.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="#FF000000"
+ android:pathData="M16.01,14.46l-2.62,2.62c-2.75,-1.49 -5.01,-3.75 -6.5,-6.5l2.62,-2.62c0.24,-0.24 0.34,-0.58 0.27,-0.9L9.13,3.8c-0.09,-0.46 -0.5,-0.8 -0.98,-0.8H4c-0.56,0 -1.03,0.47 -1,1.03 0.17,2.91 1.04,5.63 2.43,8.01 1.57,2.69 3.81,4.93 6.5,6.5 2.38,1.39 5.1,2.26 8.01,2.43 0.56,0.03 1.03,-0.44 1.03,-1v-4.15c0,-0.48 -0.34,-0.89 -0.8,-0.98l-3.26,-0.65c-0.33,-0.07 -0.67,0.04 -0.9,0.27z"/>
+</vector>
diff --git a/res/layout/all_day_events_item.xml b/res/layout/all_day_events_item.xml
new file mode 100644
index 0000000..7cf5569
--- /dev/null
+++ b/res/layout/all_day_events_item.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="16dp"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/title_text"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ style="@style/EventTitleText"/>
+
+ <FrameLayout
+ android:id="@+id/expand_collapse"
+ android:layout_width="@dimen/car_ui_list_item_height"
+ android:layout_height="match_parent"
+ android:background="?android:attr/selectableItemBackground">
+
+ <ImageView
+ android:id="@+id/expand_collapse_icon"
+ android:layout_gravity="center"
+ android:layout_width="@dimen/car_calendar_expand_collapse_size"
+ android:layout_height="@dimen/car_calendar_expand_collapse_size"/>
+ </FrameLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/events"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" />
+
+ <View
+ android:layout_marginBottom="16dp"
+ android:layout_width="match_parent"
+ android:layout_height="1.6dp"
+ android:background="@color/car_calendar_allday_divider_color"/>
+
+</LinearLayout>
diff --git a/res/layout/calendar.xml b/res/layout/calendar.xml
new file mode 100644
index 0000000..4c31ddc
--- /dev/null
+++ b/res/layout/calendar.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ android:orientation="vertical">
+
+ <com.android.car.ui.toolbar.Toolbar
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:title="@string/app_name"
+ />
+
+ <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent">
+ <com.android.car.ui.recyclerview.CarUiRecyclerView
+ android:id="@+id/events"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ />
+
+ <TextView
+ android:id="@+id/no_events_text"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_margin="@dimen/car_ui_list_item_start_inset"
+ android:gravity="center"
+ android:textAppearance="@style/NoEventsText"/>
+
+ </FrameLayout>
+
+</LinearLayout>
diff --git a/res/layout/event_item.xml b/res/layout/event_item.xml
new file mode 100644
index 0000000..68dda47
--- /dev/null
+++ b/res/layout/event_item.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2019 Google Inc.
+
+ 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_width="match_parent"
+ android:layout_height="@dimen/car_ui_list_item_height">
+
+ <!-- Title and description. -->
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:paddingStart="@dimen/car_ui_list_item_start_inset"
+ android:paddingHorizontal="@dimen/car_ui_padding_2"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/event_title"
+ android:layout_marginBottom="@dimen/car_ui_padding_0"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/EventTitleText"/>
+
+ <TextView
+ android:id="@+id/description_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/EventDetailText"/>
+
+ </LinearLayout>
+
+ <!-- Secondary action icon. -->
+ <com.android.car.calendar.DrawableStateImageButton
+ android:id="@+id/primary_action_button"
+ android:layout_width="@dimen/car_ui_list_item_height"
+ android:layout_height="@dimen/car_ui_list_item_height"
+ android:scaleType="fitCenter"
+ android:tint="@color/car_calendar_action_icon_color"
+ android:background="?android:attr/selectableItemBackground"
+ android:padding="@dimen/car_ui_padding_4"
+ android:layout_gravity="center"/>
+
+ <!-- Secondary action icon. -->
+ <com.android.car.calendar.DrawableStateImageButton
+ android:id="@+id/secondary_action_button"
+ android:layout_width="@dimen/car_ui_list_item_height"
+ android:layout_height="@dimen/car_ui_list_item_height"
+ android:scaleType="fitCenter"
+ android:tint="@color/car_calendar_action_icon_color"
+ android:background="?android:attr/selectableItemBackground"
+ android:padding="@dimen/car_ui_padding_4"
+ android:layout_gravity="center"/>
+
+</LinearLayout>
+
diff --git a/res/layout/title_item.xml b/res/layout/title_item.xml
new file mode 100644
index 0000000..9be5c3b
--- /dev/null
+++ b/res/layout/title_item.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2019 Google Inc.
+
+ 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:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingHorizontal="@dimen/car_ui_list_item_start_inset"
+ android:paddingTop="@dimen/car_ui_padding_4"
+ android:paddingBottom="@dimen/car_ui_padding_1"
+ android:gravity="bottom"
+ >
+
+ <TextView
+ style="@style/DayTitleText"
+ android:id="@+id/date_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ />
+
+</LinearLayout>
diff --git a/res/values/colors.xml b/res/values/colors.xml
new file mode 100644
index 0000000..30fddf3
--- /dev/null
+++ b/res/values/colors.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<resources>
+ <color name="car_calendar_action_divider_color">#33ffffff</color>
+ <color name="car_calendar_allday_divider_color">#ffffffff</color>
+ <color name="car_calendar_action_icon_color">@color/car_ui_toolbar_menu_item_icon_color</color>
+</resources> \ No newline at end of file
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
new file mode 100644
index 0000000..b9a489f
--- /dev/null
+++ b/res/values/dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<resources>
+ <dimen name="car_calendar_time_width">192dp</dimen>
+ <dimen name="car_calendar_indicator_width">18dp</dimen>
+ <dimen name="car_calendar_expand_collapse_size">48dp</dimen>
+</resources> \ No newline at end of file
diff --git a/res/values/ic_launcher_background.xml b/res/values/ic_launcher_background.xml
new file mode 100644
index 0000000..0d602f7
--- /dev/null
+++ b/res/values/ic_launcher_background.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<resources>
+ <color name="ic_launcher_background">#3479BB</color>
+</resources> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..a7f7c74
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Name of the application [CHAR LIMIT=30] -->
+ <string name="app_name">Calendar</string>
+
+ <!-- Toast error message when no dialer app found to make a call [CHAR LIMIT=30] -->
+ <string name="no_dialler">No dialer available</string>
+
+ <!-- Shown when there are no events to show. [CHAR LIMIT=200] -->
+ <string name="no_events">No scheduled events. You\'re free!</string>
+
+ <!-- Shown when there are no calendars to show. [CHAR LIMIT=200] -->
+ <string name="no_calendars">Calendar may be starting up, or you may need to check your settings in the Companion App</string>
+
+ <!-- The text shown instead of a start / end time for all-day events [CHAR LIMIT=30] -->
+ <string name="all_day_event">All day</string>
+
+ <!-- The conference call description [CHAR LIMIT=50] -->
+ <string name="phone_number">
+ <xliff:g id="number" example="+49 (0) 555 1234567">%1$s</xliff:g>
+ </string>
+
+ <!-- The conference call description [CHAR LIMIT=50] -->
+ <string name="phone_number_with_pin">
+ <xliff:g id="number" example="+49 (0) 555 1234567">%1$s</xliff:g>
+ PIN:
+ <xliff:g id="pin" example="4567">%2$s</xliff:g>
+ </string>
+
+ <!-- The title for the all-day events section. Only shown for more than one item. [CHAR LIMIT=120] -->
+ <plurals name="all_day_title">
+ <item quantity="other">%d all day events</item>
+ </plurals>
+</resources> \ No newline at end of file
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 0000000..04fdb66
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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.
+-->
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <style name="EventTitleText" parent="TextAppearance.CarUi.ListItem">
+ <item name="android:maxLines">1</item>
+ <item name="android:ellipsize">end</item>
+ </style>
+
+ <style name="EventDetailText" parent="TextAppearance.CarUi.ListItem.Body">
+ <item name="android:maxLines">1</item>
+ <item name="android:ellipsize">end</item>
+ </style>
+
+ <style name="DayTitleText" parent="TextAppearance.CarUi.ListItem.Body">
+ <item name="android:maxLines">1</item>
+ <item name="android:ellipsize">end</item>
+ </style>
+
+ <style name="NoEventsText" parent="TextAppearance.CarUi">
+ <item name="android:textSize">@dimen/car_ui_body1_size</item>
+ </style>
+
+</resources>