huangxinbao

Modify AnswerSheet Framelayout to Window Dialog

正在显示 19 个修改的文件 包含 110 行增加177 行删除
... ... @@ -37,7 +37,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
... ...
... ... @@ -15,12 +15,10 @@ import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.SeekBar;
import android.widget.TextView;
... ... @@ -43,6 +41,7 @@ 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;
... ... @@ -67,6 +66,7 @@ import java.util.Locale;
import butterknife.BindView;
import butterknife.ButterKnife;
import zhangphil.iosdialog.widget.ActionSheetDialog;
import com.mang.xdy.demo.widget.dialog.AnswerSheetDialog;
import static com.pili.pldroid.player.AVOptions.KEY_DELAY_OPTIMIZATION;
... ... @@ -80,8 +80,8 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
FrameLayout fra_videoPlay_start;
@BindView(R.id.viewpager)
NoScrollViewPager viewPager;
@BindView(R.id.fra_videoPlay_answer)
FrameLayout fraVideoPlayAnswer;
// @BindView(R.id.fra_videoPlay_answer)
// FrameLayout fraVideoPlayAnswer;
private TabLayout tabLayout;
@BindView(R.id.surfaceview_playVideo)
SurfaceView surfaceviewPlayVideo;
... ... @@ -228,7 +228,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
progressDialogShow();
setTablayout();
setAnswerLayout();
// setAnswerLayout();
}
public void init() {
... ... @@ -278,8 +278,13 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
fra_videoPlay_start.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//
showSelectPublishMode();
// AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
// answerSheetDialog.builder().show();
// new AnswerSheetDialog(VideoPlayActivity.this).builder().show();
// new AnswText(VideoPlayActivity.this).builder().show();
// new AnswerSheetDialog(VideoPlayActivity.this).builder().show();
// mFramenLayout_stopPublish.setVisibility(View.VISIBLE);
// fra_videoPlay_start.setVisibility(View.GONE);
// surfaceView_publish.setVisibility(View.VISIBLE);
... ... @@ -299,6 +304,11 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
exit_dialog();
}
});
//TODO
// getWindow().setFormat(PixelFormat.TRANSLUCENT);
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_SINGLE_OR_MORE);
// mAnswerSheetView.startCountTimer(22);
}
// public void setTablayout() {
... ... @@ -354,9 +364,15 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
@Override
public void onClick(int which) {
//填写事件
mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_SINGLE_OR_MORE);
mAnswerSheetView.startCountTimer(22);
setAnswerSheetLayout_Nornal(53);
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_SINGLE_OR_MORE);
// mAnswerSheetView.startCountTimer(22);
// setAnswerSheetLayout_Nornal(53);
AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
answerSheetDialog.builder().show();
answerSheetDialog.selectAnswerSheetType(1);
answerSheetDialog.startCountTimer(30);
}
})
.addSheetItem("对错选择", ActionSheetDialog.SheetItemColor.Blue
... ... @@ -364,9 +380,15 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
@Override
public void onClick(int which) {
//填写事件
mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_RIGHT_OR_WRONG);
mAnswerSheetView.startCountTimer(15);
setAnswerSheetLayout_Nornal(53);
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_RIGHT_OR_WRONG);
// mAnswerSheetView.startCountTimer(15);
// setAnswerSheetLayout_Nornal(53);
AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
answerSheetDialog.builder().show();
answerSheetDialog.selectAnswerSheetType(2);
answerSheetDialog.startCountTimer(30);
}
})
.addSheetItem("填空题", ActionSheetDialog.SheetItemColor.Blue
... ... @@ -374,9 +396,16 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
@Override
public void onClick(int which) {
//填写事件
mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_FILLING);
mAnswerSheetView.startCountTimer(15);
setAnswerSheetLayout_Nornal(53);
// mAnswerSheetView.selectAnswerSheetType(AnswerSheetView.ANSWER_TYPE_FILLING);
// mAnswerSheetView.startCountTimer(15);
// setAnswerSheetLayout_Nornal(53);
AnswerSheetDialog answerSheetDialog= new AnswerSheetDialog(VideoPlayActivity.this);
answerSheetDialog.builder().show();
answerSheetDialog.selectAnswerSheetType(3);
answerSheetDialog.startCountTimer(15);
}
}).show();
}
... ... @@ -386,7 +415,8 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
pagerAdapter = new SimpleFragmentPagerAdapter(getSupportFragmentManager(), this, replay);
viewPager.setAdapter(pagerAdapter);
viewPager.setOnRplayTouchListener(this);
viewPager.setPagingEnabled(false);
// viewPager.setPagingEnabled(false);
// viewPager.setOffscreenPageLimit(0);
mSlidingTab.setViewPager(viewPager, titles);
mSlidingTab.setOnTabSelectListener(new OnTabSelectListener() {
@Override
... ... @@ -1223,25 +1253,32 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
/********************************答题卡*********************************************************/
public void setAnswerLayout(){
mAnswerSheetView.setOnAnswerLayoutChangeListener(new AnswerSheetView.OnAnswerLayoutChangeListener()
{
@Override
public void setAnswerSheetFramLayout(int num) {
LinearLayout.LayoutParams layoutParams=new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,XdyStringUtils.dp2px(VideoPlayActivity.this,num));
fraVideoPlayAnswer.setLayoutParams(layoutParams);
}
// public void setAnswerLayout(){
// mAnswerSheetView.setOnAnswerLayoutChangeListener(new AnswerSheetView.OnAnswerLayoutChangeListener()
// {
// @Override
// public void setAnswerSheetFramLayout(int num) {
// RelativeLayout.LayoutParams layoutParams=new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT,XdyStringUtils.dp2px(VideoPlayActivity.this,num));
//// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
//// layoutParams.setLayoutDirection(RelativeLayout.ALIGN_PARENT_BOTTOM);
//// }
// fraVideoPlayAnswer.setLayoutParams(layoutParams);
// }
//
// @Override
// public void setAnswerSheetNormal(int num) {
// setAnswerSheetLayout_Nornal(num);
// }
// });
// }
@Override
public void setAnswerSheetNormal(int num) {
setAnswerSheetLayout_Nornal(num);
}
});
}
public void setAnswerSheetLayout_Nornal(int num){
fraVideoPlayAnswer.setVisibility(View.VISIBLE);
LinearLayout.LayoutParams layoutParams=new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,XdyStringUtils.dp2px(VideoPlayActivity.this,num));
fraVideoPlayAnswer.setLayoutParams(layoutParams);
}
// public void setAnswerSheetLayout_Nornal(int num){
// fraVideoPlayAnswer.setVisibility(View.VISIBLE);
// RelativeLayout.LayoutParams layoutParams=new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT,XdyStringUtils.dp2px(VideoPlayActivity.this,num));
//// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
//// layoutParams.setLayoutDirection(RelativeLayout.ALIGN_PARENT_BOTTOM);
//// }
// fraVideoPlayAnswer.setLayoutParams(layoutParams);
// }
}
... ...
... ... @@ -168,6 +168,7 @@ public class ChatFragment extends Fragment implements ObserverListener{
protected void initData() {
adapter = new ChatAdapter(mContext, datas, getOnChatItemClickListener());
mListView.setAdapter(adapter);
// adapter.notifyDataSetChanged();
}
/**
* @return 聊天列表内存点击事件监听器
... ...
... ... @@ -11,6 +11,7 @@ import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.view.LayoutInflater;
import android.view.SurfaceView;
import android.view.View;
import android.view.ViewGroup;
... ... @@ -105,6 +106,10 @@ public class DocFragment extends Fragment implements ObserverListener{
DisplayMetrics metric = new DisplayMetrics();
getWindowWith(metric);
docUrlTransformBitmap(null);
// mCanvasView.setZOrderMediaOverlay(false);
// mCanvasView.setZOrderOnTop(false);
//// mCanvasView.getHolder().setFormat(SurfaceView.TRANSPARENT);
// mCanvasView.getHolder().setFormat(SurfaceView.TRANSPARENT);
}
private void getWindowWith(DisplayMetrics metric) {
... ...
... ... @@ -467,8 +467,8 @@ public class CanvasView extends SurfaceView implements SurfaceHolder.Callback, V
this.setOnTouchListener(this);
// 设置背景为透明 否则是黑色
this.setZOrderOnTop(true);
// this.setZOrderMediaOverlay(true);
this.getHolder().setFormat(PixelFormat.TRANSLUCENT);
this.getHolder().setFormat(PixelFormat.TRANSPARENT);
// this.setZOrderMediaOverlay(true);
screenWidth = DisplayUtil.getScreenWidth(getContext());
}
... ...
<?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"
xmlns:tools="http://schemas.android.com/tools"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_video_play"
... ... @@ -8,6 +8,7 @@
android:orientation="vertical"
tools:context="com.mang.xdy.demo.activity.VideoPlayActivity">
<RelativeLayout
android:id="@+id/rel_videoPlay_play"
android:layout_width="match_parent"
android:layout_height="@dimen/ui_DIMEN_500.0PX">
<com.pili.pldroid.player.widget.PLVideoTextureView
... ... @@ -138,20 +139,13 @@
</RelativeLayout>
</RelativeLayout>
<android.support.design.widget.TabLayout
android:id="@+id/sliding_tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
/>
<com.flyco.tablayout.SlidingTabLayout
android:id="@+id/stl_videoPlay_tab"
android:layout_below="@+id/rel_videoPlay_play"
android:layout_width="match_parent"
android:layout_height="@dimen/ui_titlebar_height"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/fl_videoview_container"
android:background="#fafafa"
custom:tl_indicator_color="@color/home_tab_selected"
custom:tl_indicator_corner_radius="1.5dp"
... ... @@ -163,12 +157,15 @@
custom:tl_textsize="@dimen/ui_DIMEN_28.0PX"/>
<com.mang.xdy.demo.widget.view.NoScrollViewPager
android:id="@+id/viewpager"
android:layout_below="@+id/stl_videoPlay_tab"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/white" >
</com.mang.xdy.demo.widget.view.NoScrollViewPager>
<FrameLayout
android:id="@+id/fl_media"
android:layout_width="match_parent"
... ... @@ -184,12 +181,19 @@
<FrameLayout
android:id="@+id/fra_videoPlay_answer"
android:layout_width="match_parent"
android:visibility="gone"
android:layout_height="@dimen/ui_titlebar_height">
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp"
>
<com.mang.xdy.demo.widget.answersheet.AnswerSheetView
android:id="@+id/asv_videoPlay_answer"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="90dp"
android:layout_gravity="bottom"
>
</com.mang.xdy.demo.widget.answersheet.AnswerSheetView>
</FrameLayout>
</LinearLayout>
</RelativeLayout>
... ...
... ... @@ -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\\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_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\\actionsheet_single_pressed.9.png",
"source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_pressed.9.png"
},
... ...
... ... @@ -33,8 +33,8 @@
android:layout_height="wrap_content"
android:orientation="vertical" >
</LinearLayout>
</ScrollView>
</ScrollView>
<TextView
android:id="@+id/txt_cancel"
android:layout_width="match_parent"
... ...
#Mon May 08 17:38:00 CST 2017
#Tue May 09 22:54:42 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
... ...
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="actionsheet_blue">#037BFF</color>
<color name="actionsheet_gray">#8F8F8F</color>
<color name="actionsheet_red">#FD4A2E</color>
<color name="alertdialog_line">#c6c6c6</color>
<color name="black">#000000</color>
<color name="trans">#00000000</color>
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<string name="app_name">IOSDialog</string>
<style name="ActionSheetDialogAnimation" parent="@android:style/Animation.Dialog">
<item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
<item name="android:windowExitAnimation">@anim/actionsheet_dialog_out</item>
</style>
<style name="ActionSheetDialogStyle" 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">true</item>
<!-- 无标题 -->
<item name="android:windowNoTitle">true</item>
<!-- 半透明 -->
<item name="android:windowIsTranslucent">true</item>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<style name="AlertDialogStyle" 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">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar"/>
<style name="AppTheme" parent="AppBaseTheme"/>
</resources>
\ No newline at end of file
#Mon May 08 17:37:17 CST 2017
#Tue May 09 22:54:42 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\\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-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\\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_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\\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\\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
... ...
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="actionsheet_blue">#037BFF</color>
<color name="actionsheet_gray">#8F8F8F</color>
<color name="actionsheet_red">#FD4A2E</color>
<color name="alertdialog_line">#c6c6c6</color>
<color name="black">#000000</color>
<color name="trans">#00000000</color>
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<string name="app_name">IOSDialog</string>
<style name="ActionSheetDialogAnimation" parent="@android:style/Animation.Dialog">
<item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
<item name="android:windowExitAnimation">@anim/actionsheet_dialog_out</item>
</style>
<style name="ActionSheetDialogStyle" 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">true</item>
<!-- 无标题 -->
<item name="android:windowNoTitle">true</item>
<!-- 半透明 -->
<item name="android:windowIsTranslucent">true</item>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
</style>
<style name="AlertDialogStyle" 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">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar"/>
<style name="AppTheme" parent="AppBaseTheme"/>
</resources>
\ No newline at end of file
... ... @@ -33,8 +33,8 @@
android:layout_height="wrap_content"
android:orientation="vertical" >
</LinearLayout>
</ScrollView>
</ScrollView>
<TextView
android:id="@+id/txt_cancel"
android:layout_width="match_parent"
... ...
... ... @@ -33,8 +33,8 @@
android:layout_height="wrap_content"
android:orientation="vertical" >
</LinearLayout>
</ScrollView>
</ScrollView>
<TextView
android:id="@+id/txt_cancel"
android:layout_width="match_parent"
... ...