- <?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();
- }
- });
-
分享到:
相关推荐
uni-app手机,模拟器文件操作
在规定的时间用户没有点击屏幕或操作设备,APP进入全屏广告页面,广告页面可放视频,图片或者gif自定义,基本实现小demo,具体看需求修改即可
android app在规定时间内用户没有操作跳出屏保,屏保activity可以展示广告。 博客介绍文章地址:http://blog.csdn.net/u010072711/article/details/50096181
举例介绍app操作手册攥写方式,含详细步骤;内容包含功能概述以及功能说明。
使用在app进入后台的时候进行切换歌曲播放保活
uni-app列表项实现左划操作功能。 开箱即用。
这个是给app申请软件著作权的时候用到的操作手册攥写方式,含详细步骤;内容包含功能概述以及功能说明。需要的兄弟们下载
App定制、手机app开发平台的操作指南
1. 用户使用 App 的时候升级提醒有两种方式获得: - 通过应用市场获取; - 打开应用之后提醒用户更新升级。 2. 更新操作一般是在用户点击了升级按钮之后开始执行的,这里的升级操作也分为两种形式: - 一般升级 - ...
APP生成及控制端的安装使用都包含每一步的操作详细教程,菜鸟按照视频步骤一步步的就可实现APP生成及控制端后台的所有搭建 演示 APP: 链接:https://pan.baidu.com/s/1FBL7ibYwe3ayGvhekniHcw?pwd=ynl8 控制端...
APP中文操作说明
此类资源描述app状态栏提醒更新,主要是检查服务器版本信息,对比于本地,提醒用户更新
基于移动端的课程提醒签到APP是一款方便学生进行课程...总之,基于移动端的课程提醒签到APP是一款方便、快捷、实用的移动应用程序,可以帮助学生更加便捷地进行课程管理和签到操作,提高学生上课积极性和签到准确性。
基于APP Inventor2的普通蓝牙遥控车APP设计.pdf
常常有这样的场景,咱们开发出来的APP需要进行推广,比如在页面顶部来一张大Banner图片,亦或一张二维码。但往往我们都是直接给推广图片加了一个下载链接(App Store中的)。所以咱们来模拟一下用户的操作步骤: 1、...
App_Code生成静态过滤html代码操作sql
安卓appqq for pad新手教程.pdf
“服药提醒”手机App软件交互设计.pdf
个人所得税app操作指南.pdf
个税专项扣除APP操作流程演示