翻页/翻页按钮与点击机器人 [英] Page turn/flip with button click for android

查看:215
本文介绍了翻页/翻页按钮与点击机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作页面卷曲/关闭动画与按一下按钮,我不能能够做到这一点。因为我是新来的Andr​​oid和我搜索了很多通过谷歌,有人请与例如code为动画分享你的知识

我的工作与用户名,电子邮件与编辑文本框的文本视图元素的登录页面上,并且签到和注册是两个按钮

当我点击注册按钮的页面应该转向/翻转到一个新的注册页面,并进行登录按钮,它应提交的凭证后显示一个警报对话框

帮助总是AP preciated,谢谢!


解决方案

  1. 是的,你可以有很多的布局(的.xml)的网页,只要你愿意。当您希望使用一个简单的调用的setContentView(登入)或某事的一致好评。


  2. 您需要学会去探索你的选择,你张贴问题之前,因而造成对同一主题的两个线程。看看通过文档然后<一个href=\"http://stackoverflow.com/questions/3362683/page-turn-flip-animation-in-android\">here.


I am working on page curl/turn animation with button click and I couldn't able to do it. Because I am new to Android and I searched a lot through Google, someone please share your knowledge with the example code for the animation

I am working on a sign-in page with username,email as text-view elements with edit text boxes, and Signin and Register are the two buttons

When I click the Register button the page should turn/flip to a new Register page and for signin button It should show an Alert dialog after submitting the credentials

Help is always appreciated, Thanks.!

解决方案

  1. Yes, you can have as many layout (.xml) pages as you'd like. When you desire to use one simply call setContentView(signin) or something alike.

  2. You need to learn to explore your options before you post a question, thus creating two threads about the same topic. Look through the documentation and then here.

这篇关于翻页/翻页按钮与点击机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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