使用 H5 容器

您可使用 H5 容器完成以下操作。在应用内打开一个在线网页 前端调用 Native 接口 前端调用自定义 JSAPI 自定义 H5 页面的 TitleBar 在应用内打开一个在线网页 给工程添加自定义的类 MyApplication,该类继承自 Application。......

自定义导航栏

在 h5_new_title_layout.xml 文件中添加如下代码,设置导航栏布局。xml version="1.0"encoding="utf-8?.alipay.mobile.nebula.view.H5TitleBarFrameLayout xmlns:android=...

AdvancedCustomPushNotification API

代码示例 AdvancedCustomPushNotification advancedCustomPushNotification=new AdvancedCustomPushNotification(R.layout.demo_notification_cus_notif,R.id.m_icon,R.id.m_title,R.id.m_text);demo_notification_cus_notif.xml示例?xml ...

条目组件

layout_width="match_parent"android:layout_height="wrap_content"app:listItemType="center"app:listLeftText="单行文字"app:listRightText="详细信息"/><com.alipay.mobile.antui.tablelist.AULineBreakListItem android:layout_width=...

资金输入

AUAmountInputBox 组件提供金额输入框,输入框中的数字为特殊的数字字体。输入框包括编辑框(AUAmountEditText)和备注(AUAmountFootView)两个部分,其中 AUAmountFootView 有两种样式(可编辑的输入框和文本展示),可自由组合。......

自定义启动加载页

} private void init(){ LayoutInflater.from(getContext()).inflate(R.layout.activity_loading_page,this,true);tvAppName=(TextView)findViewById(R.id.tv_app);progressBar=findViewById(R.id.progress);tvTips=(TextView)findViewById...

自定义导航栏(10.1.60)

} contentView=(H5TitleBarFrameLayout)LayoutInflater.from(context).inflate(R.layout.h5_navigation_bar,parent,false);contentView.getContentBgView().setColor(context.getResources().getColor(R.color.h5_default_titlebar_color))...

按钮组件

AUButton 组件用于提供不同样式的按钮。效果图 Style 接口 属性名 说明 mainButtonStyle 页面主按钮 subButtonStyle 页面次按钮 warnButtonStyle 警告按钮 ....alipay.mobile.antui:color/AU_COLOR_LINK" android:text="更多服务"/>

视频拼接

