Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverted tablet optimization modifications to focus on them in a feat… #837

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,8 @@ void animateBurger(int targetShape) {


public static boolean isDoublePanelActive() {
// Resources resources = OmniNotes.getAppContext().getResources();
// return resources.getDimension(R.dimen.navigation_drawer_width) == resources.getDimension(R.dimen
// .navigation_drawer_reserved_space);
return false;
Resources resources = OmniNotes.getAppContext().getResources();
return resources.getDimension(R.dimen.navigation_drawer_width) == resources.getDimension(R.dimen
.navigation_drawer_reserved_space);
}
}
61 changes: 61 additions & 0 deletions omniNotes/src/main/res/layout-sw600dp-land/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!--
~ Copyright (C) 2015 Federico Iosue ([email protected])
~
~ 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 3 of the License, or
~ (at your option) any later version.
~
~ This program 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/>.
-->

<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fitsSystemWindows="false"
tools:context="it.feio.android.omninotes.MainActivity">

<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">

<fragment
android:id="@+id/navigation_drawer"
android:name="it.feio.android.omninotes.NavigationDrawerFragment"
android:layout_width="@dimen/navigation_drawer_width"
android:layout_height="match_parent"
android:layout_gravity="left|start"
android:orientation="vertical"/>

</android.support.v4.widget.DrawerLayout>


<FrameLayout
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="@dimen/padding_top_kitkat"
android:layout_marginLeft="@dimen/navigation_drawer_reserved_space"
android:background="@color/gray_bg"/>


<include android:id="@+id/toolbar" layout="@layout/toolbar"/>

<View
android:layout_width="match_parent"
android:layout_height="4dp"
android:background="@drawable/toolbar_dropshadow"/>

<include android:id="@+id/crouton_handle" layout="@layout/crouton_handle"/>

</FrameLayout>
4 changes: 2 additions & 2 deletions omniNotes/src/main/res/raw/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
-->
<changelog bulletedList="true">

<changelogversion versionName="5.1.0 Beta 1" changeDate="Jul 26, 2015">
<changelogversion versionName="5.1.0" changeDate="Jul 21, 2015">
<changelogtext>[b]New![/b] Added app intro</changelogtext>
<changelogtext>[b]New![/b] Optimized layout for tablets</changelogtext>
<changelogtext>[b]New![/b] Statistics available from settings (no more just as an easter egg)</changelogtext>
<changelogtext>[b]New![/b] Omni Notes is now FOSS, libraries included</changelogtext>
<changelogtext>[i]Improved[/i] Merging notes will now keep the first valid category, position and reminder from selected notes</changelogtext>
<changelogtext>[i]Improved[/i] Optionally disable swipe action in notes list</changelogtext>
<changelogtext>[u]Fix[/u] Theme inconsistences</changelogtext>
<changelogtext>[u]Fix[/u] Keyboard not shown on app's start when password was required</changelogtext>
</changelogversion>

<changelogversion versionName="5.0.4" changeDate="Jul 8, 2015">
Expand Down