Add android:manageSpaceActivity to AndroidManifest.xml. Create empty activity ManageSpaceActivity.java

This commit is contained in:
masensio 2016-01-29 10:57:58 +01:00
parent c8dcf8b7ac
commit d6653ef684
4 changed files with 30 additions and 1 deletions

View file

@ -45,7 +45,8 @@
android:name=".MainApp"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Theme.ownCloud" >
android:theme="@style/Theme.ownCloud"
android:manageSpaceActivity=".ui.activity.ManageSpaceActivity">
<activity
android:name=".ui.activity.FileDisplayActivity"
android:label="@string/app_name" >
@ -202,6 +203,8 @@
<meta-data android:name="android.app.searchable"
android:resource="@xml/users_and_groups_searchable"/>
</activity>
<activity android:name=".ui.activity.ManageSpaceActivity"
android:label="@string/manage_space"/>
</application>
</manifest>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>

View file

@ -404,4 +404,6 @@
<string name="action_switch_grid_view">Grid view</string>
<string name="action_switch_list_view">List view</string>
<string name="manage_space">Manage space</string>
</resources>

View file

@ -0,0 +1,17 @@
package com.owncloud.android.ui.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.owncloud.android.R;
public class ManageSpaceActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_manage_space);
}
}