带有垂直选项卡的Android布局-像hello sms应用程序一样设计 [英] Android layout with vertical tabs - design like hello sms app

查看:71
本文介绍了带有垂直选项卡的Android布局-像hello sms应用程序一样设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮我设计垂直选项卡吗,如给定图片中的图片(摘自hello sms应用程序)

Can somebody please help me out in designing vertical tabs like in the given pic(taken from hello sms app)

我不是要代码段,所以请不要将此问题作为作业类型.我想知道的是我应该采取的方法.是否使用一些样式和UI自定义扩展了常规TabLayout或现有TabLayout?您对正确资源的指示将有很大帮助.谢谢

I'm not asking for a code snippet , so please don't ditch this question as a homework type. What I would want to know is the approach that I should take. Do I have extend the stock TabLayout or an existing tablayout with a few styles and UI customizations? Your pointers to the right resource would be of great help. Thanks

推荐答案

不,您不必自定义任何视图.你可以

No, you dont have to custom any view. You can just

  1. RecyclerView用于化身列表.如果选择了头像,则只需将所选项目的背景更改为设计中的黑色U形状即可.
  2. 使用详细视图显示您的头像信息.
  1. Use RecyclerView for avatars list. If an avatar is selected, just changed background of the selected item to black U shape as in your design.
  2. Use a detail view to display your avatar information.

这篇关于带有垂直选项卡的Android布局-像hello sms应用程序一样设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