summaryrefslogtreecommitdiff
path: root/java/com/android/newbubble/res
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/newbubble/res')
-rw-r--r--java/com/android/newbubble/res/drawable/bottom_action_scrim.xml24
-rw-r--r--java/com/android/newbubble/res/drawable/bubble_background_with_radius.xml25
-rw-r--r--java/com/android/newbubble/res/drawable/bubble_pill_down.xml23
-rw-r--r--java/com/android/newbubble/res/drawable/bubble_pill_up.xml23
-rw-r--r--java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml21
-rw-r--r--java/com/android/newbubble/res/drawable/bubble_shape_circle.xml24
-rw-r--r--java/com/android/newbubble/res/drawable/bubble_shape_circle_small.xml23
-rw-r--r--java/com/android/newbubble/res/layout/bottom_action_base.xml88
-rw-r--r--java/com/android/newbubble/res/layout/new_bubble_base.xml139
-rw-r--r--java/com/android/newbubble/res/values/colors.xml25
-rw-r--r--java/com/android/newbubble/res/values/strings.xml34
-rw-r--r--java/com/android/newbubble/res/values/styles.xml39
-rw-r--r--java/com/android/newbubble/res/values/values.xml48
13 files changed, 0 insertions, 536 deletions
diff --git a/java/com/android/newbubble/res/drawable/bottom_action_scrim.xml b/java/com/android/newbubble/res/drawable/bottom_action_scrim.xml
deleted file mode 100644
index 1109aa6d2..000000000
--- a/java/com/android/newbubble/res/drawable/bottom_action_scrim.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle">
- <gradient
- android:angle="90"
- android:endColor="@android:color/transparent"
- android:startColor="#FF000000"/>
-</shape>
diff --git a/java/com/android/newbubble/res/drawable/bubble_background_with_radius.xml b/java/com/android/newbubble/res/drawable/bubble_background_with_radius.xml
deleted file mode 100644
index 4fd871c47..000000000
--- a/java/com/android/newbubble/res/drawable/bubble_background_with_radius.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
- <corners
- android:bottomRightRadius="@dimen/bubble_radius"
- android:topRightRadius="@dimen/bubble_radius"
- android:bottomLeftRadius="@dimen/bubble_radius"
- android:topLeftRadius="@dimen/bubble_radius"/>
- <solid android:color="@android:color/white"/>
-</shape>
diff --git a/java/com/android/newbubble/res/drawable/bubble_pill_down.xml b/java/com/android/newbubble/res/drawable/bubble_pill_down.xml
deleted file mode 100644
index 721e6fc52..000000000
--- a/java/com/android/newbubble/res/drawable/bubble_pill_down.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
- <corners
- android:bottomRightRadius="@dimen/bubble_radius"
- android:bottomLeftRadius="@dimen/bubble_radius"/>
- <solid android:color="@android:color/white"/>
-</shape>
diff --git a/java/com/android/newbubble/res/drawable/bubble_pill_up.xml b/java/com/android/newbubble/res/drawable/bubble_pill_up.xml
deleted file mode 100644
index 9dc0395f4..000000000
--- a/java/com/android/newbubble/res/drawable/bubble_pill_up.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
- <corners
- android:topRightRadius="8dp"
- android:topLeftRadius="8dp"/>
- <solid android:color="@android:color/white"/>
-</shape>
diff --git a/java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml b/java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml
deleted file mode 100644
index 77147f828..000000000
--- a/java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<ripple xmlns:android="http://schemas.android.com/apk/res/android"
- android:color="@color/bubble_ripple_color">
- <item android:drawable="@drawable/bubble_pill_up"/>
-</ripple>
diff --git a/java/com/android/newbubble/res/drawable/bubble_shape_circle.xml b/java/com/android/newbubble/res/drawable/bubble_shape_circle.xml
deleted file mode 100644
index b188e9d3f..000000000
--- a/java/com/android/newbubble/res/drawable/bubble_shape_circle.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="oval">
- <size
- android:width="@dimen/bubble_size"
- android:height="@dimen/bubble_size"/>
- <solid android:color="@android:color/transparent"/>
-</shape>
diff --git a/java/com/android/newbubble/res/drawable/bubble_shape_circle_small.xml b/java/com/android/newbubble/res/drawable/bubble_shape_circle_small.xml
deleted file mode 100644
index 73b9cf338..000000000
--- a/java/com/android/newbubble/res/drawable/bubble_shape_circle_small.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
- <solid android:color="@android:color/white"/>
- <size android:width="@dimen/bubble_small_icon_size"
- android:height="@dimen/bubble_small_icon_size"/>
-</shape>
diff --git a/java/com/android/newbubble/res/layout/bottom_action_base.xml b/java/com/android/newbubble/res/layout/bottom_action_base.xml
deleted file mode 100644
index b4d7c891e..000000000
--- a/java/com/android/newbubble/res/layout/bottom_action_base.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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="@dimen/bubble_bottom_action_view_height"
- android:weightSum="2"
- android:orientation="horizontal"
- android:gravity="center"
- android:background="@drawable/bottom_action_scrim"
- android:contentDescription="@string/a11y_bubble_bottom_action_description">
-
- <!-- Add space to make sure text is not off screen when scaled. (1 - 1/1.3) / 2 ~= 0.11 -->
- <View
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.11"/>
-
- <LinearLayout
- android:id="@+id/bottom_action_dismiss_layout"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.78"
- android:gravity="center"
- android:contentDescription="@string/bubble_bottom_action_hide">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/bubble_bottom_action_text_offset"
- android:maxLines="2"
- android:ellipsize="end"
- android:textColor="@color/bubble_button_color_white"
- android:textSize="16sp"
- android:fontFamily="roboto-medium"
- android:text="@string/bubble_bottom_action_hide"
- android:drawableStart="@drawable/quantum_ic_clear_vd_theme_24"
- android:drawableTint="@color/bubble_button_color_white"
- android:drawablePadding="10dp"
- android:elevation="2dp"/>
- </LinearLayout>
-
- <View
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.22"/>
-
- <LinearLayout
- android:id="@+id/bottom_action_end_call_layout"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.78"
- android:gravity="center"
- android:contentDescription="@string/bubble_bottom_action_end_call">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/bubble_bottom_action_text_offset"
- android:maxLines="2"
- android:ellipsize="end"
- android:textColor="@color/bubble_button_color_white"
- android:textSize="16sp"
- android:fontFamily="roboto-medium"
- android:text="@string/bubble_bottom_action_end_call"
- android:drawableStart="@drawable/quantum_ic_call_end_vd_theme_24"
- android:drawableTint="@color/bubble_button_color_white"
- android:drawablePadding="10dp"
- android:elevation="2dp"/>
- </LinearLayout>
-
- <View
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.11"/>
-
-</LinearLayout> \ No newline at end of file
diff --git a/java/com/android/newbubble/res/layout/new_bubble_base.xml b/java/com/android/newbubble/res/layout/new_bubble_base.xml
deleted file mode 100644
index 9b8250d6b..000000000
--- a/java/com/android/newbubble/res/layout/new_bubble_base.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clipChildren="true"
- android:clipToPadding="false"
- android:layoutDirection="ltr"
- tools:theme="@style/Theme.AppCompat">
- <RelativeLayout
- android:id="@+id/bubble_primary_container"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:animateLayoutChanges="true"
- android:clipChildren="false"
- android:clipToPadding="false">
- <FrameLayout
- android:id="@+id/bubble_button_primary"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/bubble_shadow_padding_size_horizontal"
- android:layout_marginEnd="@dimen/bubble_shadow_padding_size_horizontal"
- android:layout_marginTop="@dimen/bubble_shadow_padding_size_vertical"
- android:layout_marginBottom="@dimen/bubble_shadow_padding_size_vertical"
- android:contentDescription="@string/a11y_bubble_description"
- android:measureAllChildren="false">
- <ImageView
- android:id="@+id/bubble_icon_avatar"
- android:layout_width="@dimen/bubble_size"
- android:layout_height="@dimen/bubble_size"
- android:background="@android:drawable/ic_btn_speak_now"
- android:elevation="@dimen/bubble_elevation"/>
- <ImageView
- android:id="@+id/bubble_icon_primary"
- android:layout_width="@dimen/bubble_small_icon_size"
- android:layout_height="@dimen/bubble_small_icon_size"
- android:layout_gravity="bottom|right"
- android:padding="@dimen/bubble_small_icon_padding"
- android:tint="@android:color/white"
- android:tintMode="src_in"
- android:background="@drawable/bubble_shape_circle_small"
- android:measureAllChildren="false"
- tools:backgroundTint="#FF0000AA"
- tools:src="@android:drawable/ic_btn_speak_now"
- android:elevation="@dimen/bubble_dragging_elevation"/>
- </FrameLayout>
- </RelativeLayout>
- <!-- The RelativeLayout below serves as boundary for @id/bubble_expanded_layout during animation -->
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/bubble_shadow_padding_size_vertical_minus"
- android:clipChildren="true"
- android:clipToPadding="false"
- android:layout_below="@id/bubble_primary_container">
- <RelativeLayout
- android:id="@+id/bubble_expanded_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingStart="@dimen/bubble_shadow_padding_size_horizontal_double"
- android:paddingEnd="@dimen/bubble_shadow_padding_size_horizontal_double"
- android:paddingBottom="@dimen/bubble_shadow_padding_size_vertical"
- android:clipChildren="false"
- android:clipToPadding="false"
- android:visibility="gone"
- tools:visibility="visible">
- <RelativeLayout
- android:id="@+id/bubble_triangle"
- android:layout_width="12dp"
- android:layout_height="12dp"
- android:layout_marginTop="7dp"
- android:layout_marginBottom="-6dp"
- android:layout_centerHorizontal="true"
- android:background="@color/background_dialer_white"
- android:elevation="@dimen/bubble_expanded_elevation"
- android:rotation="45">
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/bubble_expanded_menu"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/bubble_triangle"
- android:background="@drawable/bubble_background_with_radius"
- android:elevation="@dimen/bubble_expanded_elevation"
- android:clipChildren="false"
- android:clipToPadding="false"
- android:layoutDirection="inherit">
- <com.android.newbubble.NewCheckableButton
- android:id="@+id/bubble_button_full_screen"
- android:layout_marginTop="8dp"
- android:textColor="@color/bubble_button_color_grey"
- android:background="@drawable/bubble_ripple_pill_up"
- android:drawableTint="@color/bubble_button_color_grey"
- style="@style/CheckableButton"/>
- <com.android.newbubble.NewCheckableButton
- android:id="@+id/bubble_button_mute"
- android:layout_below="@id/bubble_button_full_screen"
- android:textColor="@color/bubble_button_color_grey"
- android:background="@color/background_dialer_white"
- android:drawableTint="@color/bubble_button_color_grey"
- style="@style/CheckableButtonWithSelectableItemBackground"/>
- <com.android.newbubble.NewCheckableButton
- android:id="@+id/bubble_button_audio_route"
- android:layout_below="@id/bubble_button_mute"
- android:textColor="@color/bubble_button_color_grey"
- android:background="@color/background_dialer_white"
- android:drawableTint="@color/bubble_button_color_grey"
- style="@style/CheckableButtonWithSelectableItemBackground"/>
- <com.android.newbubble.NewCheckableButton
- android:id="@+id/bubble_button_end_call"
- android:layout_below="@id/bubble_button_audio_route"
- android:layout_marginTop="@dimen/bubble_expanded_separator_height"
- android:textColor="@color/bubble_button_color_white"
- android:background="@drawable/bubble_pill_down"
- android:backgroundTint="@color/dialer_end_call_button_color"
- android:foreground="?attr/selectableItemBackground"
- android:drawableTint="@color/bubble_button_color_white"
- style="@style/CheckableButton"/>
- </RelativeLayout>
- </RelativeLayout>
- </RelativeLayout>
-</RelativeLayout>
diff --git a/java/com/android/newbubble/res/values/colors.xml b/java/com/android/newbubble/res/values/colors.xml
deleted file mode 100644
index 74ad85cea..000000000
--- a/java/com/android/newbubble/res/values/colors.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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="bubble_primary_background_darken">#33000000</color>
-
- <color name="bubble_ripple_color">@color/bubble_primary_background_darken</color>
- <color name="bubble_button_color_grey">@color/icon_color_grey</color>
- <color name="bubble_button_color_white">@color/dialer_primary_text_color_white</color>
- <color name="bubble_button_color_blue">@color/dialer_theme_color</color>
-</resources>
diff --git a/java/com/android/newbubble/res/values/strings.xml b/java/com/android/newbubble/res/values/strings.xml
deleted file mode 100644
index 7ef61cecc..000000000
--- a/java/com/android/newbubble/res/values/strings.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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>
- <!-- A string for Talkback to read when accessibility user touch bubble. -->
- <string name="a11y_bubble_description">Dialer bubble</string>
- <!-- A string to describe bubble bottom actions for accessibility user. -->
- <string name="a11y_bubble_bottom_action_description">Bottom action buttons</string>
- <!-- A string to describe available action for accessibility user. It will be read as "Actions:
- double tap to expand call action menu". -->
- <string name="a11y_bubble_primary_button_expand_action">Expand call action menu</string>
- <!-- A string to describe available action for accessibility user. It will be read as "Actions:
- double tap to collapse call action menu". -->
- <string name="a11y_bubble_primary_button_collapse_action">Collapse call action menu</string>
-
- <!-- The label of drag-and-drop target for dismissing bubble. [CHAR LIMIT=20]-->
- <string name="bubble_bottom_action_hide">Hide</string>
- <!-- The label of drag-and-drop target for ending call. [CHAR LIMIT=20]-->
- <string name="bubble_bottom_action_end_call">End call</string>
-</resources>
diff --git a/java/com/android/newbubble/res/values/styles.xml b/java/com/android/newbubble/res/values/styles.xml
deleted file mode 100644
index 5a900be6b..000000000
--- a/java/com/android/newbubble/res/values/styles.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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>
- <style name="CheckableButton">
- <item name="android:layout_width">@dimen/bubble_expanded_width</item>
- <item name="android:layout_height">44dp</item>
-
- <item name="android:gravity">center_vertical</item>
- <item name="android:maxLines">2</item>
- <item name="android:ellipsize">end</item>
- <item name="android:paddingStart">@dimen/bubble_button_padding_horizontal</item>
- <item name="android:paddingEnd">@dimen/bubble_button_padding_horizontal</item>
- <item name="android:drawablePadding">@dimen/bubble_icon_padding</item>
- </style>
-
- <style name="SelectableItemTheme">
- <item name="colorControlHighlight">@color/bubble_ripple_color</item>
- </style>
- <style name="CheckableButtonWithSelectableItemBackground" parent="CheckableButton">
- <item name="android:theme">@style/SelectableItemTheme</item>
- <item name="android:foreground">?attr/selectableItemBackground</item>
-
- </style>
-</resources> \ No newline at end of file
diff --git a/java/com/android/newbubble/res/values/values.xml b/java/com/android/newbubble/res/values/values.xml
deleted file mode 100644
index f449c9bed..000000000
--- a/java/com/android/newbubble/res/values/values.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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="bubble_size">56dp</dimen>
- <dimen name="bubble_icon_padding">16dp</dimen>
- <dimen name="bubble_dragging_elevation_change">6dp</dimen>
- <dimen name="bubble_dragging_elevation">12dp</dimen>
-
- <dimen name="bubble_button_height">36dp</dimen>
- <dimen name="bubble_button_icon_padding">16dp</dimen>
- <dimen name="bubble_button_padding_vertical">12dp</dimen>
- <dimen name="bubble_button_padding_horizontal">16dp</dimen>
-
- <dimen name="bubble_off_screen_size_horizontal">-4dp</dimen>
- <!-- 36dp - 16dp(bubble_shadow_padding_size_vertical) -->
- <dimen name="bubble_safe_margin_vertical">20dp</dimen>
-
- <dimen name="bubble_shadow_padding_size_vertical">16dp</dimen>
- <dimen name="bubble_shadow_padding_size_vertical_minus">-16dp</dimen>
- <dimen name="bubble_shadow_padding_size_horizontal">12dp</dimen>
- <dimen name="bubble_shadow_padding_size_horizontal_double">24dp</dimen>
-
- <dimen name="bubble_elevation">6dp</dimen>
- <dimen name="bubble_expanded_elevation">8dp</dimen>
- <dimen name="bubble_expanded_width">176dp</dimen>
- <dimen name="bubble_radius">16dp</dimen>
- <dimen name="bubble_expanded_separator_height">8dp</dimen>
- <dimen name="bubble_small_icon_size">24dp</dimen>
- <dimen name="bubble_small_icon_padding">4dp</dimen>
-
- <dimen name="bubble_bottom_action_view_height">124dp</dimen>
- <dimen name="bubble_bottom_action_text_offset">28dp</dimen>
-</resources>