diff options
author | Yorke Lee <yorkelee@google.com> | 2013-07-23 16:53:36 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-07-23 18:25:34 -0700 |
commit | 481994f4962ec937ba8775578c2bb9d76141fd7f (patch) | |
tree | bc4ee7da87d8ad0d30f852e7678074cda13d9756 /res/drawable | |
parent | f2dc8a2704486eb031cfa5014d0626e96f5d5a43 (diff) |
Redlines for call history screen, as well as most recent call log
* Add and change background and layout for CallLogListItem
* Create wrapper view for most recent call log item
* Change actionbar background in Call History activity
* Hide phone number in call log items
* Add tab indicator drawables
Change-Id: Ic86c3fac857971aba58ba3ac1d79ddebaf663da6
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/action_bar_tab.xml | 26 | ||||
-rw-r--r-- | res/drawable/bottom_border_background.xml | 2 | ||||
-rw-r--r-- | res/drawable/call_history_actionbar_background.xml | 27 | ||||
-rw-r--r-- | res/drawable/tab_selected.xml | 31 | ||||
-rw-r--r-- | res/drawable/tab_selected_focused.xml | 45 | ||||
-rw-r--r-- | res/drawable/tab_selected_pressed.xml | 36 | ||||
-rw-r--r-- | res/drawable/tab_unselected_focused.xml | 35 | ||||
-rw-r--r-- | res/drawable/tab_unselected_pressed.xml | 26 |
8 files changed, 227 insertions, 1 deletions
diff --git a/res/drawable/action_bar_tab.xml b/res/drawable/action_bar_tab.xml new file mode 100644 index 000000000..35df0538f --- /dev/null +++ b/res/drawable/action_bar_tab.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:drawable="@drawable/tab_selected_pressed" android:state_pressed="true" android:state_selected="true"/> + <item android:drawable="@drawable/tab_selected_focused" android:state_focused="true" android:state_selected="true"/> + <item android:drawable="@drawable/tab_selected" android:state_selected="true"/> + <item android:drawable="@drawable/tab_unselected_pressed" android:state_pressed="true"/> + <item android:drawable="@drawable/tab_unselected_focused" android:state_focused="true"/> + +</selector>
\ No newline at end of file diff --git a/res/drawable/bottom_border_background.xml b/res/drawable/bottom_border_background.xml index 9a35e8a4d..7dad5a446 100644 --- a/res/drawable/bottom_border_background.xml +++ b/res/drawable/bottom_border_background.xml @@ -23,7 +23,7 @@ </item> <item> <shape android:shape="rectangle" > - <solid android:color="@color/background_dial_holo_light" /> + <solid android:color="@color/background_dialer_list_items" /> </shape> </item> </layer-list>
\ No newline at end of file diff --git a/res/drawable/call_history_actionbar_background.xml b/res/drawable/call_history_actionbar_background.xml new file mode 100644 index 000000000..f781f27b0 --- /dev/null +++ b/res/drawable/call_history_actionbar_background.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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. +--> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + <item> + <shape android:shape="rectangle"> + <solid android:color="#c6c6c6" /> + </shape> + </item> + <item android:bottom="1dip"> + <shape android:shape="rectangle"> + <solid android:color="@color/actionbar_background_color" /> + </shape> + </item> +</layer-list>
\ No newline at end of file diff --git a/res/drawable/tab_selected.xml b/res/drawable/tab_selected.xml new file mode 100644 index 000000000..25d76fc27 --- /dev/null +++ b/res/drawable/tab_selected.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item> + <shape android:shape="rectangle" > + <solid android:color="#7d7d7d" /> + </shape> + </item> + <item android:bottom="6dp"> + <shape android:shape="rectangle" > + <solid android:color="@color/actionbar_background_color" /> + </shape> + </item> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/tab_selected_focused.xml b/res/drawable/tab_selected_focused.xml new file mode 100644 index 000000000..8efd7b30e --- /dev/null +++ b/res/drawable/tab_selected_focused.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item> + <shape android:shape="rectangle" > + <solid android:color="#7d7d7d" /> + </shape> + </item> + <item android:bottom="6dp"> + <shape android:shape="rectangle" > + <solid android:color="@color/actionbar_background_color" /> + </shape> + </item> + <item> + <shape android:shape="rectangle" > + <solid android:color="#27ffffff" /> + </shape> + </item> + <item> + <shape android:shape="rectangle" > + <solid android:color="#00000000" /> + + <stroke + android:width="2dp" + android:color="#27ffffff" /> + </shape> + </item> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/tab_selected_pressed.xml b/res/drawable/tab_selected_pressed.xml new file mode 100644 index 000000000..a38344e04 --- /dev/null +++ b/res/drawable/tab_selected_pressed.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item> + <shape android:shape="rectangle" > + <solid android:color="#7d7d7d" /> + </shape> + </item> + <item android:bottom="6dp"> + <shape android:shape="rectangle" > + <solid android:color="@color/actionbar_background_color" /> + </shape> + </item> + <item> + <shape android:shape="rectangle" > + <solid android:color="#4dffffff" /> + </shape> + </item> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/tab_unselected_focused.xml b/res/drawable/tab_unselected_focused.xml new file mode 100644 index 000000000..2aceb63ef --- /dev/null +++ b/res/drawable/tab_unselected_focused.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item> + <shape android:shape="rectangle" > + <solid android:color="#27ffffff" /> + </shape> + </item> + <item> + <shape android:shape="rectangle" > + <solid android:color="#00000000" /> + + <stroke + android:width="2dp" + android:color="#27ffffff" /> + </shape> + </item> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/tab_unselected_pressed.xml b/res/drawable/tab_unselected_pressed.xml new file mode 100644 index 000000000..2362b6581 --- /dev/null +++ b/res/drawable/tab_unselected_pressed.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item> + <shape android:shape="rectangle" > + <solid android:color="#4dffffff" /> + </shape> + </item> + +</layer-list>
\ No newline at end of file |