diff options
| -rw-r--r-- | core/res/res/drawable/contact_picture_bg.9.png | bin | 1699 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable/fasttrack_badge_middle.xml | 28 | ||||
| -rw-r--r-- | core/res/res/drawable/fasttrack_badge_middle_normal.9.png | bin | 0 -> 1174 bytes | |||
| -rw-r--r-- | core/res/res/drawable/fasttrack_badge_middle_pressed.9.png | bin | 0 -> 1567 bytes | |||
| -rw-r--r-- | core/res/res/layout-ja/contact_header_name.xml | 7 | ||||
| -rw-r--r-- | core/res/res/layout/contact_header.xml | 21 | ||||
| -rw-r--r-- | core/res/res/layout/contact_header_name.xml | 4 |
7 files changed, 45 insertions, 15 deletions
diff --git a/core/res/res/drawable/contact_picture_bg.9.png b/core/res/res/drawable/contact_picture_bg.9.png Binary files differdeleted file mode 100644 index ae9c70920995..000000000000 --- a/core/res/res/drawable/contact_picture_bg.9.png +++ /dev/null diff --git a/core/res/res/drawable/fasttrack_badge_middle.xml b/core/res/res/drawable/fasttrack_badge_middle.xml new file mode 100644 index 000000000000..6df230aaf053 --- /dev/null +++ b/core/res/res/drawable/fasttrack_badge_middle.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 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:state_focused="false" + android:state_selected="false" + android:state_pressed="false" + android:drawable="@drawable/fasttrack_badge_middle_normal" /> + + <item + android:state_pressed="true" + android:drawable="@drawable/fasttrack_badge_middle_pressed" /> + +</selector>
\ No newline at end of file diff --git a/core/res/res/drawable/fasttrack_badge_middle_normal.9.png b/core/res/res/drawable/fasttrack_badge_middle_normal.9.png Binary files differnew file mode 100644 index 000000000000..1ac6ef99adf5 --- /dev/null +++ b/core/res/res/drawable/fasttrack_badge_middle_normal.9.png diff --git a/core/res/res/drawable/fasttrack_badge_middle_pressed.9.png b/core/res/res/drawable/fasttrack_badge_middle_pressed.9.png Binary files differnew file mode 100644 index 000000000000..33921ba1eff7 --- /dev/null +++ b/core/res/res/drawable/fasttrack_badge_middle_pressed.9.png diff --git a/core/res/res/layout-ja/contact_header_name.xml b/core/res/res/layout-ja/contact_header_name.xml index 20df5c6025ff..9dceeb6e7780 100644 --- a/core/res/res/layout-ja/contact_header_name.xml +++ b/core/res/res/layout-ja/contact_header_name.xml @@ -27,8 +27,8 @@ android:layout_height="wrap_content" android:singleLine="true" android:ellipsize="end" - android:textAppearance="?android:attr/textAppearanceLargeInverse" - android:textColor="@android:color/secondary_text_light" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textStyle="bold" /> <TextView android:id="@+id/phonetic_name" @@ -36,8 +36,7 @@ android:layout_height="wrap_content" android:singleLine="true" android:ellipsize="end" - android:textAppearance="?android:attr/textAppearanceSmallInverse" - android:textColor="@android:color/secondary_text_light" + android:textAppearance="?android:attr/textAppearanceSmall" /> </LinearLayout> diff --git a/core/res/res/layout/contact_header.xml b/core/res/res/layout/contact_header.xml index 73e379b021fd..8c1957db42b4 100644 --- a/core/res/res/layout/contact_header.xml +++ b/core/res/res/layout/contact_header.xml @@ -15,26 +15,27 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/banner" + android:id="@+id/banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:background="@drawable/contact_header_bg" + android:background="@drawable/title_bar_tall" android:paddingRight="5dip" android:gravity="center_vertical"> <ImageView android:id="@+id/photo" - android:layout_width="64dip" + android:layout_width="56dip" android:layout_height="64dip" - android:layout_marginRight="7dip" - android:layout_marginLeft="2dip" + android:layout_marginRight="10dip" + android:layout_marginLeft="10dip" android:scaleType="fitCenter" - android:background="@drawable/contact_picture_bg"/> + android:background="@drawable/fasttrack_badge_middle"/> <LinearLayout android:layout_width="0dip" - android:layout_height="fill_parent" + android:layout_height="wrap_content" android:layout_weight="1" + android:layout_marginTop="5dip" android:orientation="vertical"> <!-- "Name" field is locale-specific. --> @@ -42,9 +43,11 @@ <TextView android:id="@+id/status" android:layout_width="fill_parent" - android:layout_height="wrap_content" + android:layout_height="0dip" + android:layout_weight="1" android:textAppearance="?android:attr/textAppearanceSmall" - android:maxLines="2"/> + android:maxLines="2" + android:ellipsize="end"/> </LinearLayout> diff --git a/core/res/res/layout/contact_header_name.xml b/core/res/res/layout/contact_header_name.xml index 90397023e44b..9a56fb49dbd9 100644 --- a/core/res/res/layout/contact_header_name.xml +++ b/core/res/res/layout/contact_header_name.xml @@ -19,8 +19,8 @@ android:id="@+id/name" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceMediumInverse" - android:textColor="@android:color/secondary_text_light" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textStyle="bold" android:singleLine="true" android:ellipsize="end" /> |