app首次进入的时候,新手操作进行提醒操作
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/mycouponlisttoplayout"
- android:background="@color/loginbgcolor"
- android:orientation="vertical" >
- <LinearLayout
- android:id="@+id/loadingmycouponLayout"
- android:layout_width="fill_parent"
- android:layout_height="30dp"
- android:background="@color/loginbgcolor"
- android:gravity="center"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/mycouponfootprogress"
- style="?android:progressBarStyleSmallInverse"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:background="@drawable/spinner_small"
- android:contentDescription="@string/contentdesption"
- android:indeterminateBehavior="repeat" />
- <TextView
- android:id="@+id/mycouponTipMsg"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="left|center"
- android:padding="3.0px"
- android:text="@string/Loading"
- android:textColor="#ff000000" />
- </LinearLayout>
- <com.ejoy.customcontrol.XListView
- android:id="@+id/mycouponusalist"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/loginbgcolor"
- android:cacheColorHint="#00000000"
- android:scrollbars="none" >
- </com.ejoy.customcontrol.XListView>
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/mycouponlisttoplayout"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:background="@color/black" >
- <TextView
- android:id="@+id/txtMyCouponTitle"
- style="@style/TopBarTextStyle"
- android:text="@string/mycentermyCoupon" />
- <Button
- android:id="@+id/mycoupondetails_normal_Btnreturn"
- style="@style/TopBtnReturnStyle"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true" />
- </RelativeLayout>
- <ImageView
- android:id="@+id/mycouponhelpTip"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_alignParentBottom="true"
- android:contentDescription="@string/contentdesption"
- android:keepScreenOn="true"
- android:scaleType="fitXY"
- android:src="@drawable/mycoupontip" />
- </RelativeLayout>
===========================
- helpImageView = (ImageView) findViewById(R.id.mycouponhelpTip);
- SharedPreferences sharedata = getSharedPreferences("fristrun", 0);
- Boolean isSoupon = sharedata.getBoolean("isSoupon", true);
- if (isSoupon) {
- helpImageView.setVisibility(View.VISIBLE);
- } else {
- helpImageView.setVisibility(View.GONE);
- }
- helpImageView.setOnClickListener(new View.OnClickListener() {
- public void onClick(View v) {
- helpImageView.setVisibility(View.GONE);
- Editor sharedata = getSharedPreferences("fristrun", 0).edit();
- sharedata.putBoolean("isSoupon", false);
- sharedata.commit();
- }
- });
app首次进入的时候,新手操作进行提醒操作相关推荐
- 短视频运营:如何做自媒体?新手入门的详细操作分享
经常听到这样一些言论,目前自媒体已经过时了,普通人根本挣不到钱,真相是否像别人说的一样呢? 其实,在我们身边经常会看到一些网红大V,一个月轻轻松松月入百万.月入千万的人已经大有人在,而这些网红往往都是 ...
- 一行代码实现 ofo app 首次注册时的步骤控件
StepDialog 项目地址:guangzq/StepDialog 简介:一行代码实现 ofo app 首次注册时的步骤控件 更多:作者 提 Bug 标签: DialogFragment ...
- android app 自动登录,Android APP首次登录和之后自动登录流程
Android APP首次登录和之后自动登录流程 Android APP首次登录和之后自动登录流程 App登陆保存数据流程 App因为要实现自动登陆功能,所以必然要保存一些凭据,所以比较复杂. App ...
- 直播app源代码,android弹框的几种操作
直播app源代码,实现android弹框几种操作的相关代码 在android中创建文本框:这里是创建了一个list列表式的文本框 package com.example.dialog3;import ...
- 软件测试 app自动化03 toast元素的定位 滑屏操作 触屏操作
文章目录 1 toast元素的定位 2 滑屏操作 2.1 坐标 2.2 滑屏分类 3 触屏操作 3.1 查看元素坐标 3.2 例子 小结 1 toast元素的定位 toast元素就是建议的消息提示框, ...
- 【uni-app】进入App首次打开不进入登录页面
进入App首次打开不进入登录页面 manifest.json 源码配置 "app-plus" : {"splashscreen" : {"always ...
- Android 11.0 系统默认授予app安装权限(去掉app首次运行时权限授权弹窗)
目录 1.概述 2.系统默认授予app安装权限去掉app首次运行时权限授权弹窗功能分析
- python的文件操作、模块操作、os模块、time、datatime模块以及模块的制作
Day12新手小白学python 第十二节 python的文件操作.模块操作.os模块.time.datatime模块以及模块的制作 目录 Day12新手小白学python 前言 一.文件打开关闭 二 ...
- nodejs01——安装及使用、服务端及客户端、commonjs规范、fs模块的使用(文件操作及目录操作)、stream、buffer、WebServer、端口、动态资源及静态资源、头信息、请求方式
nodejs的安装及使用 服务端及客户端 commonjs规范 fs模块的使用(文件操作及目录操作) stream buffer // Node.js介绍 Node.js 诞生于2009年,Node. ...
- python selenium元素定位、alert操作、iframe切换、多窗口切换、键盘操作、鼠标操作、js操作、操作本地文件、css高级操作
用了那么久的selenium,整理一篇自己经常用到的标签和方法 本文档持续更新优化,喜欢的小伙伴可以点赞收藏一下 文章目录 1. 通用元素定位方法,需要引入By. 2. 通用多个元素查找By 3. c ...
最新文章
- 面试总结-腾讯产品群面
- 面试官:关于负载均衡你了解多少
- 【STM32】光敏传感器示例
- Linux下查看CPU型号,内存大小,硬盘空间命令
- 如何在Java的特定范围内生成随机整数? [英]How do I generate random integers within a specific range in Java?
- 鼎微方案导航一体机刷机包_SMB方案之星 | 海康威视人脸门禁一体机产品应用方案集锦...
- url中含有中文造成文件下载失败
- Ubuntu nginx 1.6.0 服务器 nginx.conf等相关配置
- Spring学习笔记17--在XML中使用SPEL
- 解决IIS 下ASP程序错误只显示500,不显示具体错误描述的问题!
- Python爬虫代码示例
- sca60c使用程序_使用PHP的SDO和SCA扩展
- 荣耀4a android art,华为荣耀4a root教程_荣耀4a获取root权限的方法
- 卡尔曼滤波原理及matlab仿真
- # Itext Pdf 合并拆分
- 强化学习课程笔记之policy-based方法
- 可以伪装成计算机的应用,伪装成计算器隐藏应用软件
- 子元素自动撑开父元素空间
- unity 音频可视化方案
- 人工智能有哪些优点和缺点?
热门文章
- 【树上分块】【dfs序】2018沈阳网络赛 —— J题
- POJ1015 Jury Compromise【背包问题】
- Raki的读paper小记:WaveTransformer: A Novel Architecture for Audio Captioning
- 简单的docker下载安装jenkins
- LeetCode 49 - Group Anagram 归类同构字
- mysql数据库创建删除带横杠的数据库名
- Python基础知识之二
- 重写iframe内联框架中的内容
- 编译cwm-recovery(含部分修改步骤)[转]
- 基本入门的C/C++算法总结