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

网站建设网/搜索引擎优化是什么意思啊

网站建设网,搜索引擎优化是什么意思啊,施工企业上市公司有哪些,网站建设 宁夏StatusBar 是手机顶部的状态条。 属性: animated:状态栏变化时是否使用动画。 hidden:是否隐藏状态栏。 backgroundColor:仅作用于android。 状态栏背景色。 translucent:仅作用于android。 是否透明。 barStyle&…

StatusBar 是手机顶部的状态条。
属性:

animated:状态栏变化时是否使用动画。
hidden:是否隐藏状态栏。
backgroundColor:仅作用于android。 状态栏背景色。
translucent:仅作用于android。 是否透明。
barStyle:状态栏文本的颜色(’default’, ‘light-content’, ‘dark-content’)。
networkActivityIndicatorVisible:仅作用于ios。是否显示正在使用网络。
showHideTransition:仅作用于ios。显示或隐藏状态栏时所使用的动画效果(’fade’, ‘slide’)。

Demo:

/*** Created by on 2017/4/27.*/
import React, {Component} from 'react';
import {StyleSheet,View,StatusBar,Text,Button,TouchableHighlight,
} from 'react-native';function getValue<T>(values: Array<T>, index: number): T {return values[index % values.length];
}export default class StatusBarDemo extends Component {static navigationOptions = {title: 'StatusBar',header: {//style:{backgroundColor: 'black',},}};state = {animated: true,hidden: false,backgroundColor:'white',translucent:false,barStyle:'default',networkActivityIndicatorVisible:false,showHideTransition:'fade',}render() {return (<View style={{flex:1}}><StatusBaranimated={this.state.animated}hidden={this.state.hidden}backgroundColor={this.state.backgroundColor}translucent={this.state.translucent}barStyle={this.state.barStyle}networkActivityIndicatorVisible={this.state.networkActivityIndicatorVisible}showHideTransition={this.state.showHideTransition}/><Button title={this.state.animated?'禁用动画':'使用动画'} onPress={()=>{this.setState({animated:!this.state.animated})}}/><Button title={this.state.hidden?'显示':'隐藏'} onPress={()=>{this.setState({hidden:!this.state.hidden})}}/><View style={{flexDirection:'row',alignItems:'center'}}><Text>设置背景色:</Text><Button title='红色' onPress={()=>{this.setState({backgroundColor:'red'})}}/><Button title='蓝色' onPress={()=>{this.setState({backgroundColor:'blue'})}}/><Button title='半透明' onPress={()=>{this.setState({backgroundColor:'#80000000'})}}/></View><Button title={this.state.translucent?'不透明':'透明'} onPress={()=>{this.setState({translucent:!this.state.translucent})}}/><View style={{flexDirection:'row',alignItems:'center'}}><Text>设置样式:</Text><Button title='default' onPress={()=>{this.setState({barStyle:'default'})}}/><Button title='light-content' onPress={()=>{this.setState({barStyle:'light-content'})}}/><Button title='dark-content' onPress={()=>{this.setState({barStyle:'dark-content'})}}/></View><View style={{flexDirection:'row',alignItems:'center'}}><Text>显示或隐藏动画效果:</Text><Button title='fade' onPress={()=>{this.setState({showHideTransition:'fade'})}}/><Button title='slide' onPress={()=>{this.setState({showHideTransition:'slide'})}}/></View></View>);}
}

这里写图片描述

github下载地址

http://www.jmfq.cn/news/5093011.html

相关文章:

  • 南昌大型网站制作/西安seo外包公司
  • 高端网站建设信息/找百度
  • 面包屑网站导航怎么做/企业培训内容包括哪些内容
  • 做网站和app那个花销大/外贸快车
  • 深圳有没有什么网站/山西seo
  • 建设公司网站的原则/百度关键词搜索排名查询
  • 做县城门户网站/搜索引擎优化技术有哪些
  • 如何做音乐分享类网站/简单的网站建设
  • 鞍山做网站/百度经验首页
  • 微信网站测试/网站统计哪个好用
  • 安亭做网站公司/seo主管招聘
  • 网站空间与域名的关系/发外链软件
  • 淮安做网站/网站seo好学吗
  • 官方网站建设的目标/技能培训有哪些科目
  • 用服务器ip做网站域名/百度问答平台
  • 政务咨询投诉举报网站建设/广州网络seo优化
  • wordpress电商网站/百度浏览器在线打开
  • 网站建设方案书制作流程/引流推广平台
  • 动态网站开发的集成软件有哪些/如何开网店
  • 深圳网站建设php/线下推广方式
  • 优秀的定制网站建设公司/网站优化技术
  • 我需要一个网站/网站建设策划方案
  • 北京给网站做系统的公司/下载百度卫星导航
  • 企业展厅设计内容/优化大师windows
  • 伍壹捌网站建设/制作网页
  • wordpress 内嵌网页/百度怎么优化网站排名
  • 专门做正品的网站手机版/网站快速被百度收录
  • 网站建设方案的企业/惠州seo网站推广
  • 网站建设包括网页设计/杭州seo论坛
  • 做电子网站/成都专门做网络推广的公司