Using EdittextPreference for Goto search

sorry for my poor English. I want to use EditTextPreference in my bottom nav like the pic below, ![screenshot][1]

I have recycleview xml in my project with in many sub cardview layouts(which is scrollable) and I want to create item in the bottom nav which is called "Goto". When the "Goto" item is clicked i want it to pop-up like the screenshot. And when user enters a number(according to the cardviews i.e if the number of cardview is 40 user must enter 1-40) I want to search the cardview by its ID. Thank you and I hope u got it, If u have any questions let me know [1]: https://i.stack.imgur.com/grK8P.jpg

My xml format look like this. As you see in the blow since the cardviews are huge in number it is not cool to scroll all the way down that is why i need Goto item in the bottom nav to search it by its ID when the user click number in the EditTextPreference as u see in the screenshot. i.e The screenshot is not from my app

<LinearLayout>
 <LinearLayout>
  <androidx.cardview.widget.CardView>
    <RealtiveLayout>
       <Textview/>
    <RealtiveLayout>
 </androidx.cardview.widget.CardView>
 </LinearLayout>

 <LinearLayout>
  <androidx.cardview.widget.CardView>
    <RealtiveLayout>
       <Textview/>
    <RealtiveLayout>
 </androidx.cardview.widget.CardView>
 </LinearLayout>

<LinearLayout>
  <androidx.cardview.widget.CardView>
    <RealtiveLayout>
       <Textview/>
    <RealtiveLayout>
 </androidx.cardview.widget.CardView>
 </LinearLayout>

  <LinearLayout>
  <androidx.cardview.widget.CardView>
    <RealtiveLayout>
       <Textview/>
    <RealtiveLayout>
 </androidx.cardview.widget.CardView>
 </LinearLayout>
 
  ..
  ..

  ..
  ..
  many more..
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum