Fixed nav menu measuring

This commit is contained in:
M66B 2020-05-25 10:38:10 +02:00
parent d6148505c2
commit a5fc2072f8
3 changed files with 6 additions and 5 deletions

View File

@ -51,6 +51,7 @@ import androidx.annotation.Nullable;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AlertDialog;
import androidx.core.app.NotificationCompat;
import androidx.core.widget.NestedScrollView;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
@ -93,7 +94,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
private TwoStateOwner owner = new TwoStateOwner("drawer");
private DrawerLayoutEx drawerLayout;
private ActionBarDrawerToggle drawerToggle;
private ScrollView drawerContainer;
private NestedScrollView drawerContainer;
private ImageButton ibExpanderAccount;
private RecyclerView rvAccount;
private ImageButton ibExpanderUnified;

View File

@ -31,7 +31,7 @@
android:layout_weight="1" />
</LinearLayout>
<eu.faircode.email.ScrollViewEx
<androidx.core.widget.NestedScrollView
android:id="@+id/drawer_container"
android:layout_width="270dp"
android:layout_height="match_parent"
@ -43,5 +43,5 @@
layout="@layout/include_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</eu.faircode.email.ScrollViewEx>
</androidx.core.widget.NestedScrollView>
</eu.faircode.email.DrawerLayoutEx>

View File

@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />
<eu.faircode.email.ScrollViewEx
<androidx.core.widget.NestedScrollView
android:id="@+id/drawer_container"
android:layout_width="270dp"
android:layout_height="match_parent"
@ -22,5 +22,5 @@
layout="@layout/include_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</eu.faircode.email.ScrollViewEx>
</androidx.core.widget.NestedScrollView>
</eu.faircode.email.DrawerLayoutEx>