huangxinbao

Fix cover answersheet by shadow dialog probem

正在显示 21 个修改的文件 包含 180 行增加71 行删除
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
... ...
... ... @@ -41,7 +41,6 @@ import com.mang.xdy.demo.bean.VideoOrAudioStopEntity;
import com.mang.xdy.demo.utils.JsonUtil;
import com.mang.xdy.demo.utils.ToastUtil;
import com.mang.xdy.demo.widget.answersheet.AnswerSheetView;
import com.mang.xdy.demo.widget.dialog.AnswText;
import com.mang.xdy.demo.widget.dialog.LoginDialog;
import com.mang.xdy.demo.widget.view.NoScrollViewPager;
import com.mang.xdy.listener.ObserverListener;
... ... @@ -308,7 +307,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
// getWindow().setFormat(PixelFormat.TRANSLUCENT);
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_SINGLE_OR_MORE);
// mAnswerSheetView.startCountTimer(22);
// mAnswerSheetView.startCountTimerAndResizeLayout(22);
}
// public void setTablayout() {
... ... @@ -324,10 +323,10 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
public void showSelectPublishMode() {
new ActionSheetDialog(VideoPlayActivity.this)
.builder()
.setTitle("选择列表")
.setTitle(getResources().getString(R.string.home_dialog_selectList))
.setCancelable(true)
.setCanceledOnTouchOutside(true)
.addSheetItem("推送视频", ActionSheetDialog.SheetItemColor.Red
.addSheetItem(getResources().getString(R.string.home_dialog_pushVideo), ActionSheetDialog.SheetItemColor.Red
, new ActionSheetDialog.OnSheetItemClickListener() {
@Override
public void onClick(int which) {
... ... @@ -344,7 +343,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
isPublsishVideoMode = true;
}
})
.addSheetItem("推送音频", ActionSheetDialog.SheetItemColor.Blue
.addSheetItem(getResources().getString(R.string.home_dialog_pushAudio), ActionSheetDialog.SheetItemColor.Blue
, new ActionSheetDialog.OnSheetItemClickListener() {
@Override
public void onClick(int which) {
... ... @@ -365,13 +364,13 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
public void onClick(int which) {
//填写事件
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_SINGLE_OR_MORE);
// mAnswerSheetView.startCountTimer(22);
// mAnswerSheetView.startCountTimerAndResizeLayout(22);
// setAnswerSheetLayout_Nornal(53);
AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
answerSheetDialog.builder().show();
answerSheetDialog.selectAnswerSheetType(1);
answerSheetDialog.startCountTimer(30);
answerSheetDialog.startCountTimerAndResizeLayout(30,50);
}
})
... ... @@ -381,13 +380,13 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
public void onClick(int which) {
//填写事件
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_RIGHT_OR_WRONG);
// mAnswerSheetView.startCountTimer(15);
// mAnswerSheetView.startCountTimerAndResizeLayout(15);
// setAnswerSheetLayout_Nornal(53);
AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
answerSheetDialog.builder().show();
answerSheetDialog.selectAnswerSheetType(2);
answerSheetDialog.startCountTimer(30);
answerSheetDialog.startCountTimerAndResizeLayout(30,60);
}
})
... ... @@ -397,12 +396,12 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
public void onClick(int which) {
//填写事件
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_FILLING);
// mAnswerSheetView.startCountTimer(15);
// mAnswerSheetView.startCountTimerAndResizeLayout(15);
// setAnswerSheetLayout_Nornal(53);
AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
answerSheetDialog.builder().show();
answerSheetDialog.selectAnswerSheetType(3);
answerSheetDialog.startCountTimer(15);
answerSheetDialog.startCountTimerAndResizeLayout(15,40);
... ... @@ -411,7 +410,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
}
public void setTablayout() {
titles = new String[]{"文档", "聊天"};
titles = new String[]{getResources().getString(R.string.home_content_doc),getResources().getString(R.string.home_content_chat)};
pagerAdapter = new SimpleFragmentPagerAdapter(getSupportFragmentManager(), this, replay);
viewPager.setAdapter(pagerAdapter);
viewPager.setOnRplayTouchListener(this);
... ...
... ... @@ -42,7 +42,7 @@
android:id="@+id/edt_home_classId"
android:layout_toRightOf="@+id/tv_home_classid"
style="@style/home_input_edit_style"
android:hint="请输入课堂号"
android:hint="classId"
android:inputType="number"
android:text="124709334"/>
... ... @@ -67,7 +67,7 @@
android:id="@+id/edt_home_role"
android:layout_toRightOf="@+id/tv_home_userrole"
style="@style/home_input_edit_style"
android:hint="请输入角色"
android:hint="role"
android:text="normal"
/>
<View
... ... @@ -91,7 +91,7 @@
android:id="@+id/edt_home_serviceIp"
android:layout_toRightOf="@+id/tv_home_portal"
style="@style/home_input_edit_style"
android:hint="请输入服务器地址"
android:hint="portal"
android:text="112.126.80.182:90"
/>
<View
... ... @@ -116,7 +116,7 @@
android:id="@+id/edt_home_userId"
android:layout_toRightOf="@+id/tv_home_userid"
style="@style/home_input_edit_style"
android:hint="请输入用户id"
android:hint="userId"
android:text="0"
/>
<View
... ... @@ -129,7 +129,7 @@
android:id="@+id/btn_home_enter_class"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="进入课堂"
android:text="@string/home_enter_class"
android:textColor="@color/white"
android:background="@drawable/home_selector_bottom_btn_blue"
android:layout_marginLeft="15dp"
... ... @@ -143,7 +143,7 @@
android:layout_marginTop="15dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:text="进入录制回放"
android:text="@string/home_enter_replay"
android:textColor="@color/white"
android:background="@drawable/home_selector_bottom_btn_green"
/>
... ...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<com.mang.xdy.demo.widget.CanvasView
android:id="@+id/canvas_doc_show"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
\ No newline at end of file
</RelativeLayout>
\ No newline at end of file
... ...
... ... @@ -16,19 +16,19 @@
<EditText
android:id="@+id/et_username"
style="@style/home_login_edit_style"
android:hint="用户名"/>
android:hint="@string/home_enter_username"/>
<EditText
android:id="@+id/et_password"
style="@style/home_login_edit_style"
android:hint="密码"
android:hint="@string/home_enter_password"
android:inputType="textPassword"
android:visibility="gone"/>
<Button
android:id="@+id/btn_login"
style="@style/home_site_btn_style"
android:text="登录"
android:text="@string/home_enter_login"
android:textColor="@color/white"/>
</LinearLayout>
... ...
... ... @@ -183,5 +183,6 @@
<!--WheelView 遮盖未选中item的蒙层-->
<color name="wheel_unselect_color">#B1FFFFFF</color>
<color name="colorSkyBlue">#3dd1ff</color>
<color name="colorSkyBlue">#3498db</color>
<color name="colorGrey">#999999</color>
</resources>
... ...
... ... @@ -10,4 +10,13 @@
<string name="home_portal_hint">portal</string>
<string name="home_enter_class">进入课堂</string>
<string name="home_enter_replay">进入录制回放</string>
<string name="home_enter_login">登录</string>
<string name="home_enter_password">密码</string>
<string name="home_enter_username">用户名</string>
<string name="home_content_doc">文档</string>
<string name="home_content_chat">聊天</string>
<string name="home_dialog_pushAudio">推送音频</string>
<string name="home_dialog_pushVideo">推送视频</string>
<string name="home_dialog_selectList">选择列表</string>
</resources>
... ...
... ... @@ -153,8 +153,8 @@
</style>
<!--答题卡-->
<style name="exam_cb_style">
<!--答题卡多选 单选-->
<style name="exam_cb_style_SingleOrMore">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1</item>
... ... @@ -166,4 +166,19 @@
<item name="android:textSize">12sp</item>
<item name="android:textColor">@color/colorSkyBlue</item>
</style>
<!--答题卡-->
<style name="exam_cb_style_RightOrWrong">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:button">@null</item>
<item name="android:drawablePadding">7dp</item>
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:padding">5dp</item>
<item name="android:textSize">12sp</item>
<item name="android:layout_marginRight">22dp</item>
<item name="android:textColor">@color/colorSkyBlue</item>
</style>
</resources>
... ...
... ... @@ -77,10 +77,11 @@ public final class R {
public static int ActionSheetDialogAnimation=0x7f050001;
public static int ActionSheetDialogStyle=0x7f050002;
public static int AlertDialogStyle=0x7f050003;
public static int AnswerSheetDialogStyle=0x7f050004;
/** API 11 theme customizations can go here.
API 14 theme customizations can go here.
*/
public static int AppBaseTheme=0x7f050000;
public static int AppTheme=0x7f050004;
public static int AppTheme=0x7f050005;
}
}
... ...
... ... @@ -185,12 +185,12 @@
"from": {
"file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
"position": {
"startLine": 38,
"startLine": 57,
"startColumn": 4,
"startOffset": 1627,
"endLine": 41,
"startOffset": 2443,
"endLine": 60,
"endColumn": 12,
"endOffset": 1895
"endOffset": 2711
}
}
},
... ... @@ -241,8 +241,29 @@
"startLine": 42,
"startColumn": 4,
"startOffset": 2085,
"endLine": 59,
"endColumn": 12,
"endOffset": 2876
},
"from": {
"file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
"position": {
"startLine": 37,
"startColumn": 4,
"startOffset": 1597,
"endLine": 54,
"endColumn": 12,
"endOffset": 2405
}
}
},
{
"to": {
"startLine": 60,
"startColumn": 4,
"startOffset": 2881,
"endColumn": 72,
"endOffset": 2153
"endOffset": 2949
},
"from": {
"file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
... ... @@ -257,11 +278,11 @@
},
{
"to": {
"startLine": 43,
"startLine": 61,
"startColumn": 4,
"startOffset": 2158,
"startOffset": 2954,
"endColumn": 50,
"endOffset": 2204
"endOffset": 3000
},
"from": {
"file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
... ...
... ... @@ -36,14 +36,14 @@
"source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_normal.9.png"
},
{
"merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\alert_btn_left_pressed.9.png",
"source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_left_pressed.9.png"
},
{
"merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_top_normal.9.png",
"source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_top_normal.9.png"
},
{
"merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\alert_btn_left_pressed.9.png",
"source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_left_pressed.9.png"
},
{
"merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_single_pressed.9.png",
"source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_pressed.9.png"
},
... ...
... ... @@ -50,5 +50,6 @@ int string app_name 0x7f080000
int style ActionSheetDialogAnimation 0x7f050001
int style ActionSheetDialogStyle 0x7f050002
int style AlertDialogStyle 0x7f050003
int style AnswerSheetDialogStyle 0x7f050004
int style AppBaseTheme 0x7f050000
int style AppTheme 0x7f050004
int style AppTheme 0x7f050005
... ...
... ... @@ -40,6 +40,24 @@
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="AnswerSheetDialogStyle" parent="@android:style/Theme.Dialog">
<!-- 背景透明 -->
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<!-- 浮于Activity之上 -->
<item name="android:windowIsFloating">true</item>
<!-- 边框 -->
<item name="android:windowFrame">@null</item>
<!-- Dialog以外的区域模糊效果 -->
<item name="android:backgroundDimEnabled">false</item>
<!-- 无标题 -->
<item name="android:windowNoTitle">true</item>
<!-- 半透明 -->
<item name="android:windowIsTranslucent">true</item>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar"/>
<style name="AppTheme" parent="AppBaseTheme"/>
</resources>
\ No newline at end of file
... ...
#Tue May 09 22:54:42 CST 2017
#Wed May 10 11:45:01 CST 2017
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_bottom_pressed.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_bottom_pressed.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_normal.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_single_normal.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_out.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\anim\\actionsheet_dialog_out.xml
... ...
... ... @@ -16,6 +16,23 @@
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style><style name="AnswerSheetDialogStyle" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowFrame">@null</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style><style name="AppTheme" parent="AppBaseTheme"/><style name="AlertDialogStyle" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
... ...
#Tue May 09 22:54:42 CST 2017
#Wed May 10 11:43:51 CST 2017
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_bottom_pressed.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\actionsheet_bottom_pressed.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_normal.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\actionsheet_single_normal.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_out.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\anim\\actionsheet_dialog_out.xml
... ... @@ -6,11 +6,11 @@ D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hd
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_middle_selector.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable\\actionsheet_middle_selector.xml
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_in.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\anim\\actionsheet_dialog_in.xml
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_left_selector.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable\\alertdialog_left_selector.xml
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\trans_bg.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\trans_bg.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_middle_pressed.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\actionsheet_middle_pressed.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\trans_bg.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\trans_bg.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_bottom_selector.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable\\actionsheet_bottom_selector.xml
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_left_pressed.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\alert_btn_left_pressed.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_right_pressed.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\alert_btn_right_pressed.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_left_pressed.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\alert_btn_left_pressed.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_top_normal.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\actionsheet_top_normal.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_middle_normal.9.png=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable-hdpi-v4\\actionsheet_middle_normal.9.png
D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_right_selector.xml=D\:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\bundles\\release\\res\\drawable\\alertdialog_right_selector.xml
... ...
... ... @@ -16,6 +16,23 @@
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style><style name="AnswerSheetDialogStyle" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowFrame">@null</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style><style name="AppTheme" parent="AppBaseTheme"/><style name="AlertDialogStyle" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
... ...
... ... @@ -40,6 +40,24 @@
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="AnswerSheetDialogStyle" parent="@android:style/Theme.Dialog">
<!-- 背景透明 -->
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<!-- 浮于Activity之上 -->
<item name="android:windowIsFloating">true</item>
<!-- 边框 -->
<item name="android:windowFrame">@null</item>
<!-- Dialog以外的区域模糊效果 -->
<item name="android:backgroundDimEnabled">false</item>
<!-- 无标题 -->
<item name="android:windowNoTitle">true</item>
<!-- 半透明 -->
<item name="android:windowIsTranslucent">true</item>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar"/>
<style name="AppTheme" parent="AppBaseTheme"/>
</resources>
\ No newline at end of file
... ...
... ... @@ -35,6 +35,25 @@
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<style name="AnswerSheetDialogStyle" parent="@android:style/Theme.Dialog">
<!-- 背景透明 -->
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<!-- 浮于Activity之上 -->
<item name="android:windowIsFloating">true</item>
<!-- 边框 -->
<item name="android:windowFrame">@null</item>
<!-- Dialog以外的区域模糊效果 -->
<item name="android:backgroundDimEnabled">false</item>
<!-- 无标题 -->
<item name="android:windowNoTitle">true</item>
<!-- 半透明 -->
<item name="android:windowIsTranslucent">true</item>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<!-- ActionSheet进出动画 -->
<style name="ActionSheetDialogAnimation" parent="@android:style/Animation.Dialog">
<item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
... ...