简体   繁体   English

如何实现这样的布局

[英]how can achieve layout like this

hey everyone m new to android 大家好,我是android新手

im trying to get a layout like this 我试图得到这样的布局 图片

but i have some confusions in 但我有一些困惑

  1. The greater than sign is not available by default in the Spinner for this i've also tried a button and setting it's background color to yellow but we can only define android:background for Button once than how can we define yellow color and greater than image buth in signle android:background statement?????? 默认情况下,微调器中的大于号不可用,为此我也尝试了一个按钮并将其背景色设置为黄色,但我们只能为Button定义android:background一次,而不是我们如何定义黄色且大于图像在signle android:background语句中???
  2. The Seekbar that is available by default doesn't look like the one im looking for how can i get the one im looking for????? 默认情况下可用的Seekbar看起来不像一个即时消息正在寻找,我该如何获取一个即时消息正在寻找?

any help in this regard is highly appreciated......... 在这方面的任何帮助都受到高度赞赏......

you can use 您可以使用

android:background 

for color and 用于颜色和

android:drawableRight

for image:) If you want slider as same as you want then you have to use image for both the slider and the handle of the slider. 用于图像:)如果希望滑块与所需的滑块相同,则必须将图像用于滑块和滑块的手柄。 that takes a huge effort. 这需要很大的努力。 anyhow if you want a Iphone like UI then research and carry on. 无论如何,如果您想要类似UI的Iphone,请进行研究并继续。 My Best Wishes:) 我最好的祝福:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM