-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 修复 PopNotification 存在的显示位置错误问题; - 修复 InputDialog 点击背景无法关闭的问题; - 修复 FullScreenDialog 滑动错位问题; - 修复 OnBindView 回调 view 不为 customView 的问题; 0.0.49.beta13 - FullScreenDialog 增加 maskColor 设置; - 修复 IOS 主题下 MessageDialog 使用 build() 构建模式时无法设置背景颜色的问题; - 修复 CustomDialog 设置 FullScreen 属性无效的问题; 0.0.49.beta12 ready - 尝试修正 padding属性设置错误的bug(via @Matcha-xiaobin #356); - 修复了 PopTip 在频繁弹出时某些已经显示的 PopTip 可能存在的导致异常显示在屏幕顶部的问题; - BottomDialog 增加 setScrollableWhenContentLargeThanVisibleRange(boolean) 允许将自定义布局添加到对话框本身存在的 ScrollView 外,请注意此方法将会使自定义布局添加到 Title Text、Content(Message Text)之间; 0.0.49.beta11 - 修复部分已知问题; 0.0.49.beta10 - 完善 OnBindView 内部逻辑,当dialog和view相同时不重复执行onBind事件; - WaitDialog新增onShow(DialogXRunnable)和onDismiss(DialogXRunnable); - 尝试修复可能存在的问题; 0.0.49.beta9 - 菜单布局结构优化; 0.0.49.beta8 - 对话框内的 dialogView 引用进行了处理,以及 PopTip 的 baseView,减少在低版本安卓系统上出现内存泄漏的可能性 - FullScreenDialog 新增了方法 hideActivityContentView(boolean) 用于设置是否在显示 FullScreenDialog 时不对 activity 的界面内容进行渲染,这将提升一定的性能,此方法只可以在使用 build 方法构建且在执行show方法之前使用,但这将引发一些问题,例如输入法弹出时 FullScreenDialog 无法上浮等; - 其他问题修复; 0.0.49.beta6 - 对 BottomMenu 的 setOkButton、setCancelButton、setOtherButton 提供了单独的 OnBottomMenuButtonClickListener 参数接口,可直接提供 BottomMenu 参数的 onClick 回调事件; - BottomDialog/BottomMenu 新增 set/get OkTextInfo 和 OtherTextInfo 方法; - 修复 DialogXBaseRelativeLayout 可能存在的嵌套循环调用 requestFocus() 方法的问题; - 修复关于 WaitDialog 设置背景颜色不生效的问题; 0.0.49.beta5 ready - ActivityScreenShotImageView 增加静态方法 useHardwareRenderingMode,开启可使用硬件加速渲染模式; - 修复部分系统下 ActivityScreenShotImageView 在执行回收时触发的“Software rendering doesn't support hardware bitmaps.”异常; - 其他问题修复; 0.0.49.beta4 ready - 修复部分系统下 BlurRelativeLayout 或 BlurRelativeLayout 在执行回收时触发的“Calling RS with no Context active.”异常; - ActivityScreenShotImageView 截图方案更新; 0.0.49.beta4 ready - 修复在部分设备上由 DialogXBaseRelativeLayout 引发的 StackOverflowError,此问题猜测跟特定版本系统固件存在问题有关; 0.0.49.beta3 - 修复 ActivityScreenShotImageView 可能引发的“Software rendering doesn’t support hardware bitmaps” 异常; - 修复 BottomDialog/FullScreenDialog 的滑动事件在内部存在 ScrollController 时,若触摸位置处于 ScrollController 布局外无法滑动对话框的问题; 0.0.49.beta2 - InputInfo新增方法:`getInputFilters()`、`setInputFilters(InputFilter[] inputFilters)`、`addInputFilter(InputFilter inputFilter)` 和 `removeInputFilter(InputFilter inputFilter)`(issues:332); - 尝试性修复 DialogFragment 模式实现下的 WaitDialog 内存泄漏问题(issues:334); - 修复关于DialogFragmentImpl引发的空指针问题此问题(issues:335); 0.0.49.beta1 - 修复 BlurRelativeLayout 和 BlurLinearLayout 在 iOS 主题下使用 DialogFragment 模式时存在的渲染宽度和高度 <=0 导致的异常(issues:324); - 修复 IOS 主题下可能存在的 `RSInvalidStateException: Calling RS with no Context active` 异常问题(issues:327); - 修复可能存在的高频启关对话框过程中,因UI未完成构建被关闭引发的空指针异常(issues:331);
- Loading branch information
Showing
5 changed files
with
137 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,171 +1,163 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_horizontal" | ||
android:orientation="vertical"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_horizontal" | ||
android:orientation="vertical"> | ||
android:layout_height="50dp" | ||
android:orientation="horizontal"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" | ||
android:orientation="horizontal"> | ||
<TextView | ||
android:id="@+id/btn_cancel" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp" | ||
android:text="取消" | ||
android:textColor="@color/dialogxIOSBlue" | ||
android:textSize="18dp" /> | ||
|
||
<TextView | ||
android:id="@+id/btn_cancel" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp" | ||
android:text="取消" | ||
android:textColor="@color/dialogxIOSBlue" | ||
android:textSize="18dp" /> | ||
<Space | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" /> | ||
|
||
<Space | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" /> | ||
<TextView | ||
android:id="@+id/btn_submit" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp" | ||
android:text="下一步" | ||
android:textColor="@color/dialogxIOSBlue" | ||
android:textSize="18dp" /> | ||
|
||
<TextView | ||
android:id="@+id/btn_submit" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:gravity="center" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp" | ||
android:text="下一步" | ||
android:textColor="@color/dialogxIOSBlue" | ||
android:textSize="18dp" /> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
<ImageView | ||
android:layout_width="80dp" | ||
android:layout_height="80dp" | ||
android:layout_marginTop="30dp" | ||
android:src="@mipmap/img_login" /> | ||
|
||
<ImageView | ||
android:layout_width="80dp" | ||
android:layout_height="80dp" | ||
android:layout_marginTop="30dp" | ||
android:src="@mipmap/img_login" /> | ||
<FrameLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp"> | ||
|
||
<FrameLayout | ||
<RelativeLayout | ||
android:id="@+id/box_userName" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp"> | ||
android:paddingLeft="25dp" | ||
android:paddingRight="25dp"> | ||
|
||
<RelativeLayout | ||
android:id="@+id/box_userName" | ||
<EditText | ||
android:id="@+id/edit_userName" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:paddingLeft="25dp" | ||
android:paddingRight="25dp"> | ||
|
||
<EditText | ||
android:id="@+id/edit_userName" | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" | ||
android:background="@drawable/ios_edit_box_bkg" | ||
android:gravity="center" | ||
android:hint="请输入账号" | ||
android:inputType="textEmailAddress" /> | ||
|
||
</RelativeLayout> | ||
|
||
<RelativeLayout | ||
android:id="@+id/box_password" | ||
android:layout_height="50dp" | ||
android:background="@drawable/ios_edit_box_bkg" | ||
android:gravity="center" | ||
android:hint="请输入账号" | ||
android:inputType="textEmailAddress" /> | ||
|
||
</RelativeLayout> | ||
|
||
<RelativeLayout | ||
android:id="@+id/box_password" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:paddingLeft="25dp" | ||
android:paddingRight="25dp" | ||
android:visibility="gone"> | ||
|
||
<EditText | ||
android:id="@+id/edit_password" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:paddingLeft="25dp" | ||
android:paddingRight="25dp" | ||
android:visibility="gone"> | ||
android:layout_height="50dp" | ||
android:background="@drawable/ios_edit_box_bkg" | ||
android:gravity="center" | ||
android:hint="请输入密码" | ||
android:inputType="textPassword" /> | ||
|
||
</RelativeLayout> | ||
|
||
<EditText | ||
android:id="@+id/edit_password" | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" | ||
android:background="@drawable/ios_edit_box_bkg" | ||
android:gravity="center" | ||
android:hint="请输入密码" | ||
android:inputType="textPassword" /> | ||
</FrameLayout> | ||
|
||
</RelativeLayout> | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:gravity="center" | ||
android:text="登录后,您可以:" | ||
android:textColor="@color/black" | ||
android:textSize="13dp" | ||
android:textStyle="bold" /> | ||
|
||
</FrameLayout> | ||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="15dp" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:gravity="center" | ||
android:text="登录后,您可以:" | ||
android:textColor="@color/black" | ||
android:textSize="13dp" | ||
android:textStyle="bold" /> | ||
android:text="· 使用云同步备份您的存档文件" | ||
android:textColor="@color/black75" | ||
android:textSize="13dp" /> | ||
|
||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="15dp" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="· 使用云同步备份您的存档文件" | ||
android:textColor="@color/black75" | ||
android:textSize="13dp" /> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="7dp" | ||
android:text="· 享受随时随地的客户服务及7*24小时电话咨询服务" | ||
android:textColor="@color/black75" | ||
android:textSize="13dp" /> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="7dp" | ||
android:text="· 免费的远程协助和更大的云端存储空间" | ||
android:textColor="@color/black75" | ||
android:textSize="13dp" /> | ||
android:layout_marginTop="7dp" | ||
android:text="· 享受随时随地的客户服务及7*24小时电话咨询服务" | ||
android:textColor="@color/black75" | ||
android:textSize="13dp" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="15dp" | ||
android:orientation="horizontal"> | ||
android:layout_marginTop="7dp" | ||
android:text="· 免费的远程协助和更大的云端存储空间" | ||
android:textColor="@color/black75" | ||
android:textSize="13dp" /> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:gravity="center" | ||
android:text="登录代表您同意" | ||
android:textColor="@color/black" | ||
android:textSize="13dp" /> | ||
</LinearLayout> | ||
|
||
<TextView | ||
android:id="@+id/btn_license" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:gravity="center" | ||
android:text="《用户服务条款》" | ||
android:textColor="@color/dialogxIOSBlue" | ||
android:textSize="13dp" /> | ||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="15dp" | ||
android:orientation="horizontal"> | ||
|
||
</LinearLayout> | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:gravity="center" | ||
android:text="登录代表您同意" | ||
android:textColor="@color/black" | ||
android:textSize="13dp" /> | ||
|
||
<Space | ||
<TextView | ||
android:id="@+id/btn_license" | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp"/> | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:gravity="center" | ||
android:text="《用户服务条款》" | ||
android:textColor="@color/dialogxIOSBlue" | ||
android:textSize="13dp" /> | ||
|
||
</LinearLayout> | ||
|
||
</RelativeLayout> | ||
<Space | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" /> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters