手机qq的动态页面里的更多界面是怎么通过android代码qt实现qq好友界面的

关键字:    
当前位置: >
Android仿手机qq源码
详细介绍 - [ Android仿手机qq源码 ]
Android仿手机QQ的项目源码,实现了QQ很多功能,在界面上做了深度的优化,是学习界面布局的好素材,里面也用到了很多开发中常用的技术,非常值得收藏研究。&
下载地址 - [ Android仿手机qq源码 ]
推荐使用、下载,请使用解压文件;
下载本站资源,如服务器暂不能下载请过一段时间再试;
本站资源通过 、 等软件检测;
本站部分资源供学习交流使用,如商业用途,请购正版。
网友对“Android仿手机qq源码”的评论
评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
上一篇:没有了
& 下一篇:
您喜欢这个源码么?
本类热门源码
增值电信业务经营许可证:苏B2-CopyRight ©
All Rights reserved.查看: 3133|回复: 8
精华0在线时间7 小时帖子主题UID163097积分387技术分250 资源分6 分享激情85 博客好友记录相册
实习工程师
县吏, 积分 387, 距离下一级还需 113 积分
UID163097积分387
小弟刚开始学Android,先自己想写个腾讯微博客户端,想有个载入界面,就是一张图片的样子,大概过2,3秒就跳转到登陆界面,请问这个怎么实现啊?我开始用的Timer,也就是做个假的样子而已...后来发现按返回键就回返回载入界面...不想这样,请问正确的方法应该是怎样啊?
精华0在线时间539 小时帖子主题UID7610积分10123技术分3409 资源分372 分享激情4131 博客好友记录相册
高级工程师
总督, 积分 10123, 距离下一级还需 9877 积分
UID7610积分10123
你可以在下一个页面的时候捕获back按键,直接退出程序就行
精华0在线时间539 小时帖子主题UID7610积分10123技术分3409 资源分372 分享激情4131 博客好友记录相册
高级工程师
总督, 积分 10123, 距离下一级还需 9877 积分
UID7610积分10123
也可以在进入下一个页面,startActivity后调用finish()来结束该页面
精华18在线时间1055 小时帖子主题UID61224积分76633技术分48205 资源分1037 分享激情12229 博客好友记录相册
高级架构师
UID61224积分76633
把前面的activity finish掉
~~阿凡达这部电影告诉我们,谁胯下的鸟大听谁的~~
精华0在线时间1420 小时帖子主题UID67076积分10658技术分3407 资源分155 分享激情1005 博客好友记录相册
高级工程师
总督, 积分 10658, 距离下一级还需 9342 积分
UID67076积分10658
直接startActivity就可以了
精华7在线时间3 小时帖子主题UID1070积分49159技术分20102 资源分3237 分享激情10320 博客好友记录相册
高级架构师
内阁大臣, 积分 49159, 距离下一级还需 841 积分
UID1070积分49159
新开一个线程& & Thread.sleep(time)& & 时间到了就finish Activity
精华15在线时间7 小时帖子主题UID25200积分7296技术分30 资源分61 分享激情10 博客好友记录相册
实习工程师
巡抚, 积分 7296, 距离下一级还需 2704 积分
UID25200积分7296
用Handler实现吧,里面有个延迟响应的方法
精华1在线时间147 小时帖子主题UID74194积分4530技术分1736 资源分120 分享激情1966 博客好友记录相册
知县, 积分 4530, 距离下一级还需 470 积分
UID74194积分4530
或者就是一个主界面的全屏ImageView的动画。。。
话说我最近看到的这个不错。。分享给你
new Handler().postDelayed(new Runnable()
& & & & & & & & {
& & & & & & & & & & & & public void run()
& & & & & & & & & & & & {
& & & & & & & & & & & & & & & & // TODO Auto-generated method stub
& & & & & & & & & & & & & & & & Intent intent =
& && && && && && && && && && &&&itent = ****;
& & & & & & & & & & & & & & & & FlashActivity.this.startActivity(intent);
& & & & & & & & & & & & & & & & FlashActivity.this.finish();
& & & & & & & & & & & & }
& & & & & & & & }, 5000);
& & & & & & & &
& & & & & & & & init();
大概意思是延迟5秒钟启动其线程,线程的操作是启动你的主Activity,在这5秒钟里,你可以初始化你想要的东东。。。写在init()中
等你发现时间是贼了,它早已偷光你的选择。。。
精华0在线时间7 小时帖子主题UID163097积分387技术分250 资源分6 分享激情85 博客好友记录相册
实习工程师
县吏, 积分 387, 距离下一级还需 113 积分
UID163097积分387
谢谢各位的分享用了onerain88的方法{:5_158:}
三级英豪勋章
三级英豪勋章
四级英才勋章
四级英才勋章
五级至尊勋章
五级至尊勋章
六级尊贵勋章
六级尊贵勋章
七级卓越勋章
七级卓越勋章
八级荣誉勋章
八级荣誉勋章
九级光辉勋章
九级光辉勋章
十级贡献勋章
十级贡献勋章
DEVDIV博主
DEVDIV人才
二级精英勋章
二级精英勋章
一级王者勋章
一级王者勋章
及时将最新信息发给我
通过Email及时将最新的模板和服务发给我。
及时了解我们最新动态。关注我们的微博
官方微博: &&&QQ 超高仿QQ界面 android项目源码 超级华丽的 最新版本,代码具有很强的参考价值, Java Develop 259万源代码下载-
&文件名称: QQ& & [
& & & & &&]
&&所属分类:
&&开发工具: Java
&&文件大小: 6251 KB
&&上传时间:
&&下载次数: 0
&&提 供 者:
&详细说明:超高仿QQ界面 android项目源码界面超级华丽的仿QQ最新版本,代码具有很强的参考价值,对初学者理解界面开发有很大的帮助-Ultra-high imitation QQ interface android project source interface Super gorgeous imitation QQ latest version of the code has a strong reference value, for beginners to understand interface development a great help.
文件列表(点击判断是否您需要的文件,如果是垃圾请在下面评价投诉):
&&Android项目源码界面超级华丽的仿QQ最新版本\JavaApk源码说明.txt&&.........................................\QQ\.classpath&&.........................................\..\.project&&.........................................\..\.settings\org.eclipse.core.resources.prefs&&.........................................\..\AndroidManifest.xml&&.........................................\..\assets\dengziqi.jpg&&.........................................\..\......\hangxiaozhu.jpg&&.........................................\..\......\jingtian.jpg&&.........................................\..\......\kangyikun.jpg&&.........................................\..\......\liuyifei.jpg&&.........................................\..\......\songhuiqiao.jpg&&.........................................\..\......\songqian.jpg&&.........................................\..\......\zhangzetian.jpg&&.........................................\..\bin\AndroidManifest.xml&&.........................................\..\...\classes\com\qq\activity\ErcodeScanActivity$1.class&&.........................................\..\...\.......\...\..\........\ErcodeScanActivity$2.class&&.........................................\..\...\.......\...\..\........\ErcodeScanActivity$3.class&&.........................................\..\...\.......\...\..\........\ErcodeScanActivity$4.class&&.........................................\..\...\.......\...\..\........\ErcodeScanActivity.class&&.........................................\..\...\.......\...\..\........\LoginActivity$1.class&&.........................................\..\...\.......\...\..\........\LoginActivity$2.class&&.........................................\..\...\.......\...\..\........\LoginActivity.class&&.........................................\..\...\.......\...\..\........\QQconstactActivity.class&&.........................................\..\...\.......\...\..\........\RegisterInfoActivity$1.class&&.........................................\..\...\.......\...\..\........\RegisterInfoActivity$2.class&&.........................................\..\...\.......\...\..\........\RegisterInfoActivity.class&&.........................................\..\...\.......\...\..\........\RegisterPhoneActivity$1.class&&.........................................\..\...\.......\...\..\........\RegisterPhoneActivity$2.class&&.........................................\..\...\.......\...\..\........\RegisterPhoneActivity.class&&.........................................\..\...\.......\...\..\........\RegisterResultActivity$1.class&&.........................................\..\...\.......\...\..\........\RegisterResultActivity$2.class&&.........................................\..\...\.......\...\..\........\RegisterResultActivity$3.class&&.........................................\..\...\.......\...\..\........\RegisterResultActivity.class&&.........................................\..\...\.......\...\..\........\WaterCameraActivity$1.class&&.........................................\..\...\.......\...\..\........\WaterCameraActivity$MyOnPagerChangeListener.class&&.........................................\..\...\.......\...\..\........\WaterCameraActivity$MyPictureCallback.class&&.........................................\..\...\.......\...\..\........\WaterCameraActivity$MySurfaceViewCallback.class&&.........................................\..\...\.......\...\..\........\WaterCameraActivity$MyViewPagerAdapter.class&&.........................................\..\...\.......\...\..\........\WaterCameraActivity.class&&.........................................\..\...\.......\...\..\........\WaterPhotoActivity$1.class&&.........................................\..\...\.......\...\..\........\WaterPhotoActivity$2.class&&.........................................\..\...\.......\...\..\........\WaterPhotoActivity$3.class&&.........................................\..\...\.......\...\..\........\WaterPhotoActivity$MyOntaouchListener.class&&.........................................\..\...\.......\...\..\........\WaterPhotoActivity.class&&.........................................\..\...\.......\...\..\........\WelcomeActivity$1.class&&.........................................\..\...\.......\...\..\........\WelcomeActivity.class&&.........................................\..\...\.......\...\..\........\WiFiActivity$1.class&&.........................................\..\...\.......\...\..\........\WiFiActivity$2.class&&.........................................\..\...\.......\...\..\........\WiFiActivity$3.class&&.........................................\..\...\.......\...\..\........\WiFiActivity$4.class&&.........................................\..\...\.......\...\..\........\WiFiActivity.class&&.........................................\..\...\.......\...\..\.dapter\CallAdapter.class&&.........................................\..\...\.......\...\..\.......\ConstactAdapter.class&&.........................................\..\...\.......\...\..\.......\ExpAdapter$1.class&&.........................................\..\...\.......\...\..\.......\ExpAdapter$ChildHolder.class&&.........................................\..\...\.......\...\..\.......\ExpAdapter$GroupHolder.class&&.........................................\..\...\.......\...\..\.......\ExpAdapter.class&&.........................................\..\...\.......\...\..\.......\NewsAdapter$1.class&&.........................................\..\...\.......\...\..\.......\NewsAdapter$Holder.class&&.........................................\..\...\.......\...\..\.......\NewsAdapter.class&&.........................................\..\...\.......\...\..\.......\QQconstactAdapter$1.class&&.........................................\..\...\.......\...\..\.......\QQconstactAdapter$Holder.class&&.........................................\..\...\.......\...\..\.......\QQconstactAdapter.class&&.........................................\..\...\.......\...\..\.......\QQfriendAdapter$1.class&&.........................................\..\...\.......\...\..\.......\QQfriendAdapter$ViewHolder.class&&.........................................\..\...\.......\...\..\.......\QQfriendAdapter.class&&.........................................\..\...\.......\...\..\AsyncTaskBase.class&&.........................................\..\...\.......\...\..\bean\RecentChat.class&&.........................................\..\...\.......\...\..\BuildConfig.class&&.........................................\..\...\.......\...\..\ercode\AutoFocusCallback.class&&.........................................\..\...\.......\...\..\......\CameraConfigurationManager.class&&.........................................\..\...\.......\...\..\......\CameraManager.class&&.........................................\..\...\.......\...\..\......\CaptureActivityHandler$State.class&&.........................................\..\...\.......\...\..\......\CaptureActivityHandler.class&&.........................................\..\...\.......\...\..\......\DecodeFormatManager.class&&.........................................\..\...\.......\...\..\......\DecodeHandler.class&&.........................................\..\...\.......\...\..\......\DecodeThread.class&&.........................................\..\...\.......\...\..\......\FinishListener.class&&.........................................\..\...\.......\...\..\......\FlashlightManager.class&&.........................................\..\...\.......\...\..\......\InactivityTimer$DaemonThreadFactory.class&&.........................................\..\...\.......\...\..\......\InactivityTimer.class&&.........................................\..\...\.......\...\..\......\Intents$Encode.class&&.........................................\..\...\.......\...\..\......\Intents$Scan.class&&.........................................\..\...\.......\...\..\......\Intents$SearchBookContents.class&&.........................................\..\...\.......\...\..\......\Intents$Share.class&&.........................................\..\...\.......\...\..\......\Intents$WifiConnect.class&&.........................................\..\...\.......\...\..\......\Intents.class&&.........................................\..\...\.......\...\..\......\PlanarYUVLuminanceSource.class&&.........................................\..\...\.......\...\..\......\PreviewCallback.class&&.........................................\..\...\.......\...\..\......\ViewfinderResultPointCallback.class&&.........................................\..\...\.......\...\..\fragment\CallFragment$1.class&&.........................................\..\...\.......\...\..\........\CallFragment$2.class&&.........................................\..\...\.......\...\..\........\CallFragment$CallAsyncTask.class&&.........................................\..\...\.......\...\..\........\CallFragment.class&&.........................................\..\...\.......\...\..\........\ConstactFatherFragment$1.class&&.........................................\..\...\.......\...\..\........\ConstactFatherFragment$2.class&&.........................................\..\...\.......\...\..\........\ConstactFatherFragment$3.class&&.........................................\..\...\.......\...\..\........\ConstactFatherFragment.class&&.........................................\..\...\.......\...\..\........\ConstactFragment$1.class&&.........................................\..\...\.......\...\..\........\ConstactFragment$AsyncTaskLoading.class
&输入关键字,在本站259万海量源码库中尽情搜索:Android仿QQ登陆窗口实现原理
字体:[ ] 类型:转载 时间:
今天根据腾讯qq,我们做一个练习,来学习如何制作一个漂亮的布局仿QQ登陆,还是一个启动画面,之后进入登录页面,导航页面就不介绍了,大家可以参考微信的导航页面
今天根据腾讯qq,我们做一个练习,来学习如何制作一个漂亮的布局。首先看一下官方图片
还是一个启动画面,之后进入登录页面,导航页面就不介绍了,大家可以参考微信的导航页面。首先程序进入SplashActivity,就是启动页面,Activity代码如下: 代码如下:package com.example. import android.app.A import android.content.I import android.os.B import android.os.H public class SplashActivity extends Activity { private I @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.splash); startMainAvtivity(); } private void startMainAvtivity() { new Handler().postDelayed(new Runnable() { public void run() { intent=new Intent(SplashActivity.this,QQ.class); startActivity(intent); SplashActivity.this.finish();//结束本Activity } }, 1000);//设置执行时间 } }xml布局文件就是一个全屏的图片,要注意的是设置android:scaleType&="matrix"这个属性。不然不会全屏 代码如下:&? xml version= "1.0" encoding = "utf-8"?& & LinearLayout xmlns:android ="/apk/res/android" android:layout_width= "match_parent" android:layout_height= "match_parent" android:orientation= "vertical" & & ImageView android:layout_width ="match_parent" android:layout_height ="match_parent" android:scaleType ="matrix" android:src ="@drawable/splash" /& &/ LinearLayout&过1秒之后转入登陆页面,从图片我们可以看出,腾讯的UI做的还是相当美观漂亮的,既简洁又不失美观。先分析一下这个登录界面,从整体可以看出,根布局的背景色是蓝色的,而那个QQ 2012 Android其实是一个图片背景色和根布局的背景色一样,这样就不会有视觉偏差。下面就是两个文本框EditText了,注意这里和官方给的不一样,因为后面有一个小箭头,当点击这个箭头时,会在第一个文本框的下面显示已经输入的qq号码,在qq号码的后面还有删除qq信息的按钮。这个地方需要注意一下。再往下就是登陆Button以及那连个“记住密码”和“注册新账号”比较简单,注意位置的安排即可。最后就是最下面的“更多登陆选项”,当点击的时候会向上弹出一些内容,其实就是一个隐藏的布局,当点击上面的时候,使下面隐藏的布局显示。当然也可以使用滑动抽屉来做,但是相对来说比较麻烦。下面看一下xml代码,相信大家就会一路了然。 代码如下:& RelativeLayout xmlns:android ="/apk/res/android" xmlns:tools= "/tools" android:layout_width= "match_parent" android:layout_height= "match_parent" android:background= "@drawable/login_bg" & & ImageView android:id ="@+id/loginbutton" android:layout_width ="wrap_content" android:layout_height ="wrap_content" android:layout_centerHorizontal ="true" android:layout_marginTop ="50dp" android:src ="@drawable/login_pic" /& &LinearLayout android:id ="@+id/input" android:layout_width ="fill_parent" android:layout_height ="wrap_content" android:layout_below ="@id/loginbutton" android:layout_marginLeft ="28.0dip" android:layout_marginRight ="28.0dip" android:background ="@drawable/login_input" android:orientation ="vertical" & & LinearLayout android:layout_width ="fill_parent" android:layout_height ="44.0dip" android:background ="@drawable/login_input" android:gravity ="center_vertical" android:orientation ="horizontal" & & EditText android:id ="@+id/searchEditText" android:layout_width ="0dp" android:layout_height ="fill_parent" android:layout_weight ="1" android:background ="@null" android:ems ="10" android:imeOptions ="actionDone" android:singleLine ="true" android:textSize ="16sp" & & requestFocus /& &/ EditText& & Button android:id ="@+id/button_clear" android:layout_width ="20dip" android:layout_height ="20dip" android:layout_marginRight ="8dip" android:background ="@drawable/login_input_arrow" android:visibility ="visible" /& &/ LinearLayout& & View android:layout_width ="fill_parent" android:layout_height ="1.0px" android:layout_marginLeft ="1.0px" android:layout_marginRight ="1.0px" android:background ="#ffc0c3c4" /& & EditText android:id ="@+id/password" android:layout_width ="fill_parent" android:layout_height ="44.0dip" android:background ="#00ffffff" android:gravity ="center_vertical" android:inputType ="textPassword" android:maxLength ="16" android:maxLines ="1" android:textColor ="#ff1d1d1d" android:textColorHint ="#ff666666" android:textSize ="16.0sp" /& &/LinearLayout & &Button android:id ="@+id/buton1" android:layout_width ="270dp" android:background ="@drawable/chat_send_button_bg" android:paddingTop ="5.0dip" android:layout_height ="50dp" android:layout_marginLeft ="28.0dip" android:layout_marginRight ="28.0dip" android:layout_marginTop ="12.0dip" android:layout_below ="@+id/input" android:gravity ="center" android:textSize ="20dp" android:text = "登录" /& &RelativeLayout android:id ="@+id/relative" android:layout_width ="fill_parent" android:layout_height ="wrap_content" android:layout_alignLeft ="@+id/input" android:layout_alignRight ="@+id/input" android:layout_below ="@id/buton1" & & CheckBox android:id ="@+id/auto_save_password" android:layout_width ="wrap_content" android:layout_height ="wrap_content" android:layout_alignParentLeft ="true" android:background ="@null" android:button ="@null" android:checked ="true" android:drawableLeft ="@drawable/checkbox_bg1" android:drawablePadding ="4.0dip" android:text = "记住密码" android:textColor ="#ffffffff" android:textSize ="12.0sp" /& & Button android:id ="@+id/regist" android:layout_width ="wrap_content" android:layout_height ="wrap_content" android:layout_alignParentRight ="true" android:background ="@drawable/login_reg_normal" android:clickable ="true" android:gravity ="left|center" android:paddingLeft ="8.0dip" android:paddingRight ="18.0dip" android:text = "注册新账号" android:textColor ="#ffffffff" android:textSize ="12.0sp" /& &/RelativeLayout & &LinearLayout android:id ="@+id/more_bottom" android:layout_width ="fill_parent" android:layout_height ="wrap_content" android:layout_alignParentBottom ="true" android:background ="@drawable/login_moremenu_back" android:orientation ="vertical" & &RelativeLayout android:id ="@+id/input2" android:layout_width ="fill_parent" android:layout_height ="40dp" android:background ="@drawable/login_moremenu_back" android:orientation ="vertical" & & ImageView android:id ="@+id/more_image" android:layout_width ="wrap_content" android:layout_height ="wrap_content" android:layout_centerVertical ="true" android:layout_marginRight ="5.0dip" android:layout_toLeftOf ="@+id/more_text" android:clickable ="false" android:src ="@drawable/login_more_up" /& & TextView android:id ="@+id/more_text" android:layout_width ="wrap_content" android:layout_height ="wrap_content" android:layout_centerInParent ="true" android:background ="@null" android:gravity ="center" android:maxLines ="1" android:text = "更多登陆选项" android:textColor ="#ffc6e6f9" android:textSize ="14.0sp" /& &/RelativeLayout & &LinearLayout android:id ="@+id/morehidebottom" android:layout_width ="fill_parent" android:layout_height ="wrap_content" android:orientation ="vertical" android:visibility ="gone" & & View android:layout_width ="fill_parent" android:layout_height ="1.0px" android:background ="#ff005484" /& & View android:layout_width ="fill_parent" android:layout_height ="1.0px" android:background ="#ff0883cb" /& & LinearLayout android:layout_width ="fill_parent" android:layout_height ="wrap_content" android:layout_marginLeft ="30.0dip" android:layout_marginRight ="30.0dip" android:layout_marginTop ="12.0dip" android:orientation ="horizontal" & & CheckBox android:id ="@+id/hide_login" android:layout_width ="1.0px" android:layout_height ="wrap_content" android:layout_weight ="2.0" android:background ="@null" android:button ="@null" android:checked ="false" android:drawableLeft ="@drawable/checkbox_bg1" android:drawablePadding ="4.0dip" android:text = "隐身登陆" android:textColor ="#ffc6e6f9" android:textSize ="12.0sp" /& & CheckBox android:id ="@+id/silence_login" android:layout_width ="1.0px" android:layout_height ="wrap_content" android:layout_weight ="1.0" android:background ="@null" android:button ="@null" android:checked ="false" android:drawableLeft ="@drawable/checkbox_bg1" android:drawablePadding ="4.0dip" android:text = "静音登录" android:textColor ="#ffc6e6f9" android:textSize ="12.0sp" /& &/ LinearLayout& & LinearLayout android:layout_width ="fill_parent" android:layout_height ="wrap_content" android:layout_marginBottom ="18.0dip" android:layout_marginLeft ="30.0dip" android:layout_marginRight ="30.0dip" android:layout_marginTop ="18.0dip" android:orientation ="horizontal" & & CheckBox android:id ="@+id/accept_accounts" android:layout_width ="1.0px" android:layout_height ="wrap_content" android:layout_weight ="2.0" android:background ="@null" android:button ="@null" android:checked ="true" android:drawableLeft ="@drawable/checkbox_bg1" android:drawablePadding ="4.0dip" android:singleLine ="true" android:text = "允许手机/电脑同时在心线" android:textColor ="#ffc6e6f9" android:textSize ="12.0sp" /& & CheckBox android:id ="@+id/accept_troopmsg" android:layout_width ="1.0px" android:layout_height ="wrap_content" android:layout_weight ="1.0" android:background ="@null" android:button ="@null" android:checked ="true" android:drawableLeft ="@drawable/checkbox_bg1" android:drawablePadding ="4.0dip" android:text = "接受群消息" android:textColor ="#ffc6e6f9" android:textSize ="12.0sp" /& &/ LinearLayout& &/ LinearLayout& &/LinearLayout & &/ RelativeLayout&
各个组件的使用没有问题,关键是如何设置他们的属性,来获得一个比较美观的效果,大家可以参考这个例子,来做一下练习,来强化UI的设计。从这个例子中就可以学到很多东西,比如ViwGroup的使用(如何枪套),background的设置,例如同时使用两个Edittext,设置android:background&="@null"设置为空的时候就不会产生间隔了。这个要自己多做设计,时间长了就会有感悟了。最后看一下MainActivity的代码,布局简单 代码如下:package com.example. import android.os.B import android.app.A import android.app.D import android.view.M import android.view.V import android.view.View.OnClickL import android.widget.B import android.widget.ImageV public class QQ extends Activity implements OnClickListener{ private Button login_B private View moreHideBottomView,input2; private ImageView more_imageV private boolean mShowBottom = @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_qq); initView(); } private void initView() { login_Button=(Button) findViewById(R.id.buton1); login_Button.setOnClickListener(this); moreHideBottomView=findViewById(R.id.morehidebottom); more_imageView=(ImageView) findViewById(R.id.more_image); input2=findViewById(R.id.input2); input2.setOnClickListener( this); } public void showBottom(boolean bShow){ if(bShow){ moreHideBottomView.setVisibility(View.GONE); more_imageView.setImageResource(R.drawable.login_more_up); mShowBottom = }else{ moreHideBottomView.setVisibility(View.VISIBLE); more_imageView.setImageResource(R.drawable.login_more); mShowBottom = } } public void onClick(View v) { switch(v.getId()) { case R.id.input2: showBottom(!mShowBottom);
case R.id.buton1: showRequestDialog();
} } private Dialog mDialog = private void showRequestDialog() { if (mDialog != null) { mDialog.dismiss(); mDialog = } mDialog = DialogFactory.creatRequestDialog(this, "正在验证账号..."); mDialog.show(); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.activity_qq, menu);
} }最后效果如下:
总结:本文可以作为一个UI练习Demo,大家可以自己独立去写,有问题的可以留下邮箱我给你发一下源码作为参考。下一篇将写主页面的实现,欢迎大家关注。
您可能感兴趣的文章:
大家感兴趣的内容
12345678910
最近更新的内容
常用在线小工具

我要回帖

更多关于 qq登录界面的动态图片 的文章

 

随机推荐