Reorganize project structure by pulling all of the app code and assets into app project.
This commit is contained in:
47
app/src/main/res/menu/activity_select_file.xml
Normal file
47
app/src/main/res/menu/activity_select_file.xml
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2014 Vlad Mihalachi
|
||||
~
|
||||
~ This file is part of Robut Editor.
|
||||
~
|
||||
~ Robut Editor 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 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Robut Editor is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@id/im_select_folder"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/seleziona">
|
||||
</item>
|
||||
<item
|
||||
android:id="@id/im_set_as_working_folder"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_bookmark_outline"
|
||||
android:title="@string/set_as_working_folder">
|
||||
</item>
|
||||
<item
|
||||
android:id="@id/im_is_working_folder"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_bookmark"
|
||||
android:title="@string/is_the_working_folder">
|
||||
</item>
|
||||
<item
|
||||
android:id="@id/im_search"
|
||||
app:actionViewClass="android.support.v7.widget.SearchView"
|
||||
app:showAsAction="ifRoom|collapseActionView"
|
||||
android:icon="@drawable/ic_action_search"
|
||||
android:title="@string/find">
|
||||
</item>
|
||||
</menu>
|
88
app/src/main/res/menu/fragment_editor.xml
Normal file
88
app/src/main/res/menu/fragment_editor.xml
Normal file
@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2014 Vlad Mihalachi
|
||||
~
|
||||
~ This file is part of Robut Editor.
|
||||
~
|
||||
~ Robut Editor 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 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Robut Editor is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@id/im_save"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_save"
|
||||
android:title="@string/salva">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@id/im_save_normaly"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/salva"/>
|
||||
<item
|
||||
android:id="@id/im_save_as"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/save_as"/>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@id/im_undo"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_undo"
|
||||
android:title="@string/testo_indietro"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_redo"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_redo"
|
||||
android:title="@string/testo_rifai"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_search"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/find"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_rename"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/rinomina"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_goto_line"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/goto_line"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_view_it_on_browser"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/view_it_on_the_web"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_view_markdown"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/view_markdown_result"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_share"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/share"
|
||||
app:actionProviderClass="android.support.v7.widget.ShareActionProvider"
|
||||
/>
|
||||
<item
|
||||
android:id="@id/im_info"
|
||||
app:showAsAction="never"
|
||||
android:title="@string/info"
|
||||
/>
|
||||
</menu>
|
63
app/src/main/res/menu/fragment_editor_search.xml
Normal file
63
app/src/main/res/menu/fragment_editor_search.xml
Normal file
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2014 Vlad Mihalachi
|
||||
~
|
||||
~ This file is part of Robut Editor.
|
||||
~
|
||||
~ Robut Editor 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 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Robut Editor is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<!--<item
|
||||
android:id="@+id/menu_search"
|
||||
android:actionViewClass="android.widget.SearchView"
|
||||
app:showAsAction="ifRoom"
|
||||
android:actionLayout="@layout/my_search_view"
|
||||
android:icon="@drawable/ic_action_search"
|
||||
android:title="@string/search">
|
||||
</item>-->
|
||||
<item
|
||||
android:id="@id/im_cancel"
|
||||
app:showAsAction="always"
|
||||
android:title="@android:string/cancel">
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@id/im_previous_item"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/previous">
|
||||
</item>
|
||||
<item
|
||||
android:id="@id/im_next_item"
|
||||
app:showAsAction="always"
|
||||
android:title="@string/next">
|
||||
</item>
|
||||
<item
|
||||
android:id="@id/im_replace"
|
||||
app:showAsAction="always"
|
||||
android:title="@string/replace">
|
||||
</item>
|
||||
<item
|
||||
android:id="@id/im_replace_all"
|
||||
app:showAsAction="ifRoom"
|
||||
android:title="@string/replace_all">
|
||||
</item>
|
||||
<!--<item
|
||||
android:id="@id/im_cancel"
|
||||
android:icon="@drawable/ic_action_close"
|
||||
android:title="@app:tring/cancel"
|
||||
app:showAsAction="always">
|
||||
</item>-->
|
||||
</menu>
|
33
app/src/main/res/menu/popup_new_file.xml
Normal file
33
app/src/main/res/menu/popup_new_file.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (C) 2014 Vlad Mihalachi
|
||||
~
|
||||
~ This file is part of Robut Editor.
|
||||
~
|
||||
~ Robut Editor 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 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Robut Editor is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@id/im_new_file"
|
||||
android:title="@string/file"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item
|
||||
android:id="@id/im_new_folder"
|
||||
android:title="@string/folder"
|
||||
app:showAsAction="ifRoom"/>
|
||||
</menu>
|
Reference in New Issue
Block a user