I have created a custom class from a tutorial online. It works fine, but what I have to do is to do so I can set the footage of the scene, like I see anyone else how it is done here for the custom view is the XML
& Lt; TextView android: id = "@ + id / file_name_holder" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" Android: text = "file name here" /> & Lt; / LinearLayout & gt; This is what I am trying to achieve.
FileView fileView = New FileView (this) fileView.setText ("text") < / Code>
textview filename = (TextView) findViewById (R.id.file_name_holder); Filename.setText ("someFile.exe"); On another note ... you can use the prompt to give a deep text prompt to your users that they will not be erased when entering the file name.
Comments
Post a Comment