diff options
Diffstat (limited to 'java/com/android/dialer/calldetails/res/layout')
3 files changed, 56 insertions, 7 deletions
diff --git a/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml b/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml index ccfa4e7ac..fbca3f8fe 100644 --- a/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml +++ b/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml @@ -41,4 +41,13 @@ android:layout_height="wrap_content" android:drawableStart="@drawable/quantum_ic_edit_grey600_24" android:text="@string/call_details_edit_number"/> + + <TextView + android:id="@+id/call_detail_action_report_caller_id" + style="@style/CallDetailsActionItemStyle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:drawableStart="@drawable/quantum_ic_report_grey600_24" + android:text="@string/call_details_report_call_id" + android:visibility="gone"/> </LinearLayout> diff --git a/java/com/android/dialer/calldetails/res/layout/caller_id_report_dialog.xml b/java/com/android/dialer/calldetails/res/layout/caller_id_report_dialog.xml new file mode 100644 index 000000000..09d3c2b43 --- /dev/null +++ b/java/com/android/dialer/calldetails/res/layout/caller_id_report_dialog.xml @@ -0,0 +1,35 @@ +<?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:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="match_parent"> + + <TextView + android:id="@+id/name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="24dp" + android:textAppearance="?android:attr/textAppearanceMedium"/> + + <TextView + android:id="@+id/number" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="24dp" + android:textAppearance="?android:attr/textAppearanceMedium"/> +</LinearLayout>
\ No newline at end of file diff --git a/java/com/android/dialer/calldetails/res/layout/contact_container.xml b/java/com/android/dialer/calldetails/res/layout/contact_container.xml index bb89b36f2..b01a6cc13 100644 --- a/java/com/android/dialer/calldetails/res/layout/contact_container.xml +++ b/java/com/android/dialer/calldetails/res/layout/contact_container.xml @@ -29,10 +29,9 @@ android:id="@+id/quick_contact_photo" android:layout_width="@dimen/call_details_contact_photo_size" android:layout_height="@dimen/call_details_contact_photo_size" - android:layout_marginTop="2dp" + android:layout_centerVertical="true" android:padding="@dimen/call_details_contact_photo_padding" - android:focusable="true" - android:contentDescription="@string/description_quick_contact_for"/> + android:focusable="true"/> <LinearLayout android:orientation="vertical" @@ -47,8 +46,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/photo_text_margin" - android:ellipsize="end" - android:maxLines="1" style="@style/PrimaryText"/> <TextView @@ -57,6 +54,14 @@ android:layout_height="wrap_content" android:layout_marginStart="@dimen/photo_text_margin" style="@style/SecondaryText"/> + + <TextView + android:id="@+id/network" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/photo_text_margin" + android:visibility="gone" + style="@style/SecondaryText"/> </LinearLayout> <ImageView @@ -66,8 +71,8 @@ android:layout_alignParentEnd="true" android:layout_centerVertical="true" android:background="?android:attr/selectableItemBackgroundBorderless" - android:contentDescription="@string/description_call_log_call_action" + android:contentDescription="@string/call" android:scaleType="center" android:src="@drawable/quantum_ic_call_white_24" android:tint="@color/secondary_text_color"/> -</RelativeLayout> +</RelativeLayout>
\ No newline at end of file |