Loading res/layout/quickcontact_header.xml +1 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,7 @@ android:id="@+id/photo_touch_intercept_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/item_background_material_dark" android:contentDescription="@string/description_contact_photo" /> android:background="@drawable/item_background_material_dark" /> <!-- Overlays/gradients that can be used to make white text/buttons visible --> <View Loading res/layout/quickcontact_title.xml +4 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> <!-- The importantForAccessibility is set to "no" since we want the ViewGroup that pretends to be this View's parent (contact photo overlay) to provide the content description for Talkback. --> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" Loading @@ -26,4 +29,5 @@ android:maxLines="@integer/quickcontact_title_lines" android:textSize="@dimen/quickcontact_maximum_title_size" android:ellipsize="end" android:importantForAccessibility="no" android:id="@+id/large_title"/> No newline at end of file src/com/android/contacts/widget/MultiShrinkScroller.java +1 −0 Original line number Diff line number Diff line Loading @@ -350,6 +350,7 @@ public class MultiShrinkScroller extends FrameLayout { public void setTitle(String title) { mLargeTextView.setText(title); mPhotoTouchInterceptOverlay.setContentDescription(title); } public void setUseGradient(boolean useGradient) { Loading Loading
res/layout/quickcontact_header.xml +1 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,7 @@ android:id="@+id/photo_touch_intercept_overlay" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/item_background_material_dark" android:contentDescription="@string/description_contact_photo" /> android:background="@drawable/item_background_material_dark" /> <!-- Overlays/gradients that can be used to make white text/buttons visible --> <View Loading
res/layout/quickcontact_title.xml +4 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> <!-- The importantForAccessibility is set to "no" since we want the ViewGroup that pretends to be this View's parent (contact photo overlay) to provide the content description for Talkback. --> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" Loading @@ -26,4 +29,5 @@ android:maxLines="@integer/quickcontact_title_lines" android:textSize="@dimen/quickcontact_maximum_title_size" android:ellipsize="end" android:importantForAccessibility="no" android:id="@+id/large_title"/> No newline at end of file
src/com/android/contacts/widget/MultiShrinkScroller.java +1 −0 Original line number Diff line number Diff line Loading @@ -350,6 +350,7 @@ public class MultiShrinkScroller extends FrameLayout { public void setTitle(String title) { mLargeTextView.setText(title); mPhotoTouchInterceptOverlay.setContentDescription(title); } public void setUseGradient(boolean useGradient) { Loading