diff options
author | Brian Attwell <brianattwell@google.com> | 2014-12-05 20:15:21 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-12-05 20:15:22 +0000 |
commit | 97b5a683a1abc4f17eb86d40e5270ab342edda05 (patch) | |
tree | 12f4fbad5fe5e29652041d1a2f27d593c9d5e6e9 /res/values | |
parent | d9bf3c2ddd46dbd2a3a45b2a171c2af55fe4c8e0 (diff) | |
parent | 5fd8698d05fad275bde82b8a1fb139f786dc609e (diff) | |
download | packages_apps_Contacts-97b5a683a1abc4f17eb86d40e5270ab342edda05.tar.gz packages_apps_Contacts-97b5a683a1abc4f17eb86d40e5270ab342edda05.tar.bz2 packages_apps_Contacts-97b5a683a1abc4f17eb86d40e5270ab342edda05.zip |
Merge "Don't accidentally scroll QC off screen." into lmp-mr1-dev
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/dimens.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index b31b5b9d8..d9e541af2 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -24,6 +24,14 @@ <dimen name="quickcontact_title_initial_margin">16dp</dimen> <!-- The ratio of width:height for the contact's photo in landscape --> <item name="quickcontact_landscape_photo_ratio" type="dimen" format="float">0.7</item> + <!-- How far QuickContacts can be dragged and released from the top of the window before we dismiss it. --> + <dimen name="quickcontact_dismiss_distance_on_release">40dp</dimen> + <!-- How far QuickContacts can be dragged from the top of the window before we dismiss it. --> + <dimen name="quickcontact_dismiss_distance_on_scroll">100dp</dimen> + <!-- When first flinging QuickContacts towards the top of the window if the fling is + predicted to scroll past the window top by less than this amount, then QuickContacts + snaps to the top of the window. --> + <dimen name="quickcontact_snap_to_top_slop_height">33dp</dimen> <!-- Padding of the rounded plus/minus/expand/collapse buttons in the editor --> <dimen name="editor_round_button_padding_left">16dip</dimen> |