android底部弹出iOS7风格对话选项框(QQ对话框)--第三方开源之IOS_

2019-12-10 19:52:07王冬梅
易采站长站为您分析android底部弹出iOS7风格对话选项框(QQ对话框)--第三方开源--IOS_Dialog_Library的相关资料,需要的朋友可以参考下  

先给大家展示下效果图,喜欢的朋友可以下载源码哦。

android底部弹出iOS7风格对话选项框(QQ对话框)--第三方开源之IOS_Dialog_Library

android底部弹出iOS7风格对话选项框(QQ对话框)--第三方开源之IOS_Dialog_Library

android底部弹出iOS7风格对话选项框(QQ对话框)--第三方开源之IOS_Dialog_Library

 

完成这个效果的是使用了 IOS_Dialog_Library

下载后导入到Eclipse中,然后作为Library引入到自己的工程中,直接作为第三方控件使用。

测试代码:

 <LinearLayout xmlns:android="http://www.easck.com/apk/res/android"
 xmlns:tools="http://www.easck.com/tools"
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:orientation="vertical" >
 <Button
  android:id="@+id/btn"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:text="消息" />
 <Button
  android:id="@+id/btn"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:text="图片" /> 
 <Button
  android:id="@+id/btn"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:text="列表" />
 <Button
  android:id="@+id/btn"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:text="退出" />
 <Button
  android:id="@+id/btn"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:text="错误提示" />
 </LinearLayout>