diff options
author | Brian Attwell <brianattwell@google.com> | 2014-12-09 14:23:02 -0800 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-12-09 22:27:48 +0000 |
commit | ba4d58427d46bae91326529e5dc5a8bf867ef94e (patch) | |
tree | 5b69710e7e450389519b5c6fa21015d05544f66f /res/values | |
parent | 97b5a683a1abc4f17eb86d40e5270ab342edda05 (diff) | |
download | packages_apps_Contacts-ba4d58427d46bae91326529e5dc5a8bf867ef94e.tar.gz packages_apps_Contacts-ba4d58427d46bae91326529e5dc5a8bf867ef94e.tar.bz2 packages_apps_Contacts-ba4d58427d46bae91326529e5dc5a8bf867ef94e.zip |
Switch readonly editor to textviews
Switch the readonly editor to use TextViews instead of EditTexts
again. UX decided it liked this better.
Screenshot: go/ba_screen_captures/contacts/b18004959_edit_screen_material/readonly_editor_textview.png
Bug: 18004959
Change-Id: Ic70639fb10eee1688cb622f8f07ab0463a206a28
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 d9e541af2..1626ce982 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -72,6 +72,14 @@ to give 32dp of apparent padding between EditText's in the Raw Contact Editor. --> <dimen name="editor_padding_between_editor_views">20dp</dimen> + <!-- Padding below every readonly editor view. This value is chosen to give 32dp of apparent padding + between TextView's in the readonly Raw Contact Editor. --> + <dimen name="editor_padding_between_read_only_editor_views">25dp</dimen> + + <!-- Padding above and below the photo editor. This value is chosen to give 32dp of apparent + padding between TextView's and the photo's ImageView. --> + <dimen name="editor_padding_around_read_only_photo_editor">28dp</dimen> + <!-- Padding below the photo editor. This value is larger than editor_padding_between_editor_views, since ImageView's don't have space between the bottom of their visual bottom, like an EditText does. --> |