短信ui--会话编辑界面(四)BottomPanel

这篇博客详细介绍了短信应用中BottomPanel的设计,包括文本编辑框、发送按钮和短信计数器的功能分析。文本编辑框用于输入内容,发送按钮实现消息发送,短信计数器则实时显示短信字符数。
摘要由CSDN通过智能技术生成
短信ui--会话编辑界面(四)BottomPanel

1、前言

      前面的文章简单介绍了接收者ui以及短信历史记录,下面讲解BottomPanel,该ui如下图所示
  

  该ui比较简单,ui主要是短信编辑框、短信模版按钮、以及sendbutton。

2、功能简析

2.1 ui布局

<LinearLayout
                android:id="@+id/bottom_panel"
                android:orientation="horizontal"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingTop="5dip"
                android:paddingBottom="5dip"
                android:paddingLeft="5dip"
                android:paddingRight="5dip"
                android:background="@drawable/bottombar_landscape_565">
                <RelativeLayout android:layout_height="match_parent" 
                    android:layout_width="wrap_content" 
                    android:layout_weight="1.0"
                    android:orientation="horizontal"
                    android:id="@+id/relativeLayout1">
                    <EditText
                        android:id="@+id/embedded_text_editor"
                    	android:layout_width="match_parent"
                    	android:layout_height=
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值