mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Make work footer stick to the bottom if there are only a few apps #2
1. Move the work footer divider into the container, so it is translated with the rest of the footer. 2. Fixed the scrollbar issue in work tab by putting the footer height in AllAppsRecyclerView 3. We planned to drop the company name, and decided to use "Managed by your organisation". 4. Rename WorkModeToggleContainer to WorkFooterContainer as we are using work footer in else where. BUG: 70571983 Change-Id: I218fe7d9970780a1a457ee450f1a32e7a46d9766
This commit is contained in:
@@ -381,10 +381,6 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.
|
||||
case VIEW_TYPE_WORK_TAB_FOOTER:
|
||||
Switch workModeToggle = holder.itemView.findViewById(R.id.work_mode_toggle);
|
||||
workModeToggle.setChecked(!isAnyProfileQuietModeEnabled());
|
||||
|
||||
TextView textView = holder.itemView.findViewById(R.id.managed_by_label);
|
||||
// TODO: Configure the textview properly.
|
||||
textView.setText("Managed by your company");
|
||||
break;
|
||||
}
|
||||
if (mBindViewCallback != null) {
|
||||
|
||||
Reference in New Issue
Block a user