mirror of https://github.com/M66B/FairEmail.git
Fixed nav menu measuring
This commit is contained in:
parent
d6148505c2
commit
a5fc2072f8
|
@ -51,6 +51,7 @@ import androidx.annotation.Nullable;
|
||||||
import androidx.appcompat.app.ActionBarDrawerToggle;
|
import androidx.appcompat.app.ActionBarDrawerToggle;
|
||||||
import androidx.appcompat.app.AlertDialog;
|
import androidx.appcompat.app.AlertDialog;
|
||||||
import androidx.core.app.NotificationCompat;
|
import androidx.core.app.NotificationCompat;
|
||||||
|
import androidx.core.widget.NestedScrollView;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import androidx.fragment.app.FragmentManager;
|
import androidx.fragment.app.FragmentManager;
|
||||||
import androidx.fragment.app.FragmentTransaction;
|
import androidx.fragment.app.FragmentTransaction;
|
||||||
|
@ -93,7 +94,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
private TwoStateOwner owner = new TwoStateOwner("drawer");
|
private TwoStateOwner owner = new TwoStateOwner("drawer");
|
||||||
private DrawerLayoutEx drawerLayout;
|
private DrawerLayoutEx drawerLayout;
|
||||||
private ActionBarDrawerToggle drawerToggle;
|
private ActionBarDrawerToggle drawerToggle;
|
||||||
private ScrollView drawerContainer;
|
private NestedScrollView drawerContainer;
|
||||||
private ImageButton ibExpanderAccount;
|
private ImageButton ibExpanderAccount;
|
||||||
private RecyclerView rvAccount;
|
private RecyclerView rvAccount;
|
||||||
private ImageButton ibExpanderUnified;
|
private ImageButton ibExpanderUnified;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<eu.faircode.email.ScrollViewEx
|
<androidx.core.widget.NestedScrollView
|
||||||
android:id="@+id/drawer_container"
|
android:id="@+id/drawer_container"
|
||||||
android:layout_width="270dp"
|
android:layout_width="270dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
@ -43,5 +43,5 @@
|
||||||
layout="@layout/include_nav"
|
layout="@layout/include_nav"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
</eu.faircode.email.ScrollViewEx>
|
</androidx.core.widget.NestedScrollView>
|
||||||
</eu.faircode.email.DrawerLayoutEx>
|
</eu.faircode.email.DrawerLayoutEx>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent" />
|
||||||
|
|
||||||
<eu.faircode.email.ScrollViewEx
|
<androidx.core.widget.NestedScrollView
|
||||||
android:id="@+id/drawer_container"
|
android:id="@+id/drawer_container"
|
||||||
android:layout_width="270dp"
|
android:layout_width="270dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
@ -22,5 +22,5 @@
|
||||||
layout="@layout/include_nav"
|
layout="@layout/include_nav"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
</eu.faircode.email.ScrollViewEx>
|
</androidx.core.widget.NestedScrollView>
|
||||||
</eu.faircode.email.DrawerLayoutEx>
|
</eu.faircode.email.DrawerLayoutEx>
|
||||||
|
|
Loading…
Reference in New Issue