当前位置: 首页 > news >正文

房城乡建设部网站怎么用ps做网站首页图片

房城乡建设部网站,怎么用ps做网站首页图片,如何做外贸营销型网站,佛山新网站建设市场实现一个欢迎界面的动画#xff0c;即打开app显示的页面#xff0c;动画结束后跳到Activity。 1、欢迎界面的背景是一个绿色矩形 ?xml version1.0 encodingutf-8? shape xmlns:androidhttp://schemas.android.com/apk/res/andr…实现一个欢迎界面的动画即打开app显示的页面动画结束后跳到Activity。 1、欢迎界面的背景是一个绿色矩形 ?xml version1.0 encodingutf-8? shape xmlns:androidhttp://schemas.android.com/apk/res/androidandroid:shaperectangle solid android:color#19cc54//shape2、欢迎界面的布局整个布局的背景为上面的绿色矩形背景此外包括两个TextView?xml version1.0 encodingutf-8? LinearLayout xmlns:androidhttp://schemas.android.com/apk/res/androidandroid:layout_widthmatch_parentandroid:layout_heightmatch_parentandroid:orientationverticalandroid:backgrounddrawable/bg_welcomeandroid:idid/welcom_layout TextViewandroid:idid/welcomImageandroid:layout_heightwrap_contentandroid:layout_widthwrap_contentandroid:layout_gravitycenterandroid:gravitycenterandroid:layout_marginLeft20dpandroid:layout_marginTop200dpandroid:textstring/welcomandroid:textSizedimen/welcomtextandroid:textColorandroid:color/white/ !-- Welcom to Sunnys blog --TextViewandroid:idid/madebyandroid:layout_heightwrap_contentandroid:layout_widthwrap_contentandroid:textstring/made_byandroid:layout_gravitycenterandroid:layout_marginLeft80dp android:layout_marginTop150dp android:textSizedimen/welcom_madebyandroid:textColorandroid:color/white//LinearLayout3、欢迎界面的动画 是逐渐缩小淡出的效果动画持续4000毫秒 ?xml version1.0 encodingutf-8? set xmlns:androidhttp://schemas.android.com/apk/res/androidandroid:duration4000scaleandroid:fromXScale1.0android:fromYScale1.0android:pivotX50%android:pivotY50%android:toYScale0.5android:toXScale0.5/alphaandroid:fromAlpha1.0android:toAlpha0.0/ /set 4、在WelcomActivity.java中加载页面布局和动画 public void onAnimationEnd(Animation animation)//在动画结束后跳转到MainActivityspan stylefont-size:14px;//WelcomActivity.java/span package com.sunny.csdnblog;import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.view.Window; import android.view.animation.AnimationUtils; import android.view.animation.Animation; import android.view.animation.Animation.AnimationListener; import android.content.Intent;import android.view.View; import android.widget.ImageView; import android.widget.TextView; public class WelcomActivity extends Activity{private Handler mHandler;Overrideprotected void onCreate(Bundle savedInstanceState){super.onCreate(savedInstanceState);requestWindowFeature(Window.FEATURE_NO_TITLE);setContentView(R.layout.welcom_layout);mHandler new Handler();//TextView welcomTextView (TextView)findViewById(R.id.welcomImage);//TextView madebyTextView (TextView)findViewById(R.id.madeby);View welcomView (View)findViewById(R.id.welcom_layout);Animation animation AnimationUtils.loadAnimation(this, R.anim.welcom_anim);animation.setAnimationListener(new AnimationListener(){Overridepublic void onAnimationStart(Animation animation) {// TODO Auto-generated method stub}Overridepublic void onAnimationEnd(Animation animation) {// TODO Auto-generated method stubmHandler.post(new Runnable(){Overridepublic void run() {// TODO Auto-generated method stubIntent intent new Intent(WelcomActivity.this,MainActivity.class);startActivity(intent);WelcomActivity.this.finish();}});}Overridepublic void onAnimationRepeat(Animation animation) {// TODO Auto-generated method stub}});welcomView.startAnimation(animation);//madebyTextView.startAnimation(animation);}}5、MainActivity显示一个页面head和一个WebViewpublic class MainActivity extends FragmentActivity {private WebView webView;Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);requestWindowFeature(Window.FEATURE_NO_TITLE);setContentView(R.layout.activity_main);webView (WebView)findViewById(R.id.webView);webView.getSettings().setJavaScriptEnabled(true);webView.setWebViewClient(new WebViewClient());webView.loadUrl(http://blog.csdn.net/doudoulee_blog);
http://www.huolong8.cn/news/62987/

相关文章:

  • 响应式网站设计的规范临沂哪里有做网站的
  • 电子商务网站建设的工具整合营销传播简称
  • 做软件下载网站怎么赚钱网站建设哪专业
  • 网站的原型怎么做建设部网站 干部学院 一级注册建筑师培训 2014年
  • 网站一般用什么做的成都官网优化多少钱
  • 菜鸟建网站网站开发需要会啥
  • php网站开发实例教程下载中国中建设计集团有限公司
  • 上海企业网站制作方法自己做的网站怎么管理用户
  • 做得好的网站90设计赚钱
  • 腾讯网站安全检测ip地址做网站
  • 宣讲家网站官网加强作风建设快速建站软件排名
  • 优质的广州微网站建设台州中兴建设咨询有限公司网站
  • 网站h1标签用在哪里公司网站平台的作用
  • 珠海网站推广建设食品商购网站
  • 南京网站推广¥做下拉去118cr国外网页游戏网站
  • 一般在百度做网站多少钱超八成搜索网站存在信息泄露问题
  • 高端网站设计公司有上海公司注册一站式企业服务
  • 网站平台怎么推广营销网站售后调查系统
  • 自助建设手机网站做企业网站的尺寸是多少钱
  • 一个网站的建设需要哪些流程图响应式网站404页面怎么做
  • 经典企业网站欣赏溧阳网页设计
  • 网站开发属于无形资产福州小程序开发定制
  • 太原开发网站公司淘宝开店流程步骤图片
  • 海南建设网网站网站搜索页面怎么做
  • 定制网站建设的释义南昌城市旅游网站建设
  • wordpress 企业网站 教程事件营销ppt
  • 重庆网站建设业务招聘莱芜在线广告信息
  • 南通网站建设排名公司哪家好网站建设的广告投入
  • 漳州做网站建设网络运维工资一般多少
  • 建设银行网站怎么看交易记录电影网站设计说明书