自定义弹出或微调为Android [英] Custom pop up or spinner for android

查看:125
本文介绍了自定义弹出或微调为Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现IOS设计,我真的很喜欢,但我无法弄清楚如何做到这一点在Android中我试图做一个定制的微调和我与它有一个困难时期,我想用一个弹出的,但我需要要能够把可点击的按钮,在弹出的,所以我觉得一个微调是我最好的变化。我要张贴什么,我试图完成的画面,特别是上下拉顶部的小箱的一半!感谢倒很鸭preciate一些帮助谢谢!!!! ![请在此输入的形象描述] [1]我也有在Android中见过这也让我知道这是可以做到。 http://i.imgur.com/L1ftrSU.png

i found a design in IOS that i really like but i cant figure out how to do it in android i have tried doing a custom spinner and am having a hard time with it and i thought of using a pop up but i need to be able to put clickable button in the pop up, so i think a spinner is my best change. I am going to post a picture of what i am trying to accomplish, specifically on the little half box on the top of the drop down! Thanks would really Appreciate some help thanks!!!! ![enter image description here][1] Also i have seen this in Android as well so i know it can be done. http://i.imgur.com/L1ftrSU.png

推荐答案

这是你的行动在图像显示,被称为QuickAction,对于如何创建一个很多教程:

It's action you showed in your image is called QuickAction, there are many tutorials on how to create one:


  1. 尝试在 NewQuickAction lib下,它有多种模式,其中一个会给你到底同样的布局,你的样品图片。 这里的'SA快速教程使用图书馆。用这个LIB 2年并且工作得很好。

  2. 本教程报价另一种方法来完成同样的事情,值得一试为好。

  1. Try the NewQuickAction lib, it has a number of modes, and one of them will give you exactly the same layout as your sample image. Here's a quick tutorial for using the library. Have used this lib for 2 years and worked quite well.
  2. This tutorial offers another method to accomplish the same thing, worth checking out as well.

这篇关于自定义弹出或微调为Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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