diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java index c308fe1ec..b1387b1ad 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java @@ -102,17 +102,6 @@ public class KioskFragment extends BaseListInfoFragment { } } - /*////////////////////////////////////////////////////////////////////////// - // Init - //////////////////////////////////////////////////////////////////////////*/ - - protected View getListHeader() { - headerRootLayout = activity.getLayoutInflater().inflate(R.layout.kiosk_header, itemsList, false); - headerTitleView = headerRootLayout.findViewById(R.id.kiosk_title_view); - - return headerRootLayout; - } - /*////////////////////////////////////////////////////////////////////////// // Load and handle //////////////////////////////////////////////////////////////////////////*/ @@ -138,7 +127,6 @@ public class KioskFragment extends BaseListInfoFragment { @Override public void showLoading() { super.showLoading(); - animateView(headerRootLayout, false, 200); animateView(itemsList, false, 100); } @@ -146,9 +134,7 @@ public class KioskFragment extends BaseListInfoFragment { public void handleResult(@NonNull final KioskInfo result) { super.handleResult(result); - animateView(headerRootLayout, true, 100); String title = KioskTranslator.getTranslatedKioskName(result.id, getActivity()); - headerTitleView.setText("★★ " + title + " ★★"); ActionBar supportActionBar = activity.getSupportActionBar(); supportActionBar.setTitle(title); diff --git a/app/src/main/res/layout/kiosk_header.xml b/app/src/main/res/layout/kiosk_header.xml deleted file mode 100644 index c161ca83d..000000000 --- a/app/src/main/res/layout/kiosk_header.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - \ No newline at end of file