Merge "Test Week - Add more coverage for Folder.java" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-07-22 16:22:18 +00:00
commit d8d1532825
6 files changed
+1141 -95

No files matched your search

@@ -373,8 +373,8 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> implements Cli
// Update footer
mPageIndicator.setVisibility(getPageCount() > 1 ? View.VISIBLE : View.GONE);
// Set the gravity as LEFT or RIGHT instead of START, as START depends on the actual text.
mFolder.mFolderName.setGravity(getPageCount() > 1 ?
(mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL);
mFolder.getFolderName().setGravity(getPageCount() > 1
? (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL);
}
public int getDesiredWidth() {