问题标签 [android-drawer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - 如何在 Android Studio 中执行导航?
我正在使用 MySQL 开发一个 Android 应用程序。我正在使用一个名为 selector.java 的类,它执行登录和注册导航。
选择器.java
在上述情况下,它会直接将我重定向到 MainDrawer.class,但是一旦登录成功,我需要导航到 MainDrawer.class。
如果我将上面的代码更改如下,那么它不会在成功登录后显示 MainDrawer
主抽屉.java
示例.java
现在我想在成功登录后导航到 MainDrawer。我怎样才能做到这一点?
android - Android Drawer Submenu with Edit Action and Title [Google Keep Example]
I want to have a group in my navigation drawer which has a title and next to the title there should be an edit button like in the new Google Keep App (see example below). Currently I can't find a sleek and working solution.
My menu layout at the moment:
Currently only the title is displayed in the submenu but the edit button is missing. But if you just create an item without a menu child, the edit button will be displayed but the item is now an item and not a title as before.
I would like to have the same result as in the picture. The padding as well as the text size and color should be the default values from Android.
My edit_action.xml file looks like this:
My menu looks like this at the moment:
android - 如何在抽屉内制作 RecyclerView?
我是安卓新手。我在服务器上有大量记录,我想在 android 应用程序中显示它们。我想在里面制作带有回收视图的抽屉,并将数百条记录加载到RecyclerView
.
1)在抽屉中显示如此数量的记录是否正确->RecyclerView
2)如何在RecyclerView
里面创建抽屉?
android-layout - Android NavigationView抽屉设置最小拖动量打开
当你拖动它时,如何让抽屉自动打开(而不是自动关闭)?比如屏幕宽度的 10%,然后我们松开手指,抽屉就会打开。我们如何才能实现它?
java - 如何在每个活动 android 中添加抽屉?
我是android编程的新手。我想在每个活动中添加抽屉视图。我已经尝试通过扩展主要活动在每个活动中添加抽屉。但它正在崩溃。
请有人指导我如何从头开始在所有活动中添加抽屉。下面我添加了我的HomeActivity
HomeActivity.java
android - How to add FlowingDrawer style to NavigationView Drawer Programmatically
NavigationDrawer imageI am new to android programming. i am really stucking in the place where i have to apply style like FlowingDrawer to DrawerLayout which already present. i have already created my navigationdrawer layout. in that i want to add FlowingDrawer. in my navigation drawer layout i have recycler view. please someone guide me to acheive this.
i want my layout look like this
activity_home.xml
app_home_xml
content_home.xml
android - 如何更新 Mikepenz 抽屉 android 中归档的用户名和电子邮件
所以在这里我想更新名称和电子邮件归档。这些数据将从 firebase 获取并希望更新名称、电子邮件字段