Merge "Add the tabs height when determining the height of the share sheet"

This commit is contained in:
TreeHugger Robot
2020-02-06 15:22:21 +00:00
committed by Android (Google) Code Review

View File

@@ -2424,6 +2424,10 @@ public class ChooserActivity extends ResolverActivity implements
offset += findViewById(R.id.content_preview_container).getHeight();
}
if (hasWorkProfile() && ENABLE_TABBED_VIEW) {
offset += findViewById(R.id.tabs).getHeight();
}
int directShareHeight = 0;
rowsToShow = Math.min(4, rowsToShow);
for (int i = 0, childCount = recyclerView.getChildCount();