117 lines
4.4 KiB
XML
Raw Normal View History

2013-09-27 08:43:16 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!--
2014-09-25 14:19:23 +02:00
~ Copyright (C) 2014 Vlad Mihalachi
2013-09-27 08:43:16 +02:00
~
~ This file is part of Turbo Editor.
~
~ Turbo 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.
~
~ Turbo 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
2014-09-25 14:19:23 +02:00
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
2013-09-27 08:43:16 +02:00
-->
2014-09-25 14:19:23 +02:00
<sharedcode.turboeditor.views.CustomDrawerLayout
2013-09-27 08:43:16 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2013-09-27 08:43:16 +02:00
android:id="@id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
2014-10-18 15:20:23 +02:00
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:textSize="@dimen/text_size_mega_title"
android:fontFamily="sans-serif-light"
android:text="@string/open_a_file"
android:background="@null"
android:textColor="@android:color/secondary_text_dark"
android:id="@id/no_file_opened_messagge"/>
2013-09-27 08:43:16 +02:00
<FrameLayout
2014-10-18 15:20:23 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@id/text_editor"
android:visibility="gone">
<sharedcode.turboeditor.views.GoodScrollView
2013-09-27 08:43:16 +02:00
android:layout_width="match_parent"
2014-10-18 15:20:23 +02:00
android:layout_height="match_parent"
android:scrollbars="vertical"
android:fillViewport="true"
android:id="@id/vertical_scroll"
android:background="@null">
<HorizontalScrollView
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:scrollbars="horizontal"
android:fillViewport="true"
android:id="@id/horizontal_scroll"
android:background="@null">
<view
class="sharedcode.turboeditor.activity.BaseHomeActivity$Editor"
android:id="@id/editor"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:bufferType="spannable"
android:textCursorDrawable="@null"
android:cursorVisible="true"
android:gravity="top|start"
android:singleLine="false"
android:background="@null"
android:text=""
android:textIsSelectable="true" />
</HorizontalScrollView>
</sharedcode.turboeditor.views.GoodScrollView>
<com.faizmalkani.floatingactionbutton.FloatingActionButton
android:id="@+id/fabNext"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="bottom|right"
android:layout_marginBottom="16dp"
android:layout_marginRight="16dp"
android:layout_marginEnd="16dp"
android:visibility="invisible"/>
<com.faizmalkani.floatingactionbutton.FloatingActionButton
android:id="@+id/fabPrev"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="bottom|right"
android:layout_marginBottom="16dp"
android:layout_marginRight="100dp"
android:layout_marginEnd="90dp"
android:visibility="invisible"/>
</FrameLayout>
2013-09-27 08:43:16 +02:00
<fragment android:layout_width="@dimen/navigation_drawer_width"
android:layout_height="match_parent"
2014-10-18 15:20:23 +02:00
android:name="sharedcode.turboeditor.fragment.NavigationDrawer"
2014-09-25 14:19:23 +02:00
android:id="@id/drawer_files"
android:layout_gravity="start"
tools:layout="@layout/fragment_navigation_drawer"
/>
<fragment android:layout_width="@dimen/navigation_drawer_width"
android:layout_height="match_parent"
android:name="sharedcode.turboeditor.preferences.SettingsFragment"
android:id="@id/drawer_settings"
android:layout_gravity="end"
tools:layout="@layout/fragment_navigation_drawer"/>
2013-09-27 08:43:16 +02:00
2014-09-25 14:19:23 +02:00
</sharedcode.turboeditor.views.CustomDrawerLayout>