Merge change 22086 into eclair
* changes: Tweak the ContactsHeaderWidget to match the newest specs.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
28
core/res/res/drawable/fasttrack_badge_middle.xml
Normal file
28
core/res/res/drawable/fasttrack_badge_middle.xml
Normal file
@@ -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>
|
||||||
BIN
core/res/res/drawable/fasttrack_badge_middle_normal.9.png
Normal file
BIN
core/res/res/drawable/fasttrack_badge_middle_normal.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
core/res/res/drawable/fasttrack_badge_middle_pressed.9.png
Normal file
BIN
core/res/res/drawable/fasttrack_badge_middle_pressed.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -27,8 +27,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textAppearance="?android:attr/textAppearanceLargeInverse"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textColor="@android:color/secondary_text_light"
|
android:textStyle="bold"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<TextView android:id="@+id/phonetic_name"
|
<TextView android:id="@+id/phonetic_name"
|
||||||
@@ -36,8 +36,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmallInverse"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textColor="@android:color/secondary_text_light"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -15,26 +15,27 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<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_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:background="@drawable/contact_header_bg"
|
android:background="@drawable/title_bar_tall"
|
||||||
android:paddingRight="5dip"
|
android:paddingRight="5dip"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
<ImageView android:id="@+id/photo"
|
<ImageView android:id="@+id/photo"
|
||||||
android:layout_width="64dip"
|
android:layout_width="56dip"
|
||||||
android:layout_height="64dip"
|
android:layout_height="64dip"
|
||||||
android:layout_marginRight="7dip"
|
android:layout_marginRight="10dip"
|
||||||
android:layout_marginLeft="2dip"
|
android:layout_marginLeft="10dip"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:background="@drawable/contact_picture_bg"/>
|
android:background="@drawable/fasttrack_badge_middle"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dip"
|
android:layout_width="0dip"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:layout_marginTop="5dip"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- "Name" field is locale-specific. -->
|
<!-- "Name" field is locale-specific. -->
|
||||||
@@ -42,9 +43,11 @@
|
|||||||
|
|
||||||
<TextView android:id="@+id/status"
|
<TextView android:id="@+id/status"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dip"
|
||||||
|
android:layout_weight="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:maxLines="2"/>
|
android:maxLines="2"
|
||||||
|
android:ellipsize="end"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
android:id="@+id/name"
|
android:id="@+id/name"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textAppearance="?android:attr/textAppearanceMediumInverse"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textColor="@android:color/secondary_text_light"
|
android:textStyle="bold"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user