Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ac28e39 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Only add vertical resolver_list padding if showing tabs." into rvc-dev...

Merge "Only add vertical resolver_list padding if showing tabs." into rvc-dev am: 88a6bcae am: ad09ae43

Change-Id: Ia4a4b3bf215912dddd280eb59f62bd6a2a2f85c2
parents 46629bca ad09ae43
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2447,6 +2447,11 @@ public class ChooserActivity extends ResolverActivity implements
                    offset += findViewById(R.id.tabs).getHeight();
                }

                View tabDivider = findViewById(R.id.resolver_tab_divider);
                if (tabDivider.getVisibility() == View.VISIBLE) {
                    offset += tabDivider.getHeight();
                }

                int directShareHeight = 0;
                rowsToShow = Math.min(4, rowsToShow);
                mLastNumberOfChildren = recyclerView.getChildCount();
+2 −2
Original line number Diff line number Diff line
@@ -645,7 +645,7 @@ public class ResolverActivity extends Activity implements

        final DisplayResolveInfo dri =
                mMultiProfilePagerAdapter.getActiveListAdapter().getOtherProfile();
        if (dri != null && !ENABLE_TABBED_VIEW) {
        if (dri != null && !shouldShowTabs()) {
            mProfileView.setVisibility(View.VISIBLE);
            View text = mProfileView.findViewById(R.id.profile_button);
            if (!(text instanceof TextView)) {
@@ -1331,7 +1331,7 @@ public class ResolverActivity extends Activity implements
        }
        // We partially rebuild the inactive adapter to determine if we should auto launch
        boolean rebuildCompleted = mMultiProfilePagerAdapter.rebuildActiveTab(true);
        if (hasWorkProfile() && ENABLE_TABBED_VIEW) {
        if (shouldShowTabs()) {
            boolean rebuildInactiveCompleted = mMultiProfilePagerAdapter.rebuildInactiveTab(false);
            rebuildCompleted = rebuildCompleted && rebuildInactiveCompleted;
        }
+1 −3
Original line number Diff line number Diff line
@@ -16,9 +16,7 @@
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingTop="8dp"
    android:paddingBottom="8dp">
    android:layout_height="match_parent">
    <com.android.internal.widget.RecyclerView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
+2 −1
Original line number Diff line number Diff line
@@ -100,7 +100,8 @@
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="?attr/colorBackgroundFloating"
                android:foreground="?attr/dividerVertical" />
                android:foreground="?attr/dividerVertical"
                android:layout_marginBottom="@dimen/resolver_tab_divider_bottom_padding"/>
            <FrameLayout
                android:id="@android:id/tabcontent"
                android:layout_width="match_parent"
+1 −3
Original line number Diff line number Diff line
@@ -17,9 +17,7 @@
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingTop="8dp"
    android:paddingBottom="8dp">
    android:layout_height="match_parent">
    <ListView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
Loading