Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Issue 2858433002: [Android] Increase the clickable area of direct share icon (Closed)

Created:
3 years, 7 months ago by ltian
Modified:
3 years, 7 months ago
Reviewers:
Ted C
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Increase the clickable area of direct share icon This CL increases the clickable area of direct share icon: 1. Change the icon size from 20dp to 24dp. 2. Add 8dp margin on both top and bottom of the icon. 3. If direct share icon is shown, remove the 15dp padding on the right of the wrapping LinearLayout and add 15dp margin of direct share icon. This makes the right area of direct share icon responses to the click event of direct share rather than share. The design spec is here: https://bbergher.googleplex.com/specs/context-menu/. BUG=None Review-Url: https://codereview.chromium.org/2858433002 Cr-Commit-Position: refs/heads/master@{#469415} Committed: https://chromium.googlesource.com/chromium/src/+/a8bf5a1779446b4af653b276973b5c61a5a9b60c

Patch Set 1 #

Patch Set 2 : Add design spec in the description. #

Total comments: 8

Patch Set 3 : Udpate based on Ted's comments. #

Total comments: 8

Patch Set 4 : Update based on Ted's new comments. #

Total comments: 7

Messages

Total messages: 20 (7 generated)
ltian
Can you take a look of the changes in this CL? Thanks!
3 years, 7 months ago (2017-05-02 00:34:23 UTC) #3
Ted C
https://codereview.chromium.org/2858433002/diff/20001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/20001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode26 chrome/android/java/res/layout/tabular_context_menu_row.xml:26: android:layout_marginStart="10dp" I think you should also add 15dp marginEnd ...
3 years, 7 months ago (2017-05-02 16:51:38 UTC) #4
ltian
https://codereview.chromium.org/2858433002/diff/20001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/20001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode26 chrome/android/java/res/layout/tabular_context_menu_row.xml:26: android:layout_marginStart="10dp" On 2017/05/02 16:51:37, Ted C wrote: > I ...
3 years, 7 months ago (2017-05-02 18:52:28 UTC) #5
Ted C
https://codereview.chromium.org/2858433002/diff/40001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/40001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode17 chrome/android/java/res/layout/tabular_context_menu_row.xml:17: android:layout_marginTop="10dp" are these strictly necessary? And by setting top ...
3 years, 7 months ago (2017-05-02 21:06:47 UTC) #6
ltian
https://codereview.chromium.org/2858433002/diff/40001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/40001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode17 chrome/android/java/res/layout/tabular_context_menu_row.xml:17: android:layout_marginTop="10dp" On 2017/05/02 21:06:47, Ted C wrote: > are ...
3 years, 7 months ago (2017-05-03 19:05:05 UTC) #7
Ted C
lgtm https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode17 chrome/android/java/res/layout/tabular_context_menu_row.xml:17: android:paddingTop="10dp" here since this isn't clickable, I think ...
3 years, 7 months ago (2017-05-03 22:52:19 UTC) #8
ltian
https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode17 chrome/android/java/res/layout/tabular_context_menu_row.xml:17: android:paddingTop="10dp" On 2017/05/03 22:52:19, Ted C wrote: > here ...
3 years, 7 months ago (2017-05-04 00:02:40 UTC) #9
Ted C
Hmm...yeah, I think I may have led you astray. Using gravity and explicit heights and ...
3 years, 7 months ago (2017-05-04 00:55:41 UTC) #10
ltian
https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode35 chrome/android/java/res/layout/tabular_context_menu_row.xml:35: android:paddingBottom="8dp" On 2017/05/04 00:55:40, Ted C wrote: > actually, ...
3 years, 7 months ago (2017-05-04 01:43:41 UTC) #11
Ted C
https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode35 chrome/android/java/res/layout/tabular_context_menu_row.xml:35: android:paddingBottom="8dp" On 2017/05/04 01:43:41, ltian wrote: > On 2017/05/04 ...
3 years, 7 months ago (2017-05-04 14:37:56 UTC) #12
ltian
https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml File chrome/android/java/res/layout/tabular_context_menu_row.xml (right): https://codereview.chromium.org/2858433002/diff/60001/chrome/android/java/res/layout/tabular_context_menu_row.xml#newcode35 chrome/android/java/res/layout/tabular_context_menu_row.xml:35: android:paddingBottom="8dp" On 2017/05/04 14:37:56, Ted C wrote: > On ...
3 years, 7 months ago (2017-05-04 18:27:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858433002/60001
3 years, 7 months ago (2017-05-04 18:27:57 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 19:11:20 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a8bf5a1779446b4af653b276973b...

Powered by Google App Engine
This is Rietveld 408576698