{ super.onCreate(savedInstanceState)setContentView(R.layout.activity_mix)findViewById(R.id.btnReset).setOnClickListener { findViewById(R.id.btnMix).isEnabled=false mMixComposer?release()init()} findViewById(R.id....

脚手架简介

项目初始化结构如下:project├─mock│├─mock.config.js│└─rpc│└─test.js├─package.json├─www └─src├─common│├─components│├─css│└─base.less│├─img│└─js├─layout│├─index.html │└─layout.html └...

视频拼接

{ super.onCreate(savedInstanceState)setContentView(R.layout.activity_mix)findViewById(R.id.btnReset).setOnClickListener { findViewById(R.id.btnMix).isEnabled=false mMixComposer?release()init()} findViewById(R.id....

数字键盘

AUNumberKeyboardView 提供三种状态的数字键盘。使用说明 单独作为一个视图展示,如小程序。与 AUAmountEditText 绑定使用,绑定工具为 AUNumberKeyBoardUtil,已经封装入 AUAmountEditText,具体可参考 AUAmountInputBox 文档。......

输入框

layout_width="match_parent"android:layout_height="wrap_content"app:listItemType="center"app:inputName="标签2"app:inputHint="按提示输入提示"/><com.alipay.mobile.antui.input.AUInputBox android:layout_width="match_parent...

标准 UI 下使用扫码功能

setContentView(R.layout.activity_main);findViewById(R.id.standard_ui_btn).setOnClickListener(new View.OnClickListener(){@Override public void onClick(View v){ MPScan.startMPaasScanActivity(MainActivity.this,scanRequest,new...

使用 Material Design

本文从 配置工程 和 使用资源 两方面介绍如何使用 Material Design。配置工程 关于此任务 由于 mPaaS 框架的特殊性,若直接在项目中引入 AppCompat 相关库,编译时会报错,提示资源找不到。...com.mpaas.android.res.base:attr/actionBarSize" app:layout...

使用 H5 离线包

textColor="#ffffff"app:layout_constraintEnd_toEndOf="parent"app:layout_constraintHorizontal_bias="0.0"app:layout_constraintStart_toStartOf="parent"app:layout_constraintTop_toBottomOf="@id/custom_title_btn_after"/>在 ...

搜索栏

color,reference 代码示例<com.alipay.mobile.antui.basic.AUSearchBar android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginTop="10dp"aui:searchEditText="输入文本"aui:isShowSearchBtn=...

视频合拍

{ super.onCreate(savedInstanceState)setContentView(R.layout.activity_mixrecord)mVideoPreviewView=findViewById(R.id.videoPreviewView)mCameraPreviewView=findViewById(R.id.cameraPreviewView)mRecordBtn=findViewById(R.id....

配置预置展位

关于此任务 您可以通过 XML 预置 CdpAdvertisementView 展位参数到 App 中展位所在界面的 layout.xml 文件中,或是通过 Java 代码添加该参数到 layout.xml 文件中。然后,在 Activity 的 onResume()生命周期里调用更新接口。说明 从服务端...

自定义 UI 下使用扫码功能

本文将引导您绘制自定义 UI 界面并将自定义 UI 扫码的能力添加到工程中。如需在自定义 UI 下使用扫码功能,请参考 代码示例。该过程主要分为以下四个步骤:创建依赖工程 在依赖工程中创建定义 UI 界面 在依赖工程中使用扫码功能 在主工程中......

在 Android Studio 创建应用

layout_width="101dp"android:layout_height="50dp"android:layout_marginStart="142dp"android:layout_marginTop="153dp"android:layout_marginBottom="151dp"android:text="Button"app:layout_...

辅助说明组件

效果图 代码示例<com.alipay.mobile.antui.basic.AUAssistLabelView android:layout_width="match_parent"android:layout_height="wrap_content"android:text="若关闭,当收到朋友消息时,通知提示将不显示发言人和内容摘要"/><com.alipay....

视频合拍

{ super.onCreate(savedInstanceState)setContentView(R.layout.activity_mixrecord)mVideoPreviewView=findViewById(R.id.videoPreviewView)mCameraPreviewView=findViewById(R.id.cameraPreviewView)mRecordBtn=findViewById(R.id....

在 Android Studio 创建应用

layout_width="101dp"android:layout_height="50dp"android:layout_marginStart="142dp"android:layout_marginTop="153dp"android:layout_marginBottom="151dp"android:text="Button"app:layout_...

Lindorm(HBase)数据入库与ETL

数据转换objects Tile To Layout {"resample_method":"nearest-neighbor","type":"{singleband|multiband}.{spatial|temporal}.transform.tile-to-layout"} 说明 将RDD[({ProjectedExtent|TemporalProjectedExtent},{Tile|MultibandTile})...

在 Android Studio 创建原生工程

layout_width="101dp"android:layout_height="50dp"android:layout_marginStart="142dp"android:layout_marginTop="153dp"android:layout_marginBottom="151dp"android:text="Button"app:layout_...

搜索框

AUSearchInputBox(原 APSocialTagSearchBar)提供包含搜索框、右侧搜索按钮的搜索标题栏。使用该组件时,需要设置 View 的高度。效果图 接口说明/*设置最大输入长度*/public void setInputMaxLength();...layout.addView(inputBox);

多源录制

setContentView(R.layout.multi_recoder_demo_layout);initViews();initRecorder();}@Override protected void onResume(){ super.onResume();mRecorder.startPreview();}@Override protected void onPause(){ super.onPause();...

标签组件

width="0dp"android:layout_height="wrap_content"android:layout_weight="1"android:text="口碑"android:textSize="@dimen/AU_ICONSIZE2"app:topIconSize="@dimen/AU_ICONSIZE2"app:topIconSid="@drawable/tab_bar_alipay"app:textColor=...

诊断报告

功能描述 Node.js 性能平台的诊断功能,大都从某一个特定角度,例如针对内存问题的堆快照,针对CPU问题的Profiling,通过一定时间的信息采集来协助定位问题。诊断报告则从一个全局的视角抓住进程的瞬时状态,采集了堆栈,系统资源,平台...

接入 SDK

View itemRandomView=inflater.inflate(R.layout.layout_custom,null);TextView textView=itemRandomView.findViewById(R.id.feed_user_add);textView.setOnClickListener(new View.OnClickListener(){@Override public void onClick(View ...

多源录制

setContentView(R.layout.multi_recoder_demo_layout);initViews();initRecorder();}@Override protected void onResume(){ super.onResume();mRecorder.startPreview();}@Override protected void onPause(){ super.onPause();...

使用第三方 AAR 资源

本文介绍在使用组件化接入方式(即 Portal&Bundle 接入方式)的场景下如何使用非 com.android.support 的第三方资源。您可以下载并使用本文提供的示例工程,参考下面的使用方法进行体验。示例工程中包含 SharedResNew、ZHDemo、......

基本概念

Layout Scheme:一个金字塔中所有Layer的zoom编号及其对应的Layout Definition组成一个Layout Scheme。栅格数据的文件表示以及在数据库中存储的逻辑模型如下图所示:Band与Layer Ganos Raster采用了一种简单而高效的通用栅格数据模型来管理...

小组件开发最佳实践(Android)

Get the layout for the App Widget and attach an on-click listener/to the button,其中appwidget_provider_layout为创建的xml布局文件名称 RemoteViews views=new RemoteViews(context.getPackageName(),R.layout.appwidget_provider_...

结果页

id="@id/result_view2"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginTop="20dp"app:icon="@drawable/icon_result_alipay"app:mainTitleText="支付成功"app:subTitleText="998.00"app:...

标题栏组件

基础使用<com.alipay.mobile.antui.basic.AUTitleBar android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginTop="10dp"aui:aui_titleText="标题"aui:aui_titleTextSize="@dimen/AU_TEXTSIZE2"aui...

SDK日志输出

c{1}-%m%n"/></layout></appender><appender name="logfile"class="org.apache.log4j.DailyRollingFileAppender"><param name="File" value="log/sdk.log"/><layout class="org.apache.log4j.PatternLayout">[%c]-%m%n"/></layout>...

日期

AUDatePicker 是一个日期选择控件,本质是一个弹窗...layout.removeAllViews();if(view!null){((ViewGroup)view.getParent()).removeAllViews();layout.addView(view);} 如有疑问,请搜索群号 41708565 加入钉钉群联系技术支持人员获取帮助。

SDK日志输出

c{1}-%m%n"/></layout></appender><appender name="logfile"class="org.apache.log4j.DailyRollingFileAppender"><param name="File" value="log/sdk.log"/><layout class="org.apache.log4j.PatternLayout">[%c]-%m%n"/></layout>...
共有71条 < 1 2 3 4 ... 71 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
Node.js 性能平台 弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储
新人特惠 爆款特惠 最新活动 免费试用