diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-09-21 12:27:56 +0200 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-07 01:31:39 +0200 |
commit | 3e5694aab51d48497a79be35159701ff8db8fa77 (patch) | |
tree | 08dba418cfc66c7d2ba750197bfae7df7f52aeeb /res/layout | |
parent | 168939c1dc1e9dd2c5cf697cd332fe30fea1069f (diff) | |
download | android_packages_apps_Dialer-3e5694aab51d48497a79be35159701ff8db8fa77.tar.gz android_packages_apps_Dialer-3e5694aab51d48497a79be35159701ff8db8fa77.tar.bz2 android_packages_apps_Dialer-3e5694aab51d48497a79be35159701ff8db8fa77.zip |
Re-add call recording feature.
Change-Id: I805ee64ddfa252a09c06ff7ec44d968f5eba3489
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/call_detail_history_item.xml | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/res/layout/call_detail_history_item.xml b/res/layout/call_detail_history_item.xml index 10d9605a1..9a61cefc6 100644 --- a/res/layout/call_detail_history_item.xml +++ b/res/layout/call_detail_history_item.xml @@ -14,18 +14,32 @@ limitations under the License. --> -<LinearLayout +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="@dimen/call_log_inner_margin" android:paddingBottom="@dimen/call_log_inner_margin" android:paddingStart="@dimen/call_detail_horizontal_margin" - android:paddingEnd="@dimen/call_log_outer_margin" - android:orientation="vertical" > + android:paddingEnd="@dimen/call_log_outer_margin"> + + <ImageView + android:id="@+id/recording_playback_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_centerVertical="true" + android:src="@drawable/recording_playback_button" + android:background="?android:attr/selectableItemBackgroundBorderless" + android:visibility="gone" /> + <LinearLayout + android:id="@+id/call_type_container" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentStart="true" + android:layout_toStartOf="@id/recording_playback_button" android:orientation="horizontal" > <view class="com.android.dialer.calllog.CallTypeIconsView" @@ -41,16 +55,23 @@ android:textColor="?attr/call_log_primary_text_color" android:textSize="@dimen/call_log_primary_text_size" /> </LinearLayout> + <TextView android:id="@+id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_below="@id/call_type_container" + android:layout_alignParentStart="true" + android:layout_toStartOf="@id/recording_playback_button" android:textColor="?attr/call_log_secondary_text_color" android:textSize="@dimen/call_log_detail_text_size" /> <TextView android:id="@+id/duration" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_below="@id/date" + android:layout_alignParentStart="true" + android:layout_toStartOf="@id/recording_playback_button" android:textColor="?attr/call_log_secondary_text_color" android:textSize="@dimen/call_log_detail_text_size" /> -</LinearLayout> +</RelativeLayout> |