<s> from kivy . uix . modalview import ModalView <EOL> from kivy . uix . gridlayout import GridLayout <EOL> from kivy . lang import Builder <EOL> Builder . load_string ( """<STR_LIT>""" ) <EOL> class ListViewModal ( ModalView ) : <EOL> def __init__ ( self , ** kwargs ) : <EOL> super ( ListViewModal , self ) . __init__ ( ** kwargs ) <EOL> class MainView ( GridLayout ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , ** kwargs ) : <EOL> kwargs [ '<STR_LIT>' ] = <NUM_LIT:1> <EOL> super ( MainView , self ) . __init__ ( ** kwargs ) <EOL> listview_modal = ListViewModal ( ) <EOL> self . add_widget ( listview_modal ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> from kivy . base import runTouchApp <EOL> runTouchApp ( MainView ( width = <NUM_LIT> ) ) </s>
