Update setup and strings
[pub/Android/ownCloud.git] / src / com / owncloud / android / extensions / ExtensionsAvailableDialog.java
index 6b800fd..efd4e01 100644 (file)
@@ -3,9 +3,8 @@
  *   Copyright (C) 2012-2013 ownCloud Inc.
  *
  *   This program is free software: you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published by
- *   the Free Software Foundation, either version 2 of the License, or
- *   (at your option) any later version.
+ *   it under the terms of the GNU General Public License version 2,
+ *   as published by the Free Software Foundation.
  *
  *   This program is distributed in the hope that it will be useful,
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,15 +20,15 @@ package com.owncloud.android.extensions;
 
 import com.owncloud.android.Log_OC;
 import com.owncloud.android.R;
+import com.owncloud.android.ui.CustomButton;
+
 import android.content.Intent;
 import android.os.Bundle;
 import android.support.v4.app.DialogFragment;
-import android.util.Log;
 import android.view.LayoutInflater;
 import android.view.View;
 import android.view.ViewGroup;
 import android.view.View.OnClickListener;
-import android.widget.Button;
 
 public class ExtensionsAvailableDialog extends DialogFragment implements
         OnClickListener {
@@ -42,8 +41,9 @@ public class ExtensionsAvailableDialog extends DialogFragment implements
             Bundle savedInstanceState) {
         View view = inflater.inflate(R.layout.extensions_available_dialog,
                 container);
-        Button btnYes = (Button) view.findViewById(R.id.buttonYes);
-        Button btnNo = (Button) view.findViewById(R.id.buttonNo);
+        CustomButton btnYes = (CustomButton) view.findViewById(R.id.buttonYes);
+        CustomButton btnNo = (CustomButton) view.findViewById(R.id.buttonNo);
+        
         btnYes.setOnClickListener(this);
         btnNo.setOnClickListener(this);
         getDialog().setTitle(R.string.extensions_avail_title);