首页 > 其他分享 >Android Sample 之 Tab 和 Navigation

Android Sample 之 Tab 和 Navigation

时间:2023-09-27 12:33:23浏览次数:33  
标签:Tabs Navigation related Sample Tab Android data page

Sample中 , Tab 在上, Navigation 在下, 后者有图标。不理解为什么用不同的名称。之前没有区分,混淆模糊。

 

搜索发现有人在 stackoverflow 问。有人答曰:区别在于 Tab 是同一主题, 而 Navigation 可用于不相关的主题。

 

Tabs are considered to be related to each other where as Navigation Bar are not.

Tabs are generally used to segregate data are somehow related. Like A profile can be displayed in Tabs where it can be divided in Personal, Professional, Education tabs. It is mainly used to show data about the same hierarchy but different in nature and also for organizing the data.

On the other hand, Navigation Bar as it suggests is used for different topics which might not be inter related.

For a User, which doing User Testing, we saw that Users think that when clicking on a Navigation Bar they will be taken to a separate page which might not/ or may be related to the current page. They take it to be like normal Navigation links which can be like About us page and Contact Us page. Same user for Tabs, thinks that he will be in the same page but will see related data to the parent or the opened tab. He doesn't expects that the page will navigate to a completely new page with no related data.

https://ux.stackexchange.com/questions/23527/what-is-the-difference-between-a-navigation-bar-and-tabs

 

标签:Tabs,Navigation,related,Sample,Tab,Android,data,page
From: https://www.cnblogs.com/grandma/p/17732423.html

相关文章

  • 【Android面试】2023最新面试专题二:ArrayList篇
    1.4 请说一说ArrayList如何保证线程安全,除了加关键字的方式?这道题想考察什么?1、ArrayList的底层原理?考察的知识点ArrayList底层的源码的理解考生如何回答ArrayList如何保证线程安全继承Arraylist,然后重写或按需求编写自己的方法,这些方法要写成synchronized,在这些synchronized的......
  • Android动画-1——Android三种动画详解
    一、前言1.Android的三种动画,即:ViewAnimation(视图动画)DrawableAnimation(帧动画)PropertyAnimation(属性动画) 二、ViewAnimation(视图动画)1.View动画的概述及种类视图动画的作用对象是View,支持四种动画效果,分别是平移、缩放、旋转、透明度。譬如,我们可以对TextView设......
  • android adb调试
    1、无线方式一cd/dD:\Android\sdk\platform-toolstcpip5555(需手机线下连接执行)adbconnect192.168.0.1402、无线方式二cd/dD:\Android\sdk\platform-toolsadbpair192.168.0.140:42319adbconnect192.168.0.140:40717 ......
  • Android Flutter 混合开发高仿大厂App
    自上篇 Flutter10天高仿大厂App及小技巧积累总结 的续篇,这次更是干货满满。这篇文章将概述 Android组件化的架构搭建 及 Flutter 和 Android 如何混合开发 (整个App只有首页是用原生Android完成,其他页面都是引入之前的做好的Flutter页面) ,主宿主程序由Android搭建,采用......
  • Android ViewPager切换页面点击触发不了focus问题
    viewPager.registerOnPageChangeCallback(newViewPager2.OnPageChangeCallback(){@OverridepublicvoidonPageSelected(intposition){//页面选中时执行操作BottomNavigationViewnavView=findViewById(R.id.......
  • 被裁的Android程序员,未来还能有什么方向呢?
    前言做了一份程序员“失业”后的自救方向汇总:接下来挨个聊聊。产品经理都说产品和技术总是相爱相杀,不过产品和技术的关系也是最近的。无论是产品转技术,还是技术转产品,相对来说都是比较容易的,很多底层逻辑是互通的。产品的生命周期比技术更长一点,而技术的平均薪酬要比产品高一点,算是......
  • Android程序员该如何制定自己的职业路线?
    前言对一个程序员来说,职业路线不外乎以下三种:①技术路线②管理路线③转行路线技术路线最近阿里调整了职级序列,取消了P序列而变成了14-28级,但本质上也是一条技术逐步上升的路线。普通程序员的技术发展路线为:初级工程师-中级工程师-高级工程师-技术专家/系统架构师。值得一提的是,不是......
  • Android 第一次点击EditText不显示光标问题
    可以考虑在XML布局文件中添加android:focusableInTouchMode="true"属性,以确保ClearEditText控件在触摸模式下也能获取焦点。这样,用户在首次点击时会立即看到光标。在XML布局文件中,将ClearEditText的定义中添加android:focusableInTouchMode属性,如下所示:<com.tools.q......
  • 使用 Go 和 ADB 启动 Android 应用程序
    在移动应用程序开发中,有时我们需要自动启动Android应用程序以执行测试、截屏或其他自动化任务。本文将介绍如何使用Go编写一个程序,通过Android调试桥(ADB)来启动指定的Android应用程序。我们将提供完整的Go代码示例以及相应的说明。准备工作安装Go编程语言。你可以从Go......
  • Android平台轻量级RTSP服务模块如何实现一个服务发布多路RTSP流?
    我们在做Android平台轻量级RTSP服务和内网RTSP网关的时候,遇到过这样的问题,如何同时发布多路RTSP流出去?回答这个问题,实际上不难,大牛直播SDK在设计这个模块的时候,考虑到了一个Service带多路流的情况,以下是大概的技术实现:启动RTSP服务:启动RTSP服务的时候,你可以注意到OpenRtspServer()......