diff options
author | Tyler Gunn <tgunn@google.com> | 2014-05-16 22:41:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-16 22:41:13 +0000 |
commit | 2239ec70b0733d655968b10176562f1aee4ad7a8 (patch) | |
tree | 0b64cf8491ec0f41436ae54e25969697b392486c /res | |
parent | 90374a77ce339f30a04fbb5d3c5faa0c84901c71 (diff) | |
parent | c26986ec0380030e4938ea29a5535854e5b5bf9e (diff) |
Merge "Cleaning up shadowing and animation of call log expansion."
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/call_log_fragment.xml | 1 | ||||
-rw-r--r-- | res/layout/call_log_list_item.xml | 7 | ||||
-rw-r--r-- | res/values/animation_constants.xml | 12 |
3 files changed, 18 insertions, 2 deletions
diff --git a/res/layout/call_log_fragment.xml b/res/layout/call_log_fragment.xml index 5cddbe749..7b6aa28bc 100644 --- a/res/layout/call_log_fragment.xml +++ b/res/layout/call_log_fragment.xml @@ -68,6 +68,7 @@ android:layout_height="match_parent" android:fadingEdge="none" android:scrollbarStyle="outsideOverlay" + android:background="@color/background_dialer_list_items" android:divider="@null" android:nestedScrollingEnabled="true" android:clipChildren="false" diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml index ff6b7ba86..9182bd758 100644 --- a/res/layout/call_log_list_item.xml +++ b/res/layout/call_log_list_item.xml @@ -19,6 +19,7 @@ class="com.android.dialer.calllog.CallLogListItemView" android:layout_width="match_parent" android:layout_height="wrap_content" + android:paddingBottom="@dimen/call_log_outer_margin" android:id="@+id/call_log_list_item" android:orientation="vertical" android:clipChildren="false" @@ -40,6 +41,7 @@ information and the secondary action (call details / play voicemail). --> <LinearLayout android:id="@+id/call_log_row" + android:background="@color/background_dialer_list_items" android:layout_width="match_parent" android:layout_height="wrap_content" android:baselineAligned="false" @@ -53,7 +55,9 @@ android:background="@drawable/call_log_background" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/call_log_outer_margin" + android:paddingLeft="@dimen/call_log_outer_margin" + android:paddingRight="@dimen/call_log_outer_margin" + android:paddingTop="@dimen/call_log_outer_margin" android:orientation="horizontal" android:gravity="center_vertical" android:focusable="true" @@ -136,5 +140,4 @@ android:layout="@layout/call_log_list_item_extra" android:layout_width="match_parent" android:layout_height="wrap_content"/> - </view> diff --git a/res/values/animation_constants.xml b/res/values/animation_constants.xml index 4e4bc36e1..786306092 100644 --- a/res/values/animation_constants.xml +++ b/res/values/animation_constants.xml @@ -27,4 +27,16 @@ <dimen name="min_swipe">0dip</dimen> <dimen name="min_vert">10dip</dimen> <dimen name="min_lock">20dip</dimen> + + <!-- Expand/collapse of call log entry duration. --> + <integer name="call_log_expand_collapse_duration">200</integer> + + <!-- Start delay for the fade in of the call log actions. --> + <integer name="call_log_actions_fade_start">150</integer> + + <!-- Duration of the fade in of the call log actions. --> + <integer name="call_log_actions_fade_in_duration">200</integer> + + <!-- Duration of the fade out of the call log actions. --> + <integer name="call_log_actions_fade_out_duration">20</integer> </resources> |