+++ /dev/null
-/* ownCloud Android client application\r
- * Copyright (C) 2011 Bartek Przybylski\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program. If not, see <http://www.gnu.org/licenses/>.\r
- *\r
- */\r
-package eu.alefzero.owncloud.ui.activity;\r
-\r
-import android.os.Bundle;\r
-import android.support.v4.app.FragmentTransaction;\r
-import android.view.Window;\r
-\r
-import com.actionbarsherlock.app.SherlockFragmentActivity;\r
-\r
-import eu.alefzero.owncloud.R;\r
-import eu.alefzero.owncloud.ui.fragment.FileDetailFragment;\r
-\r
-/**\r
- * This activity displays the details of a file like its name, its size and so\r
- * on.\r
- * \r
- * @author Bartek Przybylski\r
- * \r
- */\r
-public class FileDetailActivity extends SherlockFragmentActivity {\r
- private FileDetailFragment mFileDetail;\r
-\r
- @Override\r
- protected void onCreate(Bundle savedInstanceState) {\r
- // TODO Auto-generated method stub\r
- super.onCreate(savedInstanceState);\r
- getWindow().requestFeature(Window.FEATURE_NO_TITLE);\r
- setContentView(R.layout.file_activity_details);\r
-\r
- FragmentTransaction ft = getSupportFragmentManager().beginTransaction();\r
- mFileDetail = new FileDetailFragment();\r
- ft.add(R.id.fragment, mFileDetail, "FileDetails");\r
- ft.commit();\r
-\r
- }\r
-\r
- @Override\r
- protected void onResume() {\r
- super.onResume();\r
- mFileDetail.updateFileDetails(getIntent());\r
- }\r
- \r
- \r
-\r
-}\r