aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/FileDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/thialfihar/android/apg/FileDialog.java')
-rw-r--r--src/org/thialfihar/android/apg/FileDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/thialfihar/android/apg/FileDialog.java b/src/org/thialfihar/android/apg/FileDialog.java
index 02eb80fdf..a054b8518 100644
--- a/src/org/thialfihar/android/apg/FileDialog.java
+++ b/src/org/thialfihar/android/apg/FileDialog.java
@@ -58,14 +58,13 @@ public class FileDialog {
alert.setTitle(title);
alert.setMessage(message);
- View view = (View) inflater.inflate(R.layout.file_dialog, null);
+ View view = inflater.inflate(R.layout.file_dialog, null);
mActivity = activity;
mFilename = (EditText) view.findViewById(R.id.input);
mFilename.setText(defaultFile);
mBrowse = (ImageButton) view.findViewById(R.id.btn_browse);
mBrowse.setOnClickListener(new View.OnClickListener() {
- @Override
public void onClick(View v) {
openFile();
}