`

邮件发送页面(类似于QQ界面)

 
阅读更多

http://andli.iteye.com/upload/picture/pic/99841/7beb80e8-a973-3f37-88ec-3182d6236c68.png

 

-----------------------------------------------------------------

<?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"
	android:orientation="vertical">
	<RelativeLayout android:layout_width="fill_parent"
		android:layout_height="fill_parent">
		<!-- 超出当前屏幕,自动滚屏,同时隐藏滚动条 -->
		<ScrollView android:layout_width="fill_parent"
			android:layout_height="fill_parent" android:layout_margin="2dp"
			android:scrollbars="none">
			<RelativeLayout android:layout_width="fill_parent"
				android:layout_height="fill_parent">
				<!-- 邮件的标题 -->
				<RelativeLayout android:id="@+id/om_rl_title"
					android:layout_marginTop="2dp" android:layout_width="fill_parent"
					android:layout_height="wrap_content">
					<EditText android:id="@+id/mail_title" style="@style/mail_edit_style"
						android:paddingLeft="50dp" android:hint="请输入邮件标题"
						android:layout_alignParentTop="true" />
					<TextView android:id="@+id/om_tv_title" android:text="标题:"
						android:gravity="center_vertical" android:paddingLeft="7dp"
						android:textSize="18sp" android:layout_width="wrap_content"
						android:layout_height="wrap_content" android:layout_marginRight="15dp"
						android:layout_alignLeft="@+id/mail_title"
						android:layout_alignTop="@+id/mail_title"
						android:layout_alignBottom="@+id/mail_title" />
				</RelativeLayout>

				<!-- 收件人 -->
				<RelativeLayout android:id="@+id/om_rl_accepter"
					android:layout_marginTop="2dp" android:layout_below="@id/om_rl_title"
					android:layout_width="fill_parent" android:layout_height="wrap_content"
					android:gravity="center_vertical">
					<EditText android:id="@+id/mail_firstreceiver" style="@style/mail_edit_style"
						android:singleLine="true" android:editable="false"
						android:focusable="false" android:hint="请添加收件人"
						android:layout_marginRight="50dp" android:layout_alignParentTop="true" />
					<TextView android:id="@+id/tv_accepter" android:text="收件人:"
						android:gravity="center_vertical" android:paddingLeft="7dp"
						android:textSize="18sp" android:layout_width="wrap_content"
						android:layout_height="wrap_content" android:layout_marginRight="15dp"
						android:layout_alignLeft="@+id/mail_firstreceiver"
						android:layout_alignTop="@+id/mail_firstreceiver"
						android:layout_alignBottom="@+id/mail_firstreceiver" />
					<Button android:id="@+id/find_receiver_btn1"
						android:layout_alignBaseline="@+id/mail_firstreceiver"
						android:layout_height="wrap_content" android:layout_width="wrap_content"
						android:text="+" android:layout_alignParentRight="true" />
				</RelativeLayout>
				<!-- 抄送人 -->
				<RelativeLayout android:id="@+id/om_rl_chaosongren"
					android:layout_width="fill_parent" android:layout_height="wrap_content"
					android:layout_below="@id/om_rl_accepter" android:gravity="center_vertical">

					<EditText android:id="@+id/mail_secondreceiver" style="@style/mail_edit_style"
						android:singleLine="true" android:editable="false"
						android:focusable="false" android:hint="请添加抄送人"
						android:layout_marginRight="50dp" android:layout_alignParentTop="true" />
					<TextView android:id="@+id/tv_chaosong" android:text="抄送人:"
						android:paddingLeft="7dp" android:gravity="center_vertical"
						android:textSize="18sp" android:layout_width="wrap_content"
						android:layout_height="wrap_content" android:layout_marginRight="15dp"
						android:layout_alignLeft="@+id/mail_secondreceiver"
						android:layout_alignTop="@+id/mail_secondreceiver"
						android:layout_alignBottom="@+id/mail_secondreceiver" />
					<Button android:id="@+id/find_receiver_btn2"
						android:layout_height="wrap_content" android:layout_width="wrap_content"
						android:text="+" android:layout_alignParentRight="true" />
				</RelativeLayout>
				<!-- 附件列表 -->
				<LinearLayout android:id="@+id/om_ll_fj"
					android:layout_width="fill_parent" android:layout_height="wrap_content"
					android:layout_below="@+id/om_rl_chaosongren" android:orientation="vertical"
					android:layout_marginTop="5sp" android:gravity="center">
				</LinearLayout>
				<!-- 邮件内容 -->
				<RelativeLayout android:layout_below="@+id/om_ll_fj"
					android:layout_alignParentBottom="true" android:orientation="horizontal"
					android:layout_width="fill_parent" android:layout_height="wrap_content"
					android:layout_marginTop="5sp" android:gravity="center"
					android:visibility="visible">
					<!-- 邮件内容编辑 -->
					<EditText android:id="@+id/mail_content" android:gravity="left"
						android:paddingRight="50dp" android:layout_height="wrap_content"
						android:textSize="18sp" android:layout_width="fill_parent"
						android:scrollbars="vertical" android:minLines="10" android:hint="添加邮件内容" />
					<!-- 发送 -->
					<Button android:id="@+id/sendEmail_btn"
						android:layout_height="wrap_content" android:layout_width="wrap_content"
						android:text="发送" android:textSize="20sp" android:textStyle="bold"
						android:layout_marginRight="4dp" android:layout_marginBottom="8dp"
						android:layout_alignRight="@+id/mail_content"
						android:layout_alignBottom="@+id/mail_content" />
					<!-- 附件添加 -->
					<Button android:layout_height="wrap_content" android:id="@+id/bt_add_attach"
						android:background="@drawable/ic_menu_attachmentselector"
						android:layout_width="wrap_content" android:textSize="20sp"
						android:textStyle="bold" android:layout_marginRight="4dp"
						android:layout_marginBottom="58dp" android:layout_alignRight="@+id/mail_content"
						android:layout_alignBottom="@+id/mail_content" />
				</RelativeLayout>

			</RelativeLayout>
		</ScrollView>
	</RelativeLayout>
</RelativeLayout>

 

分享到:
评论

相关推荐

    仿QQ邮件收件人文本框

    QQ邮件收件人文本框是一种常见的用户界面元素,主要用于在Web应用中输入多个收件人的功能,例如在发送电子邮件时。这种设计模仿了QQ邮箱在选择收件人时的交互方式,允许用户方便地添加、编辑和管理多个收件人地址。...

    qq群邮件在哪?.docx

    QQ群邮件是一种方便的功能,允许用户向QQ群的成员批量发送邮件,类似于传统的电子邮件系统,但专门针对群组通信。这个功能特别适用于需要向一群共同感兴趣或相关联的人分享信息、通知或者讨论的情况,比如工作团队、...

    qq群邮件怎么开通?.docx

    - **反馈机制**:若群邮件发送后未收到反馈,可以检查群邮件功能是否正常,或者询问群成员是否收到邮件。 通过以上步骤,你可以有效地利用QQ群邮件来与群内成员进行沟通和信息传递。记得合理使用这项工具,提高工作...

    模仿QQ邮箱项目

    开发者可能参考了QQ邮箱的布局和交互设计,尝试在自己的项目中复现这些特性,提供类似的用户体验。 项目文件列表中的"QQmail"可能是整个项目代码的根目录,其中包含了所有相关的源码文件、配置文件、资源文件等。...

    仿qq web 模板

    这个标题指出我们关注的是一个针对QQ设计的Web模板,它可能是用于创建类似于QQ界面的网页应用。QQ是中国非常流行的一款即时通讯软件,其用户界面简洁、功能丰富,因此,仿制QQ的Web模板能够吸引那些希望在网页上实现...

    james3.0.0邮件系统

    Mailets类似于Servlets,但它们处理的是邮件而不是HTTP请求。开发者可以通过编写自定义Mailets来实现特定的邮件处理逻辑,如垃圾邮件过滤、自动回复等。 2. **存储机制**:James支持多种存储解决方案,包括基于文件...

    网页HTML编辑器类似QQ空间 163邮箱编辑器

    标题提及的"网页HTML编辑器类似QQ空间 163邮箱编辑器"可能是指这些编辑器提供了类似于QQ空间和163邮箱内嵌的富文本编辑功能。 QQ空间和163邮箱都是中国知名的在线服务平台,它们的编辑器允许用户方便地编辑和格式化...

    网络邮件系统(开源)

    类似QQ邮箱的便捷网络邮件系统,旨在提供高效、安全的信息流通工具,满足用户对邮件收发、管理及内部即时通讯的需求。本文将探讨如何利用C#、ASP.NET和Web技术来构建这样的开源网络邮件系统。 1. **C#编程基础** ...

    qq邮箱怎么设置黑名单?.docx

    设置黑名单有助于过滤掉广告邮件、垃圾邮件或不受欢迎的邮件,提高邮箱的使用体验。但需要注意的是,有时误将重要联系人加入黑名单可能会错过关键信息,因此在添加之前应确保确实不再需要接收该发件人的邮件。同时,...

    JAVA仿QQ通讯

    【JAVA仿QQ通讯】是一个基于Java技术开发的通信系统,旨在模拟腾讯QQ的功能,提供一个类似于QQ的用户体验。这个系统不仅包含了基本的即时通讯功能,还涵盖了多种QQ的特色服务,如访问QQ空间、查看和管理邮件等。下面...

    QQ邮箱在线文本编辑器

    这款编辑器的主要功能是增强邮件正文的格式化能力,使用户能够插入图片、应用各种字体样式、调整段落格式等,类似于常见的桌面文字处理软件,但直接集成在邮件撰写界面中。 首先,我们要了解ASP(Active Server ...

    怎么开通QQ邮箱-.docx

    - **操作步骤**:首先确保您已登录QQ账号,然后找到QQ面板上的邮箱图标(类似于叠好的信封)。点击该图标后,将跳转至邮箱服务页面。 ##### 2. 验证身份 - **操作步骤**:在跳转后的网页上,可能需要输入验证码来...

    QQ型选项卡控件及彩色滚动条

    本主题聚焦于“QQ型选项卡控件”和“彩色滚动条控件”,这两种元素都是提升应用视觉吸引力和易用性的关键组件。让我们深入探讨这两个控件的设计原理、实现方法以及它们在实际应用中的作用。 首先,我们来了解QQ型...

    含修改密码忘记密码申请帐号的类似QQ空间的留言板

    标题中的“含修改密码忘记密码申请帐号的类似QQ空间的留言板”表明这是一个具有用户注册、登录、密码修改和找回功能的在线留言板系统,类似于QQ空间的互动模块。这个项目可以帮助初学者了解如何在PHP环境中构建一个...

    亲自测试可以用使用的邮箱源码模仿网易邮箱的源码php+mysql源码开发的源代码.rar

    在这个项目中,PHP主要负责处理用户请求,包括登录验证、邮件发送和接收、邮件箱管理等。PHP会与MySQL数据库进行通信,执行SQL语句来读取、更新或删除邮件数据。开发者可能使用了PHP的PDO(PHP Data Objects)扩展来...

    界面漂亮的网站建设 网页设计公司 ASP+ACCESS仿站源码

    - **bizmail_domain_verify.txt**:可能与验证企业邮箱域名有关,确保邮件发送的合法性。 - **sitemap.xml**:另一种网站地图格式,适合机器读取,通常用于SEO优化。 - **project、Plug、team、service**:这些可能...

    Jenkins基础邮件配置

    2. **设置系统管理员邮件地址**:在系统配置页面中,找到“系统管理员邮件地址”字段,输入用于发送邮件的邮箱地址。这将是 Jenkins 默认的发件人地址。 3. **配置邮件通知**:在“E-mail Notification”部分,配置...

    查看对方IP的方法

    2. **打开收件箱**:在收件箱页面找到朋友发送过来的邮件,并用鼠标右键单击该邮件。 3. **执行“属性”命令**:从弹出的右键菜单中选择“属性”命令。 4. **查看详细资料**:在打开的属性设置窗口中,单击“详细...

    C#.net_经典编程例子400个,个个经典

    - **实例017:类似QQ的程序界面** - **实例说明**:模仿即时通讯软件的界面设计,可以创建一个用户熟悉且容易上手的聊天应用程序。 - **实例018:类似Windows XP的程序界面** - **实例说明**:通过模仿Windows XP...

Global site tag (gtag.js) - Google Analytics