腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Android
Fragement
与
导航
android
我对
Android
中的片段并不是很熟悉。现在我需要创建一个包含多个选项卡的应用程序,每个选项卡都有自己的后端堆栈。
浏览 8
提问于2020-12-12
得票数 0
2
回答
创建
导航
抽屉
android
、
navigation-drawer
在developer.
android
培训中,有一个关于如何创建
导航
抽屉的讲解。本教程中有一个示例应用程序--> 。在eclipse中,您还可以创建
导航
抽屉(文件->新建->
android
应用程序项目...->
导航
抽屉活动)。在eclipse
导航
抽屉活动中,有一个NavigationDrawerFragment类,但在示例应用程序中,它们使用ListView 我的问题是,为什么示例应用程序和eclipse
导航
抽屉活动如此不同为什么要使用
Fr
浏览 1
提问于2014-10-20
得票数 0
1
回答
android
中可选片段上的
导航
菜单和添加按钮
android
、
android-layout
、
listview
我需要你的帮助来理解
android
中菜单的概念。我正在使用
android
中的
导航
菜单(栏),并将其加载到MainActivity上,然后放入三个不同的片段。在app start上,
导航
菜单打开,默认片段也被加载,如下所述。 ? 在这里,我想在左侧
导航
的汉堡图标和添加图标/按钮在右侧的同一个栏。 注意:我试图在DrawerLayout中使用的工具栏上添加按钮,但这个按钮出现在所有片段中。"
android
:id="@+id
浏览 11
提问于2020-01-22
得票数 0
1
回答
从一个ActionTab更改多个片段
android
.*;import
android
.app.ActionBar;import
android
.app.ActionBar.TabListener;import
android
.app.FragmentTransaction; Frag
浏览 2
提问于2014-02-06
得票数 1
2
回答
不支持FragmentTransaction
android
我使用了最小sdk 8最大sdk 19..我得到错误fragmentManager.beginTransaction().replace(id.frame_container, fragment).commit();
浏览 1
提问于2014-05-08
得票数 0
1
回答
在
android
中使用简单片段
java
、
android
、
android-fragments
我试着用简单的片段 任何解决它们的想法, public class LM_
Fragement
extends Fragment{ }PM_
Fragement
.java @Overridels_fragment = new LM_
Fragement
(); fragmentT
浏览 1
提问于2013-10-13
得票数 0
1
回答
顺利关闭
导航
抽屉
android
、
android-navigation
我在我的应用程序中以一种稍微不同的方式实现了
导航
抽屉。但抽屉开不开也关不好。它介于两者之间。在谷歌应用程序中,
导航
抽屉是如此流畅。我怎样才能做到这一点?这个问题已经在这里提过了,但不符合我的需要。XMLxmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
and
浏览 4
提问于2014-01-26
得票数 1
1
回答
使用frame布局的片段的
Android
2.2的NoClassDefFoundError异常
android
、
android-fragments
、
noclassdeffounderror
、
android-framelayout
://schemas.
android
.com/apk/res/
android
"
android
:layout_width:id="@+id/footer"
android
:layout_width="fill_parent"
android
浏览 5
提问于2013-10-06
得票数 0
2
回答
与
列表视图有片断重叠的标题栏
android
、
xml
、
android-fragments
、
layout
、
android-listview
标题栏
与
列表视图重叠。Tool_bar.xml:
android
:layout_height="wrap_content" tools:context="com.example.talha.test_
fragement
.C
浏览 1
提问于2015-12-06
得票数 0
1
回答
Android
片段: Progressbar出现,旋转,不隐藏
android
、
android-fragments
在类Navigation中,我正在启动/加载一个片段(
Fragement
_trupp1)。getFragmentManager(); fragmentTransaction.add(R.id.id_fragment_navigation, fragme
浏览 2
提问于2017-05-17
得票数 1
回答已采纳
3
回答
通过单击ImageView更改viewpager片段
android
、
android-fragments
我有两个片段(FragmentA,FragementB),每个片段都有自己的xml文件(
fragement
_a.xml、
fragement
_b.xml等等)。{ ViewPager viewPager; Fragment
fragement
=null; {
浏览 2
提问于2014-02-03
得票数 2
回答已采纳
5
回答
将片段放在Listview下方
android
、
android-fragments
、
layout
> xmlns:tools="http://schemas.
android
.com/tools"
android
:layout_width="wrap_content
浏览 3
提问于2017-02-14
得票数 1
2
回答
Android
更好地实现
导航
片段
java
、
android
、
android-layout
、
android-fragments
、
android-navigation
我为我的应用程序提供了
导航
视图和绘图布局,我正在使用片段在视图之间切换。
android
:layout_height="match_parent"
an
浏览 4
提问于2016-02-25
得票数 0
回答已采纳
2
回答
如何刷新片段它被添加到viewpager,当我在另一个片段中按back按钮时(它不在viewpager中)
android
、
fragment
、
onbackpressed
此处将
Fragement
1添加到Activity类中的View Pager中。这两个基金会都在
android
.app.Fragment之下。
浏览 0
提问于2017-10-30
得票数 0
1
回答
整个Recylcerview上的onClickListener不工作
android
在xml中,
android
:id="@+id/itemRecyclerviewlayout_constraintTop_toTopOf="parent"
android
:paddingTop="20dp"
浏览 0
提问于2021-11-14
得票数 0
回答已采纳
3
回答
错误: FragmentTransaction类型中添加的方法(int、片段、字符串)不适用于参数(int、FragementTest、String)
android
;import
android
.app.TabActivity;import="http://schemas.
android
.com/apk/res/
android
" xmlns:tools="http://schemas.
android
.com&
浏览 5
提问于2014-02-12
得票数 8
回答已采纳
2
回答
Eclipse中创建应用程序时的问题
java
、
android
、
eclipse
、
android-layout
、
android-fragments
当我们在eclipse中创建一个
android
应用程序时,默认情况下它以activity开头(即,MainActivity类扩展了activity类在这里,我不想扩展ActionBarActivity类 提前感谢
浏览 2
提问于2014-03-28
得票数 1
2
回答
线性布局不能填满整个屏幕。
android
、
xml
、
layout
、
fragment
> xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
android
:id="@+id/activity_main" <e
浏览 3
提问于2016-09-16
得票数 2
0
回答
返回null的片段内的CollapsingToolbarLayout
android
、
android-layout
、
android-fragments
、
android-collapsingtoolbarlayout
活动-有viewpager,Fragment1 XML有collapsingToolbar,
Fragement
1也有'content_launch.xml‘
Fragement
1类-工具栏添加,但在获取(活动XML如下:xmlns:app="http:/
浏览 0
提问于2016-12-31
得票数 0
1
回答
即使我创建了一个带有附加xml布局的空白片段。我的片段java不使用片段布局的connet
java
、
android
、
android-layout
、
android-fragments
、
android-fragmentactivity
inflater.inflate(R.layout.fragment_fragemnt, container, false);<FrameLayout xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:tools="ht
浏览 23
提问于2020-03-31
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android 11禁止应用修改导航栏
Android 12正在尝试利用机器学习优化手势导航
Android Q 本来叫“女王蛋糕”,加速手势导航是被迫
谷歌:Android Q手势导航VS传统三键更有效!
Google AR 实景导航全面覆盖 Android和iOS 设备
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券