huangxinbao

Modify back to see the process bar is no problem,repair audio push problem. add…

… select push video or push audio alertdialg.
正在显示 100 个修改的文件 包含 2182 行增加104 行删除

要显示太多修改。

为保证性能只显示 100 of 100+ 个文件。

@@ -12,6 +12,7 @@ @@ -12,6 +12,7 @@
12 <option value="$PROJECT_DIR$/XdyDemo" /> 12 <option value="$PROJECT_DIR$/XdyDemo" />
13 <option value="$PROJECT_DIR$/app" /> 13 <option value="$PROJECT_DIR$/app" />
14 <option value="$PROJECT_DIR$/easeUI_CN" /> 14 <option value="$PROJECT_DIR$/easeUI_CN" />
  15 + <option value="$PROJECT_DIR$/iOS_Dialog_Library" />
15 <option value="$PROJECT_DIR$/myapplication2" /> 16 <option value="$PROJECT_DIR$/myapplication2" />
16 <option value="$PROJECT_DIR$/mylibrary" /> 17 <option value="$PROJECT_DIR$/mylibrary" />
17 <option value="$PROJECT_DIR$/sdklibraryssss" /> 18 <option value="$PROJECT_DIR$/sdklibraryssss" />
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="4"> 2 <project version="4">
  3 + <component name="EntryPointsManager">
  4 + <entry_points version="2.0" />
  5 + </component>
  6 + <component name="NullableNotNullManager">
  7 + <option name="myDefaultNullable" value="android.support.annotation.Nullable" />
  8 + <option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
  9 + <option name="myNullables">
  10 + <value>
  11 + <list size="4">
  12 + <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
  13 + <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
  14 + <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
  15 + <item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
  16 + </list>
  17 + </value>
  18 + </option>
  19 + <option name="myNotNulls">
  20 + <value>
  21 + <list size="4">
  22 + <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
  23 + <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
  24 + <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
  25 + <item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
  26 + </list>
  27 + </value>
  28 + </option>
  29 + </component>
3 <component name="ProjectLevelVcsManager" settingsEditedManually="false"> 30 <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4 <OptionsSetting value="true" id="Add" /> 31 <OptionsSetting value="true" id="Add" />
5 <OptionsSetting value="true" id="Remove" /> 32 <OptionsSetting value="true" id="Remove" />
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 <module fileurl="file://$PROJECT_DIR$/XdyDemo/XdyDemo.iml" filepath="$PROJECT_DIR$/XdyDemo/XdyDemo.iml" /> 6 <module fileurl="file://$PROJECT_DIR$/XdyDemo/XdyDemo.iml" filepath="$PROJECT_DIR$/XdyDemo/XdyDemo.iml" />
7 <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> 7 <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
8 <module fileurl="file://$PROJECT_DIR$/easeUI_CN/easeUI_CN.iml" filepath="$PROJECT_DIR$/easeUI_CN/easeUI_CN.iml" /> 8 <module fileurl="file://$PROJECT_DIR$/easeUI_CN/easeUI_CN.iml" filepath="$PROJECT_DIR$/easeUI_CN/easeUI_CN.iml" />
  9 + <module fileurl="file://$PROJECT_DIR$/iOS_Dialog_Library/iOS_Dialog_Library.iml" filepath="$PROJECT_DIR$/iOS_Dialog_Library/iOS_Dialog_Library.iml" />
9 <module fileurl="file://$PROJECT_DIR$/myapplication2/myapplication2.iml" filepath="$PROJECT_DIR$/myapplication2/myapplication2.iml" /> 10 <module fileurl="file://$PROJECT_DIR$/myapplication2/myapplication2.iml" filepath="$PROJECT_DIR$/myapplication2/myapplication2.iml" />
10 <module fileurl="file://$PROJECT_DIR$/mylibrary/mylibrary.iml" filepath="$PROJECT_DIR$/mylibrary/mylibrary.iml" /> 11 <module fileurl="file://$PROJECT_DIR$/mylibrary/mylibrary.iml" filepath="$PROJECT_DIR$/mylibrary/mylibrary.iml" />
11 <module fileurl="file://$PROJECT_DIR$/sdklibraryssss/sdklibraryssss.iml" filepath="$PROJECT_DIR$/sdklibraryssss/sdklibraryssss.iml" /> 12 <module fileurl="file://$PROJECT_DIR$/sdklibraryssss/sdklibraryssss.iml" filepath="$PROJECT_DIR$/sdklibraryssss/sdklibraryssss.iml" />
@@ -3,7 +3,8 @@ apply plugin: 'com.android.application' @@ -3,7 +3,8 @@ apply plugin: 'com.android.application'
3 android { 3 android {
4 compileSdkVersion 25 4 compileSdkVersion 25
5 buildToolsVersion '25.0.2' 5 buildToolsVersion '25.0.2'
6 - 6 + aaptOptions.cruncherEnabled = false
  7 + aaptOptions.useNewCruncher = false
7 defaultConfig { 8 defaultConfig {
8 applicationId "com.mang.xdy.demo" 9 applicationId "com.mang.xdy.demo"
9 minSdkVersion 15 10 minSdkVersion 15
@@ -32,8 +33,6 @@ dependencies { @@ -32,8 +33,6 @@ dependencies {
32 exclude group: 'com.android.support', module: 'support-annotations' 33 exclude group: 'com.android.support', module: 'support-annotations'
33 }) 34 })
34 compile project(':xdy') 35 compile project(':xdy')
35 -  
36 -  
37 compile files('libs/pldroid-player-1.5.1.jar') 36 compile files('libs/pldroid-player-1.5.1.jar')
38 compile 'com.android.support:appcompat-v7:25.3.1' 37 compile 'com.android.support:appcompat-v7:25.3.1'
39 compile 'com.jakewharton:butterknife:8.5.1' 38 compile 'com.jakewharton:butterknife:8.5.1'
@@ -54,4 +53,5 @@ dependencies { @@ -54,4 +53,5 @@ dependencies {
54 compile 'com.qiniu:happy-dns:0.2.+' 53 compile 'com.qiniu:happy-dns:0.2.+'
55 compile 'org.greenrobot:eventbus:3.0.0' 54 compile 'org.greenrobot:eventbus:3.0.0'
56 compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar' 55 compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
  56 + compile project(':iOS_Dialog_Library')
57 } 57 }
@@ -7,6 +7,7 @@ import android.text.TextUtils; @@ -7,6 +7,7 @@ import android.text.TextUtils;
7 import android.view.View; 7 import android.view.View;
8 import android.widget.Button; 8 import android.widget.Button;
9 import android.widget.EditText; 9 import android.widget.EditText;
  10 +import android.widget.RelativeLayout;
10 11
11 import com.google.gson.Gson; 12 import com.google.gson.Gson;
12 13
@@ -34,6 +35,8 @@ public class MainActivity extends AppCompatActivity { @@ -34,6 +35,8 @@ public class MainActivity extends AppCompatActivity {
34 Button btnHomeEnterClass; 35 Button btnHomeEnterClass;
35 @BindView(R.id.btn_home_enter_publisher) 36 @BindView(R.id.btn_home_enter_publisher)
36 Button btn_home_enter_publisher; 37 Button btn_home_enter_publisher;
  38 + @BindView(R.id.rl_home_close)
  39 + RelativeLayout rl_home_close;
37 /*一进来就要初始化,让后再调 加入课堂*/ 40 /*一进来就要初始化,让后再调 加入课堂*/
38 @Override 41 @Override
39 protected void onCreate(Bundle savedInstanceState) { 42 protected void onCreate(Bundle savedInstanceState) {
@@ -42,7 +45,7 @@ public class MainActivity extends AppCompatActivity { @@ -42,7 +45,7 @@ public class MainActivity extends AppCompatActivity {
42 ButterKnife.bind(this); 45 ButterKnife.bind(this);
43 } 46 }
44 47
45 - @OnClick({R.id.btn_home_enter_class,R.id.btn_home_enter_publisher}) 48 + @OnClick({R.id.btn_home_enter_class,R.id.btn_home_enter_publisher,R.id.rl_home_close})
46 public void onViewClicked(View view) { 49 public void onViewClicked(View view) {
47 if(TextUtils.isEmpty(joinClass())){ 50 if(TextUtils.isEmpty(joinClass())){
48 return; 51 return;
@@ -66,6 +69,9 @@ public class MainActivity extends AppCompatActivity { @@ -66,6 +69,9 @@ public class MainActivity extends AppCompatActivity {
66 intents.putStringArrayListExtra("init",arrayList); 69 intents.putStringArrayListExtra("init",arrayList);
67 startActivity(intents); 70 startActivity(intents);
68 break; 71 break;
  72 + case R.id.rl_home_close:
  73 + this.finish();
  74 + break;
69 } 75 }
70 } 76 }
71 private String classId=""; 77 private String classId="";
@@ -43,7 +43,6 @@ import com.mang.xdy.demo.utils.ToastUtil; @@ -43,7 +43,6 @@ import com.mang.xdy.demo.utils.ToastUtil;
43 import com.mang.xdy.demo.widget.dialog.LoginDialog; 43 import com.mang.xdy.demo.widget.dialog.LoginDialog;
44 import com.mang.xdy.demo.widget.view.NoScrollViewPager; 44 import com.mang.xdy.demo.widget.view.NoScrollViewPager;
45 import com.mang.xdy.listener.ObserverListener; 45 import com.mang.xdy.listener.ObserverListener;
46 -import com.mang.xdy.utils.SystemUtils;  
47 import com.mang.xdy.utils.UIUtils; 46 import com.mang.xdy.utils.UIUtils;
48 import com.mang.xdy.utils.XdyLogUtil; 47 import com.mang.xdy.utils.XdyLogUtil;
49 import com.mang.xdy.utils.XdyStringUtils; 48 import com.mang.xdy.utils.XdyStringUtils;
@@ -62,6 +61,7 @@ import java.util.Locale; @@ -62,6 +61,7 @@ import java.util.Locale;
62 61
63 import butterknife.BindView; 62 import butterknife.BindView;
64 import butterknife.ButterKnife; 63 import butterknife.ButterKnife;
  64 +import zhangphil.iosdialog.widget.ActionSheetDialog;
65 65
66 import static com.pili.pldroid.player.AVOptions.KEY_DELAY_OPTIMIZATION; 66 import static com.pili.pldroid.player.AVOptions.KEY_DELAY_OPTIMIZATION;
67 67
@@ -69,29 +69,40 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -69,29 +69,40 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
69 private final static String TAG = "VideoPlayActivity"; 69 private final static String TAG = "VideoPlayActivity";
70 @BindView(R.id.img_playVideo_novideo) 70 @BindView(R.id.img_playVideo_novideo)
71 ImageView img_playVideo_novideo; 71 ImageView img_playVideo_novideo;
72 - @BindView(R.id.img_videoPlay_start)  
73 - ImageView img_videoPlay_start;  
74 - private String username = "";  
75 - private String userpwd = "";  
76 - private SimpleFragmentPagerAdapter pagerAdapter; 72 + @BindView(R.id.fra_videoPlay_start)
  73 + FrameLayout fra_videoPlay_start;
77 @BindView(R.id.viewpager) 74 @BindView(R.id.viewpager)
78 NoScrollViewPager viewPager; 75 NoScrollViewPager viewPager;
79 private TabLayout tabLayout; 76 private TabLayout tabLayout;
80 @BindView(R.id.surfaceview_playVideo) 77 @BindView(R.id.surfaceview_playVideo)
81 SurfaceView surfaceviewPlayVideo; 78 SurfaceView surfaceviewPlayVideo;
82 - @BindView(R.id.img_videoPlay_stopPublish)  
83 - ImageView btn_videoPlay_stopPublish; 79 + @BindView(R.id.fra_videoPlay_stopPublish)
  80 + FrameLayout mFramenLayout_stopPublish;
84 @BindView(R.id.sur_plaVideo_publish) 81 @BindView(R.id.sur_plaVideo_publish)
85 SurfaceView surfaceView_publish; 82 SurfaceView surfaceView_publish;
  83 + @BindView(R.id.img_playVideo_replay)
  84 + PLVideoTextureView mVideoView;
  85 + @BindView(R.id.img_videoPlay_back)
  86 + ImageView mImage_Back;
  87 + @BindView(R.id.tv_videoPlay_className)
  88 + TextView mTextView_ClassName;
  89 + @BindView(R.id.stl_videoPlay_tab)
  90 + SlidingTabLayout mSlidingTab;
  91 + @BindView(R.id.img_playVideo_publishAudio)
  92 + ImageView mIamgeView_PublishAudio;
  93 + private String username = "";
  94 + private String userpwd = "";
  95 + private SimpleFragmentPagerAdapter pagerAdapter;
86 private String initClass = ""; 96 private String initClass = "";
87 private XdySdk xdySdk; 97 private XdySdk xdySdk;
88 private LoginDialog mLoginDialog; 98 private LoginDialog mLoginDialog;
89 private ProgressDialog mProgressDialog; 99 private ProgressDialog mProgressDialog;
90 - @BindView(R.id.img_playVideo_replay)  
91 - PLVideoTextureView mVideoView; 100 +
92 private String playVideoOrAudioId=""; 101 private String playVideoOrAudioId="";
93 - //视频模式还是音频模式  
94 - private boolean isVideoMode=true; 102 + //播放视频模式还是音频模式
  103 + private boolean isPlayVideoMode =true;
  104 + /*推流视频模式还是音频模式*/
  105 + private boolean isPublsishVideoMode=true;
95 /*mcu断开或者网络原因为false*/ 106 /*mcu断开或者网络原因为false*/
96 private boolean isDefaultExit=true; 107 private boolean isDefaultExit=true;
97 private AlertDialog mErrorDialog; 108 private AlertDialog mErrorDialog;
@@ -99,16 +110,10 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -99,16 +110,10 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
99 //是否是回放状态, 110 //是否是回放状态,
100 private boolean replay = false; 111 private boolean replay = false;
101 SurfaceHolder sh; 112 SurfaceHolder sh;
102 - @BindView(R.id.img_videoPlay_back)  
103 - ImageView mImageView_Back;  
104 - @BindView(R.id.tv_videoPlay_className)  
105 - TextView mTextView_ClassName;  
106 - @BindView(R.id.stl_videoPlay_tab)  
107 - SlidingTabLayout mSlidingTab;  
108 /*课堂名字*/ 113 /*课堂名字*/
109 private String className; 114 private String className;
110 /*课堂类型*/ 115 /*课堂类型*/
111 - private int classType=1; 116 + private int classType=2;
112 private String[] titles; 117 private String[] titles;
113 private Handler mmHandler = new Handler() { 118 private Handler mmHandler = new Handler() {
114 @Override 119 @Override
@@ -143,6 +148,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -143,6 +148,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
143 seek = jsonObject.optLong("recordPlaybackMaxTime"); 148 seek = jsonObject.optLong("recordPlaybackMaxTime");
144 className=jsonObject.optString("className"); 149 className=jsonObject.optString("className");
145 classType=jsonObject.optInt("classType"); 150 classType=jsonObject.optInt("classType");
  151 + XdyLogUtil.i("课堂类型",""+classType);
146 152
147 } catch (JSONException e) { 153 } catch (JSONException e) {
148 e.printStackTrace(); 154 e.printStackTrace();
@@ -153,22 +159,22 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -153,22 +159,22 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
153 if(replay) { 159 if(replay) {
154 initRecordSeek(userJson); 160 initRecordSeek(userJson);
155 }else { 161 }else {
156 - if (classType == 1) {  
157 - img_videoPlay_start.setVisibility(View.GONE); 162 + if (classType == 2) {
  163 + fra_videoPlay_start.setVisibility(View.GONE);
158 } else { 164 } else {
159 - img_videoPlay_start.setVisibility(View.VISIBLE); 165 + fra_videoPlay_start.setVisibility(View.VISIBLE);
160 } 166 }
161 } 167 }
162 break; 168 break;
163 case Constants.VIDEO_PLAY: 169 case Constants.VIDEO_PLAY:
164 //播放视频 170 //播放视频
165 playVideoOrAudioId=responseEntity.getParam(); 171 playVideoOrAudioId=responseEntity.getParam();
166 - isVideoMode=true; 172 + isPlayVideoMode =true;
167 playVideo(responseEntity.getParam()); 173 playVideo(responseEntity.getParam());
168 break; 174 break;
169 case Constants.AUDIO_PLAY: 175 case Constants.AUDIO_PLAY:
170 //播放音频 176 //播放音频
171 - isVideoMode=false; 177 + isPlayVideoMode =false;
172 playVideoOrAudioId=responseEntity.getParam(); 178 playVideoOrAudioId=responseEntity.getParam();
173 playAudio(responseEntity.getParam()); 179 playAudio(responseEntity.getParam());
174 break; 180 break;
@@ -176,6 +182,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -176,6 +182,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
176 //停止播放 182 //停止播放
177 case Constants.AUDIO_STOP: 183 case Constants.AUDIO_STOP:
178 //停止播放 184 //停止播放
  185 + playVideoOrAudioId="";
179 stopPlay(responseEntity.getParam()); 186 stopPlay(responseEntity.getParam());
180 break; 187 break;
181 case Constants.PLAY_SUCCESS: 188 case Constants.PLAY_SUCCESS:
@@ -183,7 +190,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -183,7 +190,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
183 img_playVideo_novideo.setVisibility(View.GONE); 190 img_playVideo_novideo.setVisibility(View.GONE);
184 break; 191 break;
185 case Constants.CLASS_UPDATE_TIMER: 192 case Constants.CLASS_UPDATE_TIMER:
186 - if(replay) 193 + if(replay&&!mDragging)
187 handleTime(responseEntity.getParam()); 194 handleTime(responseEntity.getParam());
188 break; 195 break;
189 case Constants.RECORD_PLAYBACK_UPDATE: 196 case Constants.RECORD_PLAYBACK_UPDATE:
@@ -225,7 +232,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -225,7 +232,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
225 if(!replay){ 232 if(!replay){
226 mVideoView.setVisibility(View.GONE); 233 mVideoView.setVisibility(View.GONE);
227 mMediaContainer.setVisibility(View.GONE); 234 mMediaContainer.setVisibility(View.GONE);
228 -// btn_videoPlay_stopPublish.setVisibility(View.VISIBLE); 235 +// mFramenLayout_stopPublish.setVisibility(View.VISIBLE);
229 }else{ 236 }else{
230 surfaceviewPlayVideo.setVisibility(View.GONE); 237 surfaceviewPlayVideo.setVisibility(View.GONE);
231 initReplay(); 238 initReplay();
@@ -237,35 +244,43 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -237,35 +244,43 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
237 xdySdk.api("initRecordPlayback", initClass); 244 xdySdk.api("initRecordPlayback", initClass);
238 } 245 }
239 currentTime=0; 246 currentTime=0;
240 - btn_videoPlay_stopPublish.setOnClickListener(new View.OnClickListener() { 247 + mFramenLayout_stopPublish.setOnClickListener(new View.OnClickListener() {
241 @Override 248 @Override
242 public void onClick(View v) { 249 public void onClick(View v) {
243 - xdySdk.api("stopPublishVideo", "");  
244 - img_videoPlay_start.setEnabled(true);  
245 - btn_videoPlay_stopPublish.setEnabled(false);  
246 - btn_videoPlay_stopPublish.setVisibility(View.GONE);  
247 - img_videoPlay_start.setVisibility(View.VISIBLE); 250 + if(isPublsishVideoMode) {
  251 + xdySdk.api("stopPublishVideo", "");
  252 + }else{
  253 + xdySdk.api("stopPublishAudio", "");
  254 + }
  255 +
  256 + fra_videoPlay_start.setEnabled(true);
  257 + mFramenLayout_stopPublish.setEnabled(false);
  258 + mFramenLayout_stopPublish.setVisibility(View.GONE);
  259 + fra_videoPlay_start.setVisibility(View.VISIBLE);
248 surfaceView_publish.setVisibility(View.GONE); 260 surfaceView_publish.setVisibility(View.GONE);
  261 + mIamgeView_PublishAudio.setVisibility(View.GONE);
249 } 262 }
250 }); 263 });
251 264
252 - img_videoPlay_start.setOnClickListener(new View.OnClickListener() { 265 + fra_videoPlay_start.setOnClickListener(new View.OnClickListener() {
253 @Override 266 @Override
254 public void onClick(View v) { 267 public void onClick(View v) {
255 - btn_videoPlay_stopPublish.setVisibility(View.VISIBLE);  
256 - img_videoPlay_start.setVisibility(View.GONE);  
257 - surfaceView_publish.setVisibility(View.VISIBLE);  
258 - img_videoPlay_start.setEnabled(false);  
259 - btn_videoPlay_stopPublish.setEnabled(true);  
260 - sh = surfaceView_publish.getHolder();  
261 - sh.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);  
262 - surfaceView_publish.setZOrderMediaOverlay(true);  
263 - xdySdk.api("publishVideo", "", surfaceView_publish, VideoPlayActivity.this);  
264 - isVideoMode=true; 268 +
  269 + showSelectPublishMode();
  270 +// mFramenLayout_stopPublish.setVisibility(View.VISIBLE);
  271 +// fra_videoPlay_start.setVisibility(View.GONE);
  272 +// surfaceView_publish.setVisibility(View.VISIBLE);
  273 +// fra_videoPlay_start.setEnabled(false);
  274 +// mFramenLayout_stopPublish.setEnabled(true);
  275 +// sh = surfaceView_publish.getHolder();
  276 +// sh.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
  277 +// surfaceView_publish.setZOrderMediaOverlay(true);
  278 +// xdySdk.api("publishVideo", "", surfaceView_publish, VideoPlayActivity.this);
  279 +// isPlayVideoMode=true;
265 280
266 } 281 }
267 }); 282 });
268 - mImageView_Back.setOnClickListener(new View.OnClickListener() { 283 + mImage_Back.setOnClickListener(new View.OnClickListener() {
269 @Override 284 @Override
270 public void onClick(View v) { 285 public void onClick(View v) {
271 exit_dialog(); 286 exit_dialog();
@@ -283,6 +298,46 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -283,6 +298,46 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
283 // tabLayout.setTabMode(TabLayout.MODE_FIXED); 298 // tabLayout.setTabMode(TabLayout.MODE_FIXED);
284 // } 299 // }
285 300
  301 + public void showSelectPublishMode(){
  302 + new ActionSheetDialog(VideoPlayActivity.this)
  303 + .builder()
  304 + .setTitle("选择列表")
  305 + .setCancelable(true)
  306 + .setCanceledOnTouchOutside(true)
  307 + .addSheetItem("推送视频", ActionSheetDialog.SheetItemColor.Red
  308 + , new ActionSheetDialog.OnSheetItemClickListener() {
  309 + @Override
  310 + public void onClick(int which) {
  311 + //填写事件
  312 + mFramenLayout_stopPublish.setVisibility(View.VISIBLE);
  313 + fra_videoPlay_start.setVisibility(View.GONE);
  314 + surfaceView_publish.setVisibility(View.VISIBLE);
  315 + fra_videoPlay_start.setEnabled(false);
  316 + mFramenLayout_stopPublish.setEnabled(true);
  317 + sh = surfaceView_publish.getHolder();
  318 + sh.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
  319 + surfaceView_publish.setZOrderMediaOverlay(true);
  320 + xdySdk.api("publishVideo", "", surfaceView_publish, VideoPlayActivity.this);
  321 + isPublsishVideoMode =true;
  322 + }
  323 + })
  324 + .addSheetItem("推送音频", ActionSheetDialog.SheetItemColor.Blue
  325 + , new ActionSheetDialog.OnSheetItemClickListener() {
  326 + @Override
  327 + public void onClick(int which) {
  328 + //填写事件
  329 + mFramenLayout_stopPublish.setVisibility(View.VISIBLE);
  330 + fra_videoPlay_start.setVisibility(View.GONE);
  331 + surfaceView_publish.setVisibility(View.GONE);
  332 + mIamgeView_PublishAudio.setVisibility(View.VISIBLE);
  333 + fra_videoPlay_start.setEnabled(false);
  334 + mFramenLayout_stopPublish.setEnabled(true);
  335 + xdySdk.api(Constants.PUBLISH_AUDIO, "", null, VideoPlayActivity.this);
  336 + isPublsishVideoMode =false;
  337 + }
  338 + }).show();
  339 + }
  340 +
286 public void setTablayout(){ 341 public void setTablayout(){
287 titles = new String[]{"文档", "聊天"}; 342 titles = new String[]{"文档", "聊天"};
288 pagerAdapter = new SimpleFragmentPagerAdapter(getSupportFragmentManager(), this,replay); 343 pagerAdapter = new SimpleFragmentPagerAdapter(getSupportFragmentManager(), this,replay);
@@ -496,7 +551,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -496,7 +551,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
496 protected void onPause() { 551 protected void onPause() {
497 super.onPause(); 552 super.onPause();
498 xdySdk.onPlayStop(playVideoOrAudioId); 553 xdySdk.onPlayStop(playVideoOrAudioId);
499 - if(isVideoMode){ 554 + if(isPlayVideoMode){
500 stopVideo(); 555 stopVideo();
501 }else{ 556 }else{
502 stopAudio(); 557 stopAudio();
@@ -510,9 +565,11 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -510,9 +565,11 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
510 @Override 565 @Override
511 protected void onResume() { 566 protected void onResume() {
512 super.onResume(); 567 super.onResume();
513 - if (isVideoMode) { 568 + if (isPlayVideoMode) {
  569 + if(!TextUtils.isEmpty(playVideoOrAudioId))
514 playVideo(playVideoOrAudioId); 570 playVideo(playVideoOrAudioId);
515 } else { 571 } else {
  572 + if(!TextUtils.isEmpty(playVideoOrAudioId))
516 playAudio(playVideoOrAudioId); 573 playAudio(playVideoOrAudioId);
517 } 574 }
518 if(replay) { 575 if(replay) {
@@ -565,7 +622,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -565,7 +622,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
565 public void stopPlay(String response) { 622 public void stopPlay(String response) {
566 623
567 if(replay){ 624 if(replay){
568 - if(isVideoMode){ 625 + if(isPlayVideoMode){
569 stopVideo(); 626 stopVideo();
570 }else{ 627 }else{
571 stopAudio(); 628 stopAudio();
@@ -684,7 +741,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -684,7 +741,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
684 setProgress(); 741 setProgress();
685 if (!mDragging && mShowing) { 742 if (!mDragging && mShowing) {
686 msg = obtainMessage(SHOW_PROGRESS); 743 msg = obtainMessage(SHOW_PROGRESS);
687 - sendMessageDelayed(msg, 1000); 744 + mHandler.sendMessageDelayed(msg, 1000);
688 updatePausePlay(); 745 updatePausePlay();
689 } 746 }
690 break; 747 break;
@@ -796,7 +853,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -796,7 +853,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
796 showMediaContainer(TIME_OUT); 853 showMediaContainer(TIME_OUT);
797 mHandler.removeMessages(SHOW_PROGRESS); 854 mHandler.removeMessages(SHOW_PROGRESS);
798 //停掉音视频 855 //停掉音视频
799 - if (isVideoMode) 856 + if (isPlayVideoMode)
800 stopVideo(); 857 stopVideo();
801 else 858 else
802 stopAudio(); 859 stopAudio();
@@ -805,14 +862,15 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -805,14 +862,15 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
805 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) { 862 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
806 if (!fromuser) 863 if (!fromuser)
807 return; 864 return;
808 - setCurrentTime(progress);  
809 - String time = generateTime(progress); 865 + setCurrentTime((int) (progress*(seek/100)));
  866 + String time = generateTime(currentTime);
810 if (mCurrentTime != null) 867 if (mCurrentTime != null)
811 mCurrentTime.setText(time); 868 mCurrentTime.setText(time);
812 } 869 }
813 870
814 public void onStopTrackingTouch(SeekBar bar) { 871 public void onStopTrackingTouch(SeekBar bar) {
815 - seekRecordPlay(bar.getProgress() == 0 ? 1 : bar.getProgress()); 872 + XdyLogUtil.i("视频播放:",""+bar.getProgress()*bar.getProgress()*(seek/100));
  873 + seekRecordPlay(bar.getProgress() == 0 ? 1 : bar.getProgress()*(seek/100));
816 showMediaContainer(TIME_OUT); 874 showMediaContainer(TIME_OUT);
817 mHandler.removeMessages(SHOW_PROGRESS); 875 mHandler.removeMessages(SHOW_PROGRESS);
818 mDragging = false; 876 mDragging = false;
@@ -853,8 +911,11 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -853,8 +911,11 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
853 if (mCurrentTime != null) { 911 if (mCurrentTime != null) {
854 mCurrentTime.setText(generateTime(currentTime)); 912 mCurrentTime.setText(generateTime(currentTime));
855 } 913 }
856 - if (mSeekBar != null) {  
857 - mSeekBar.setProgress(currentTime); 914 + if (mSeekBar != null&&seek!=0) {
  915 +// mSeekBar.setProgress(currentTime);
  916 +// XdyLogUtil.e("视频播放进度:seek:"+seek+" Currentime:"+currentTime);
  917 +// XdyLogUtil.e("视频播放进度:setProgress:"+ ((currentTime*1.0)/(seek))+":"+(int) (currentTime/seek*100)+":"+ ((currentTime/seek))*100);
  918 + mSeekBar.setProgress((int) (((currentTime*1.0)/seek)*100));
858 } 919 }
859 } 920 }
860 } 921 }
@@ -935,7 +996,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -935,7 +996,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
935 e.printStackTrace(); 996 e.printStackTrace();
936 } 997 }
937 } 998 }
938 - long seek=0; 999 + long seek=1;
939 int currentTime; 1000 int currentTime;
940 /** 1001 /**
941 * 录制回放初始化 seek长度等信息 1002 * 录制回放初始化 seek长度等信息
@@ -956,7 +1017,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -956,7 +1017,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
956 try { 1017 try {
957 JSONObject jsonObject = new JSONObject(pa); 1018 JSONObject jsonObject = new JSONObject(pa);
958 //防止时间超了 1019 //防止时间超了
959 - currentTime = jsonObject.optInt("classTimestamp"); 1020 + currentTime = jsonObject.optInt("classTimestamp");
960 boolean isRe = jsonObject.optBoolean("recordStatus"); 1021 boolean isRe = jsonObject.optBoolean("recordStatus");
961 1022
962 } catch (JSONException e) { 1023 } catch (JSONException e) {
@@ -1015,7 +1076,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -1015,7 +1076,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
1015 }); 1076 });
1016 1077
1017 1078
1018 - if (isVideoMode && mVideoView != null && mVideoView.isPlaying()) 1079 + if (isPlayVideoMode && mVideoView != null && mVideoView.isPlaying())
1019 mVideoView.stopPlayback(); 1080 mVideoView.stopPlayback();
1020 } 1081 }
1021 1082
@@ -1023,7 +1084,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList @@ -1023,7 +1084,7 @@ public class VideoPlayActivity extends AppCompatActivity implements ObserverList
1023 img_playVideo_novideo.setImageResource(R.mipmap.no_video); 1084 img_playVideo_novideo.setImageResource(R.mipmap.no_video);
1024 img_playVideo_novideo.setVisibility(View.VISIBLE); 1085 img_playVideo_novideo.setVisibility(View.VISIBLE);
1025 1086
1026 - if (isVideoMode && mVideoView != null && mVideoView.isPlaying()) 1087 + if (isPlayVideoMode && mVideoView != null && mVideoView.isPlaying())
1027 mVideoView.stopPlayback(); 1088 mVideoView.stopPlayback();
1028 1089
1029 } 1090 }
@@ -6,54 +6,125 @@ @@ -6,54 +6,125 @@
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 android:orientation="vertical" 7 android:orientation="vertical"
8 tools:context="com.mang.xdy.demo.MainActivity"> 8 tools:context="com.mang.xdy.demo.MainActivity">
9 - <TextView  
10 - android:layout_width="match_parent" 9 + <RelativeLayout
  10 + android:id="@+id/rl_home_close"
  11 + android:layout_width="@dimen/ui_DIMEN_98.0PX"
  12 + android:layout_height="@dimen/ui_DIMEN_98.0PX">
  13 +
  14 + <ImageView
  15 + style="@style/ui_wrap_wrap"
  16 + android:layout_centerInParent="true"
  17 + android:src="@mipmap/close"/>
  18 + </RelativeLayout>
  19 +
  20 + <ImageView
  21 + android:id="@+id/iv_logo"
  22 + android:layout_width="wrap_content"
11 android:layout_height="wrap_content" 23 android:layout_height="wrap_content"
12 - android:text="课堂Id"  
13 - />  
14 - <EditText 24 + android:layout_gravity="center_horizontal"
  25 + android:layout_centerHorizontal="true"
  26 + android:layout_marginTop="@dimen/ui_DIMEN_24.0PX"
  27 + android:src="@mipmap/logo_home"/>
  28 +
  29 +
  30 + <RelativeLayout
  31 + android:id="@+id/rl_classid"
  32 + style="@style/home_input_style"
  33 + android:layout_marginTop="@dimen/ui_DIMEN_80.0PX">
  34 +
  35 + <TextView
  36 + android:id="@+id/tv_home_classid"
  37 + style="@style/home_input_title_style"
  38 + android:layout_centerVertical="true"
  39 + android:text="@string/home_classid_hint"/>
  40 +
  41 + <android.support.v7.widget.AppCompatEditText
15 android:id="@+id/edt_home_classId" 42 android:id="@+id/edt_home_classId"
16 - android:layout_width="match_parent"  
17 - android:layout_height="wrap_content" 43 + android:layout_toRightOf="@+id/tv_home_classid"
  44 + style="@style/home_input_edit_style"
18 android:hint="请输入课堂号" 45 android:hint="请输入课堂号"
19 android:inputType="number" 46 android:inputType="number"
20 - android:text="1332699420"/>  
21 - <TextView  
22 - android:layout_width="match_parent"  
23 - android:layout_height="wrap_content"  
24 - android:text="角色"/> 47 + android:text="748222373"/>
  48 +
  49 + <View
  50 + style="@style/ui_divider_line_horizontal"
  51 + android:layout_alignParentBottom="true"
  52 + android:background="#cccccc"/>
  53 + </RelativeLayout>
  54 +
  55 + <!--role-->
  56 + <RelativeLayout
  57 + android:id="@+id/rl_userrole"
  58 + style="@style/home_input_style"
  59 + android:layout_below="@id/rl_classid">
  60 +
  61 + <TextView
  62 + android:id="@+id/tv_home_userrole"
  63 + style="@style/home_input_title_style"
  64 + android:layout_centerVertical="true"
  65 + android:text="@string/home_role_hint"/>
25 <EditText 66 <EditText
26 android:id="@+id/edt_home_role" 67 android:id="@+id/edt_home_role"
27 - android:layout_width="match_parent"  
28 - android:layout_height="wrap_content" 68 + android:layout_toRightOf="@+id/tv_home_userrole"
  69 + style="@style/home_input_edit_style"
29 android:hint="请输入角色" 70 android:hint="请输入角色"
30 android:text="normal" 71 android:text="normal"
31 /> 72 />
32 - <TextView 73 + <View
  74 + style="@style/ui_divider_line_horizontal"
  75 + android:layout_alignParentBottom="true"
  76 + android:background="#cccccc"/>
  77 + </RelativeLayout>
33 78
34 - android:layout_width="match_parent"  
35 - android:layout_height="wrap_content"  
36 - android:text="服务器地址"  
37 - /> 79 + <!--portal-->
  80 + <RelativeLayout
  81 + android:id="@+id/rl_portal"
  82 + style="@style/home_input_style"
  83 + android:layout_below="@id/rl_userrole">
  84 +
  85 + <TextView
  86 + android:id="@+id/tv_home_portal"
  87 + style="@style/home_input_title_style"
  88 + android:layout_centerVertical="true"
  89 + android:text="@string/home_portal_hint"/>
38 <EditText 90 <EditText
39 android:id="@+id/edt_home_serviceIp" 91 android:id="@+id/edt_home_serviceIp"
40 - android:layout_width="match_parent"  
41 - android:layout_height="wrap_content" 92 + android:layout_toRightOf="@+id/tv_home_portal"
  93 + style="@style/home_input_edit_style"
42 android:hint="请输入服务器地址" 94 android:hint="请输入服务器地址"
43 android:text="112.126.80.182:90" 95 android:text="112.126.80.182:90"
44 /> 96 />
45 - <TextView  
46 - android:layout_width="match_parent"  
47 - android:layout_height="wrap_content"  
48 - android:text="用户id"  
49 - /> 97 + <View
  98 + style="@style/ui_divider_line_horizontal"
  99 + android:layout_alignParentBottom="true"
  100 + android:background="#cccccc"/>
  101 + </RelativeLayout>
  102 +
  103 +
  104 + <!-- userid -->
  105 + <RelativeLayout
  106 + android:id="@+id/rl_userid"
  107 + style="@style/home_input_style"
  108 + android:layout_below="@id/rl_portal">
  109 +
  110 + <TextView
  111 + android:id="@+id/tv_home_userid"
  112 + style="@style/home_input_title_style"
  113 + android:layout_centerVertical="true"
  114 + android:text="@string/home_userid_hint"/>
50 <EditText 115 <EditText
51 android:id="@+id/edt_home_userId" 116 android:id="@+id/edt_home_userId"
52 - android:layout_width="match_parent"  
53 - android:layout_height="wrap_content" 117 + android:layout_toRightOf="@+id/tv_home_userid"
  118 + style="@style/home_input_edit_style"
54 android:hint="请输入用户id" 119 android:hint="请输入用户id"
55 android:text="0" 120 android:text="0"
56 /> 121 />
  122 + <View
  123 + style="@style/ui_divider_line_horizontal"
  124 + android:layout_alignParentBottom="true"
  125 + android:background="#cccccc"/>
  126 + </RelativeLayout>
  127 +
57 <Button 128 <Button
58 android:id="@+id/btn_home_enter_class" 129 android:id="@+id/btn_home_enter_class"
59 android:layout_width="match_parent" 130 android:layout_width="match_parent"
@@ -63,7 +134,7 @@ @@ -63,7 +134,7 @@
63 android:background="@drawable/home_selector_bottom_btn_blue" 134 android:background="@drawable/home_selector_bottom_btn_blue"
64 android:layout_marginLeft="15dp" 135 android:layout_marginLeft="15dp"
65 android:layout_marginRight="15dp" 136 android:layout_marginRight="15dp"
66 - 137 + android:layout_marginTop="20dp"
67 /> 138 />
68 <Button 139 <Button
69 android:id="@+id/btn_home_enter_publisher" 140 android:id="@+id/btn_home_enter_publisher"
@@ -72,7 +143,7 @@ @@ -72,7 +143,7 @@
72 android:layout_marginTop="15dp" 143 android:layout_marginTop="15dp"
73 android:layout_marginLeft="15dp" 144 android:layout_marginLeft="15dp"
74 android:layout_marginRight="15dp" 145 android:layout_marginRight="15dp"
75 - android:text="录制回放" 146 + android:text="进入录制回放"
76 android:textColor="@color/white" 147 android:textColor="@color/white"
77 android:background="@drawable/home_selector_bottom_btn_green" 148 android:background="@drawable/home_selector_bottom_btn_green"
78 /> 149 />
@@ -85,32 +85,55 @@ @@ -85,32 +85,55 @@
85 android:layout_alignParentRight="true" 85 android:layout_alignParentRight="true"
86 android:layout_alignParentBottom="true" 86 android:layout_alignParentBottom="true"
87 /> 87 />
  88 + <ImageView
  89 + android:id="@+id/img_playVideo_publishAudio"
  90 + android:layout_width="120dp"
  91 + android:layout_height="150dp"
  92 + android:background="@mipmap/audio_mode"
  93 + android:visibility="gone"
  94 + tools:visibility="visible"
  95 + android:layout_alignParentRight="true"
  96 + android:layout_alignParentBottom="true"
  97 + />
  98 + <FrameLayout
  99 + android:id="@+id/fra_videoPlay_start"
  100 + android:layout_width="70dp"
  101 + android:layout_height="50dp"
88 102
  103 + android:visibility="gone"
  104 + tools:visibility="visible"
  105 + android:layout_alignParentRight="true"
  106 + android:layout_alignParentBottom="true"
  107 + >
89 <ImageView 108 <ImageView
90 android:id="@+id/img_videoPlay_start" 109 android:id="@+id/img_videoPlay_start"
91 android:layout_width="wrap_content" 110 android:layout_width="wrap_content"
92 android:layout_height="wrap_content" 111 android:layout_height="wrap_content"
93 - android:layout_marginRight="25dp"  
94 - android:layout_marginBottom="20dp"  
95 - android:visibility="gone"  
96 - tools:visibility="visible"  
97 - android:layout_alignParentRight="true"  
98 - android:layout_alignParentBottom="true" 112 + android:layout_marginTop="20dp"
  113 + android:layout_marginLeft="20dp"
99 android:background="@mipmap/camerap_normal2x" 114 android:background="@mipmap/camerap_normal2x"
100 /> 115 />
  116 + </FrameLayout>
  117 + <FrameLayout
  118 + android:id="@+id/fra_videoPlay_stopPublish"
  119 + android:layout_width="70dp"
  120 + android:layout_height="50dp"
  121 + android:visibility="gone"
  122 + tools:visibility="visible"
  123 + android:layout_alignParentRight="true"
  124 + android:layout_alignParentBottom="true"
  125 + android:layout_alignBottom="@+id/sur_plaVideo_publish"
  126 + >
101 <ImageView 127 <ImageView
102 android:id="@+id/img_videoPlay_stopPublish" 128 android:id="@+id/img_videoPlay_stopPublish"
103 android:layout_width="wrap_content" 129 android:layout_width="wrap_content"
104 android:layout_height="wrap_content" 130 android:layout_height="wrap_content"
105 - android:layout_alignBottom="@+id/sur_plaVideo_publish" 131 + android:layout_marginTop="20dp"
  132 + android:layout_marginLeft="20dp"
106 android:enabled="false" 133 android:enabled="false"
107 android:background="@mipmap/hangup_normal2x" 134 android:background="@mipmap/hangup_normal2x"
108 - android:visibility="gone"  
109 - android:layout_marginRight="25dp"  
110 - android:layout_marginBottom="20dp"  
111 - tools:visibility="visible"  
112 - android:layout_alignParentRight="true"  
113 /> 135 />
  136 + </FrameLayout>
114 </RelativeLayout> 137 </RelativeLayout>
115 </RelativeLayout> 138 </RelativeLayout>
116 <SurfaceView 139 <SurfaceView
@@ -3,4 +3,11 @@ @@ -3,4 +3,11 @@
3 3
4 <!-- TODO: Remove or change this placeholder text --> 4 <!-- TODO: Remove or change this placeholder text -->
5 <string name="hello_blank_fragment">Hello blank fragment</string> 5 <string name="hello_blank_fragment">Hello blank fragment</string>
  6 +
  7 + <string name="home_classid_hint">classid</string>
  8 + <string name="home_role_hint">userRole</string>
  9 + <string name="home_userid_hint">userid</string>
  10 + <string name="home_portal_hint">portal</string>
  11 + <string name="home_enter_class">进入课堂</string>
  12 + <string name="home_enter_replay">进入录制回放</string>
6 </resources> 13 </resources>
@@ -112,4 +112,44 @@ @@ -112,4 +112,44 @@
112 <item name="android:thumb">@drawable/home_thunmb</item> 112 <item name="android:thumb">@drawable/home_thunmb</item>
113 <item name="android:thumbOffset">10.0dip</item> 113 <item name="android:thumbOffset">10.0dip</item>
114 </style> 114 </style>
  115 +
  116 +
  117 + <style name="home_input_title_style" parent="home_input_common_style">
  118 + <item name="android:layout_width">@dimen/ui_DIMEN_150.0PX</item>
  119 + <item name="android:layout_marginLeft">@dimen/ui_DIMEN_40.0PX</item>
  120 + <item name="android:layout_height">wrap_content</item>
  121 + <item name="android:textSize">@dimen/ui_DIMEN_32.0PX</item>
  122 + </style>
  123 + <style name="home_input_common_style" parent="ui_tvBaseStyle">
  124 + <item name="android:textColor">#333333</item>
  125 + <item name="android:layout_centerVertical">true</item>
  126 + </style>
  127 +
  128 + <!-- 水平分割线样式-->
  129 + <style name="ui_divider_line_horizontal">
  130 + <item name="android:layout_width">match_parent</item>
  131 + <item name="android:layout_height">@dimen/ui_DIMEN_1.0PX</item>
  132 + <item name="android:background">@color/ui_divider_color</item>
  133 + </style>
  134 +
  135 + <style name="home_input_style">
  136 + <item name="android:layout_width">match_parent</item>
  137 + <item name="android:layout_height">@dimen/ui_DIMEN_100.0PX</item>
  138 + </style>
  139 +
  140 + <!-- 宽度wrap 高度包裹wrap-->
  141 + <style name="ui_wrap_wrap">
  142 + <item name="android:layout_width">wrap_content</item>
  143 + <item name="android:layout_height">wrap_content</item>
  144 + </style>
  145 +
  146 +
  147 + <style name="home_input_edit_style" parent="home_input_common_style">
  148 + <item name="android:layout_width">match_parent</item>
  149 + <item name="android:layout_height">wrap_content</item>
  150 + <item name="android:layout_marginRight">@dimen/ui_DIMEN_40.0PX</item>
  151 + <item name="android:textSize">@dimen/ui_DIMEN_30.0PX</item>
  152 + <item name="android:background">@null</item>
  153 +
  154 + </style>
115 </resources> 155 </resources>
  1 +apply plugin: 'com.android.library'
  2 +
  3 +android {
  4 + compileSdkVersion 22
  5 + buildToolsVersion "23.0.2"
  6 +
  7 + defaultConfig {
  8 + minSdkVersion 15
  9 + targetSdkVersion 22
  10 + }
  11 +
  12 + buildTypes {
  13 + release {
  14 + minifyEnabled false
  15 + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  16 + }
  17 + }
  18 +}
  19 +
  20 +dependencies {
  21 + compile 'com.android.support:support-v4:22.+'
  22 +}
  1 +/**
  2 + * Automatically generated file. DO NOT MODIFY
  3 + */
  4 +package zhangphil.iosdialog.test;
  5 +
  6 +public final class BuildConfig {
  7 + public static final boolean DEBUG = Boolean.parseBoolean("true");
  8 + public static final String APPLICATION_ID = "zhangphil.iosdialog.test";
  9 + public static final String BUILD_TYPE = "debug";
  10 + public static final String FLAVOR = "";
  11 + public static final int VERSION_CODE = -1;
  12 + public static final String VERSION_NAME = "";
  13 +}
  1 +/**
  2 + * Automatically generated file. DO NOT MODIFY
  3 + */
  4 +package zhangphil.iosdialog;
  5 +
  6 +public final class BuildConfig {
  7 + public static final boolean DEBUG = Boolean.parseBoolean("true");
  8 + public static final String APPLICATION_ID = "zhangphil.iosdialog";
  9 + public static final String BUILD_TYPE = "debug";
  10 + public static final String FLAVOR = "";
  11 + public static final int VERSION_CODE = 1;
  12 + public static final String VERSION_NAME = "1.0";
  13 +}
  1 +/**
  2 + * Automatically generated file. DO NOT MODIFY
  3 + */
  4 +package zhangphil.iosdialog;
  5 +
  6 +public final class BuildConfig {
  7 + public static final boolean DEBUG = false;
  8 + public static final String APPLICATION_ID = "zhangphil.iosdialog";
  9 + public static final String BUILD_TYPE = "release";
  10 + public static final String FLAVOR = "";
  11 + public static final int VERSION_CODE = 1;
  12 + public static final String VERSION_NAME = "1.0";
  13 +}
  1 +/* AUTO-GENERATED FILE. DO NOT MODIFY.
  2 + *
  3 + * This class was automatically generated by the
  4 + * aapt tool from the resource data it found. It
  5 + * should not be modified by hand.
  6 + */
  7 +
  8 +package zhangphil.iosdialog;
  9 +
  10 +public final class R {
  11 + public static final class anim {
  12 + public static int actionsheet_dialog_in=0x7f040000;
  13 + public static int actionsheet_dialog_out=0x7f040001;
  14 + }
  15 + public static final class attr {
  16 + }
  17 + public static final class color {
  18 + public static int actionsheet_blue=0x7f060000;
  19 + public static int actionsheet_gray=0x7f060001;
  20 + public static int actionsheet_red=0x7f060002;
  21 + public static int alertdialog_line=0x7f060003;
  22 + public static int black=0x7f060004;
  23 + public static int trans=0x7f060005;
  24 + }
  25 + public static final class dimen {
  26 + public static int activity_horizontal_margin=0x7f070000;
  27 + public static int activity_vertical_margin=0x7f070001;
  28 + }
  29 + public static final class drawable {
  30 + public static int actionsheet_bottom_normal=0x7f020000;
  31 + public static int actionsheet_bottom_pressed=0x7f020001;
  32 + public static int actionsheet_bottom_selector=0x7f020002;
  33 + public static int actionsheet_middle_normal=0x7f020003;
  34 + public static int actionsheet_middle_pressed=0x7f020004;
  35 + public static int actionsheet_middle_selector=0x7f020005;
  36 + public static int actionsheet_single_normal=0x7f020006;
  37 + public static int actionsheet_single_pressed=0x7f020007;
  38 + public static int actionsheet_single_selector=0x7f020008;
  39 + public static int actionsheet_top_normal=0x7f020009;
  40 + public static int actionsheet_top_pressed=0x7f02000a;
  41 + public static int actionsheet_top_selector=0x7f02000b;
  42 + public static int alert_bg=0x7f02000c;
  43 + public static int alert_btn_left_pressed=0x7f02000d;
  44 + public static int alert_btn_right_pressed=0x7f02000e;
  45 + public static int alert_btn_single_pressed=0x7f02000f;
  46 + public static int alertdialog_left_selector=0x7f020010;
  47 + public static int alertdialog_right_selector=0x7f020011;
  48 + public static int alertdialog_single_selector=0x7f020012;
  49 + public static int app_icon1=0x7f020013;
  50 + public static int trans_bg=0x7f020014;
  51 + }
  52 + public static final class id {
  53 + public static int btn1=0x7f090000;
  54 + public static int btn2=0x7f090001;
  55 + public static int btn3=0x7f090002;
  56 + public static int btn4=0x7f090003;
  57 + public static int btn5=0x7f090004;
  58 + public static int btn_neg=0x7f09000b;
  59 + public static int btn_pos=0x7f09000d;
  60 + public static int img_line=0x7f09000c;
  61 + public static int lLayout_bg=0x7f090009;
  62 + public static int lLayout_content=0x7f090007;
  63 + public static int sLayout_content=0x7f090006;
  64 + public static int txt_cancel=0x7f090008;
  65 + public static int txt_msg=0x7f09000a;
  66 + public static int txt_title=0x7f090005;
  67 + }
  68 + public static final class layout {
  69 + public static int activity_main=0x7f030000;
  70 + public static int view_actionsheet=0x7f030001;
  71 + public static int view_alertdialog=0x7f030002;
  72 + }
  73 + public static final class string {
  74 + public static int app_name=0x7f080000;
  75 + }
  76 + public static final class style {
  77 + public static int ActionSheetDialogAnimation=0x7f050001;
  78 + public static int ActionSheetDialogStyle=0x7f050002;
  79 + public static int AlertDialogStyle=0x7f050003;
  80 + /** API 11 theme customizations can go here.
  81 + API 14 theme customizations can go here.
  82 + */
  83 + public static int AppBaseTheme=0x7f050000;
  84 + public static int AppTheme=0x7f050004;
  85 + }
  86 +}
  1 +/* AUTO-GENERATED FILE. DO NOT MODIFY.
  2 + *
  3 + * This class was automatically generated by the
  4 + * aapt tool from the resource data it found. It
  5 + * should not be modified by hand.
  6 + */
  7 +
  8 +package zhangphil.iosdialog;
  9 +
  10 +public final class R {
  11 + public static final class anim {
  12 + public static int actionsheet_dialog_in=0x7f040000;
  13 + public static int actionsheet_dialog_out=0x7f040001;
  14 + }
  15 + public static final class attr {
  16 + }
  17 + public static final class color {
  18 + public static int actionsheet_blue=0x7f060000;
  19 + public static int actionsheet_gray=0x7f060001;
  20 + public static int actionsheet_red=0x7f060002;
  21 + public static int alertdialog_line=0x7f060003;
  22 + public static int black=0x7f060004;
  23 + public static int trans=0x7f060005;
  24 + }
  25 + public static final class dimen {
  26 + public static int activity_horizontal_margin=0x7f070000;
  27 + public static int activity_vertical_margin=0x7f070001;
  28 + }
  29 + public static final class drawable {
  30 + public static int actionsheet_bottom_normal=0x7f020000;
  31 + public static int actionsheet_bottom_pressed=0x7f020001;
  32 + public static int actionsheet_bottom_selector=0x7f020002;
  33 + public static int actionsheet_middle_normal=0x7f020003;
  34 + public static int actionsheet_middle_pressed=0x7f020004;
  35 + public static int actionsheet_middle_selector=0x7f020005;
  36 + public static int actionsheet_single_normal=0x7f020006;
  37 + public static int actionsheet_single_pressed=0x7f020007;
  38 + public static int actionsheet_single_selector=0x7f020008;
  39 + public static int actionsheet_top_normal=0x7f020009;
  40 + public static int actionsheet_top_pressed=0x7f02000a;
  41 + public static int actionsheet_top_selector=0x7f02000b;
  42 + public static int alert_bg=0x7f02000c;
  43 + public static int alert_btn_left_pressed=0x7f02000d;
  44 + public static int alert_btn_right_pressed=0x7f02000e;
  45 + public static int alert_btn_single_pressed=0x7f02000f;
  46 + public static int alertdialog_left_selector=0x7f020010;
  47 + public static int alertdialog_right_selector=0x7f020011;
  48 + public static int alertdialog_single_selector=0x7f020012;
  49 + public static int app_icon1=0x7f020013;
  50 + public static int trans_bg=0x7f020014;
  51 + }
  52 + public static final class id {
  53 + public static int btn1=0x7f090000;
  54 + public static int btn2=0x7f090001;
  55 + public static int btn3=0x7f090002;
  56 + public static int btn4=0x7f090003;
  57 + public static int btn5=0x7f090004;
  58 + public static int btn_neg=0x7f09000b;
  59 + public static int btn_pos=0x7f09000d;
  60 + public static int img_line=0x7f09000c;
  61 + public static int lLayout_bg=0x7f090009;
  62 + public static int lLayout_content=0x7f090007;
  63 + public static int sLayout_content=0x7f090006;
  64 + public static int txt_cancel=0x7f090008;
  65 + public static int txt_msg=0x7f09000a;
  66 + public static int txt_title=0x7f090005;
  67 + }
  68 + public static final class layout {
  69 + public static int activity_main=0x7f030000;
  70 + public static int view_actionsheet=0x7f030001;
  71 + public static int view_alertdialog=0x7f030002;
  72 + }
  73 + public static final class string {
  74 + public static int app_name=0x7f080000;
  75 + }
  76 + public static final class style {
  77 + public static int ActionSheetDialogAnimation=0x7f050001;
  78 + public static int ActionSheetDialogStyle=0x7f050002;
  79 + public static int AlertDialogStyle=0x7f050003;
  80 + /** API 11 theme customizations can go here.
  81 + API 14 theme customizations can go here.
  82 + */
  83 + public static int AppBaseTheme=0x7f050000;
  84 + public static int AppTheme=0x7f050004;
  85 + }
  86 +}
  1 +[
  2 + {
  3 + "outputFile": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values-v11\\values-v11.xml",
  4 + "map": [
  5 + {
  6 + "to": {
  7 + "startLine": 2,
  8 + "startColumn": 4,
  9 + "startOffset": 55,
  10 + "endLine": 4,
  11 + "endColumn": 12,
  12 + "endOffset": 199
  13 + },
  14 + "from": {
  15 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values-v11\\styles.xml",
  16 + "position": {
  17 + "startLine": 6,
  18 + "startColumn": 4,
  19 + "startOffset": 182,
  20 + "endLine": 8,
  21 + "endColumn": 12,
  22 + "endOffset": 328
  23 + }
  24 + }
  25 + }
  26 + ]
  27 + }
  28 +]
  1 +[
  2 + {
  3 + "outputFile": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values-v14\\values-v14.xml",
  4 + "map": [
  5 + {
  6 + "to": {
  7 + "startLine": 2,
  8 + "startColumn": 4,
  9 + "startOffset": 55,
  10 + "endLine": 4,
  11 + "endColumn": 12,
  12 + "endOffset": 200
  13 + },
  14 + "from": {
  15 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values-v14\\styles.xml",
  16 + "position": {
  17 + "startLine": 7,
  18 + "startColumn": 4,
  19 + "startOffset": 225,
  20 + "endLine": 9,
  21 + "endColumn": 12,
  22 + "endOffset": 372
  23 + }
  24 + }
  25 + }
  26 + ]
  27 + }
  28 +]
  1 +[
  2 + {
  3 + "outputFile": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml",
  4 + "map": [
  5 + {
  6 + "to": {
  7 + "startLine": 2,
  8 + "startColumn": 4,
  9 + "startOffset": 55,
  10 + "endColumn": 50,
  11 + "endOffset": 101
  12 + },
  13 + "from": {
  14 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  15 + "position": {
  16 + "startLine": 6,
  17 + "startColumn": 4,
  18 + "startOffset": 195,
  19 + "endColumn": 50,
  20 + "endOffset": 241
  21 + }
  22 + }
  23 + },
  24 + {
  25 + "to": {
  26 + "startLine": 3,
  27 + "startColumn": 4,
  28 + "startOffset": 106,
  29 + "endColumn": 50,
  30 + "endOffset": 152
  31 + },
  32 + "from": {
  33 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  34 + "position": {
  35 + "startLine": 8,
  36 + "startColumn": 4,
  37 + "startOffset": 298,
  38 + "endColumn": 50,
  39 + "endOffset": 344
  40 + }
  41 + }
  42 + },
  43 + {
  44 + "to": {
  45 + "startLine": 4,
  46 + "startColumn": 4,
  47 + "startOffset": 157,
  48 + "endColumn": 49,
  49 + "endOffset": 202
  50 + },
  51 + "from": {
  52 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  53 + "position": {
  54 + "startLine": 7,
  55 + "startColumn": 4,
  56 + "startOffset": 247,
  57 + "endColumn": 49,
  58 + "endOffset": 292
  59 + }
  60 + }
  61 + },
  62 + {
  63 + "to": {
  64 + "startLine": 5,
  65 + "startColumn": 4,
  66 + "startOffset": 207,
  67 + "endColumn": 50,
  68 + "endOffset": 253
  69 + },
  70 + "from": {
  71 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  72 + "position": {
  73 + "startLine": 5,
  74 + "startColumn": 4,
  75 + "startOffset": 143,
  76 + "endColumn": 50,
  77 + "endOffset": 189
  78 + }
  79 + }
  80 + },
  81 + {
  82 + "to": {
  83 + "startLine": 6,
  84 + "startColumn": 4,
  85 + "startOffset": 258,
  86 + "endColumn": 39,
  87 + "endOffset": 293
  88 + },
  89 + "from": {
  90 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  91 + "position": {
  92 + "startLine": 4,
  93 + "startColumn": 4,
  94 + "startOffset": 102,
  95 + "endColumn": 39,
  96 + "endOffset": 137
  97 + }
  98 + }
  99 + },
  100 + {
  101 + "to": {
  102 + "startLine": 7,
  103 + "startColumn": 4,
  104 + "startOffset": 298,
  105 + "endColumn": 41,
  106 + "endOffset": 335
  107 + },
  108 + "from": {
  109 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  110 + "position": {
  111 + "startLine": 3,
  112 + "startColumn": 4,
  113 + "startOffset": 59,
  114 + "endColumn": 41,
  115 + "endOffset": 96
  116 + }
  117 + }
  118 + },
  119 + {
  120 + "to": {
  121 + "startLine": 8,
  122 + "startColumn": 4,
  123 + "startOffset": 340,
  124 + "endColumn": 57,
  125 + "endOffset": 393
  126 + },
  127 + "from": {
  128 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\dimens.xml",
  129 + "position": {
  130 + "startLine": 3,
  131 + "startColumn": 4,
  132 + "startOffset": 92,
  133 + "endColumn": 57,
  134 + "endOffset": 145
  135 + }
  136 + }
  137 + },
  138 + {
  139 + "to": {
  140 + "startLine": 9,
  141 + "startColumn": 4,
  142 + "startOffset": 398,
  143 + "endColumn": 55,
  144 + "endOffset": 449
  145 + },
  146 + "from": {
  147 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\dimens.xml",
  148 + "position": {
  149 + "startLine": 4,
  150 + "startColumn": 4,
  151 + "startOffset": 151,
  152 + "endColumn": 55,
  153 + "endOffset": 202
  154 + }
  155 + }
  156 + },
  157 + {
  158 + "to": {
  159 + "startLine": 10,
  160 + "startColumn": 4,
  161 + "startOffset": 454,
  162 + "endColumn": 46,
  163 + "endOffset": 496
  164 + },
  165 + "from": {
  166 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\strings.xml",
  167 + "position": {
  168 + "startLine": 3,
  169 + "startColumn": 4,
  170 + "startOffset": 58,
  171 + "endColumn": 46,
  172 + "endOffset": 100
  173 + }
  174 + }
  175 + },
  176 + {
  177 + "to": {
  178 + "startLine": 11,
  179 + "startColumn": 4,
  180 + "startOffset": 501,
  181 + "endLine": 14,
  182 + "endColumn": 12,
  183 + "endOffset": 766
  184 + },
  185 + "from": {
  186 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  187 + "position": {
  188 + "startLine": 38,
  189 + "startColumn": 4,
  190 + "startOffset": 1627,
  191 + "endLine": 41,
  192 + "endColumn": 12,
  193 + "endOffset": 1895
  194 + }
  195 + }
  196 + },
  197 + {
  198 + "to": {
  199 + "startLine": 15,
  200 + "startColumn": 4,
  201 + "startOffset": 771,
  202 + "endLine": 32,
  203 + "endColumn": 12,
  204 + "endOffset": 1561
  205 + },
  206 + "from": {
  207 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  208 + "position": {
  209 + "startLine": 18,
  210 + "startColumn": 4,
  211 + "startOffset": 782,
  212 + "endLine": 35,
  213 + "endColumn": 12,
  214 + "endOffset": 1589
  215 + }
  216 + }
  217 + },
  218 + {
  219 + "to": {
  220 + "startLine": 33,
  221 + "startColumn": 4,
  222 + "startOffset": 1566,
  223 + "endLine": 41,
  224 + "endColumn": 12,
  225 + "endOffset": 2080
  226 + },
  227 + "from": {
  228 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  229 + "position": {
  230 + "startLine": 7,
  231 + "startColumn": 4,
  232 + "startOffset": 200,
  233 + "endLine": 15,
  234 + "endColumn": 12,
  235 + "endOffset": 722
  236 + }
  237 + }
  238 + },
  239 + {
  240 + "to": {
  241 + "startLine": 42,
  242 + "startColumn": 4,
  243 + "startOffset": 2085,
  244 + "endColumn": 72,
  245 + "endOffset": 2153
  246 + },
  247 + "from": {
  248 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  249 + "position": {
  250 + "startLine": 2,
  251 + "startColumn": 4,
  252 + "startOffset": 19,
  253 + "endColumn": 79,
  254 + "endOffset": 94
  255 + }
  256 + }
  257 + },
  258 + {
  259 + "to": {
  260 + "startLine": 43,
  261 + "startColumn": 4,
  262 + "startOffset": 2158,
  263 + "endColumn": 50,
  264 + "endOffset": 2204
  265 + },
  266 + "from": {
  267 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  268 + "position": {
  269 + "startLine": 4,
  270 + "startColumn": 4,
  271 + "startOffset": 102,
  272 + "endColumn": 57,
  273 + "endOffset": 155
  274 + }
  275 + }
  276 + }
  277 + ]
  278 + }
  279 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\anim\\actionsheet_dialog_in.xml",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_in.xml"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\anim\\actionsheet_dialog_out.xml",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_out.xml"
  9 + }
  10 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_middle_normal.9.png",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_middle_normal.9.png"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_bottom_normal.9.png",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_bottom_normal.9.png"
  9 + },
  10 + {
  11 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_top_pressed.9.png",
  12 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_top_pressed.9.png"
  13 + },
  14 + {
  15 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\alert_bg.9.png",
  16 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_bg.9.png"
  17 + },
  18 + {
  19 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\app_icon1.png",
  20 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\app_icon1.png"
  21 + },
  22 + {
  23 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_single_normal.9.png",
  24 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_normal.9.png"
  25 + },
  26 + {
  27 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_top_normal.9.png",
  28 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_top_normal.9.png"
  29 + },
  30 + {
  31 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_single_pressed.9.png",
  32 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_pressed.9.png"
  33 + },
  34 + {
  35 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\alert_btn_left_pressed.9.png",
  36 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_left_pressed.9.png"
  37 + },
  38 + {
  39 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\alert_btn_single_pressed.9.png",
  40 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_single_pressed.9.png"
  41 + },
  42 + {
  43 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_middle_pressed.9.png",
  44 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_middle_pressed.9.png"
  45 + },
  46 + {
  47 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\trans_bg.png",
  48 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\trans_bg.png"
  49 + },
  50 + {
  51 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\alert_btn_right_pressed.9.png",
  52 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_right_pressed.9.png"
  53 + },
  54 + {
  55 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\actionsheet_bottom_pressed.9.png",
  56 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_bottom_pressed.9.png"
  57 + }
  58 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\alertdialog_single_selector.xml",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_single_selector.xml"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\actionsheet_single_selector.xml",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_single_selector.xml"
  9 + },
  10 + {
  11 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\actionsheet_top_selector.xml",
  12 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_top_selector.xml"
  13 + },
  14 + {
  15 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\actionsheet_middle_selector.xml",
  16 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_middle_selector.xml"
  17 + },
  18 + {
  19 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\actionsheet_bottom_selector.xml",
  20 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_bottom_selector.xml"
  21 + },
  22 + {
  23 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\alertdialog_right_selector.xml",
  24 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_right_selector.xml"
  25 + },
  26 + {
  27 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\drawable\\alertdialog_left_selector.xml",
  28 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_left_selector.xml"
  29 + }
  30 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\layout\\view_actionsheet.xml",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\layout\\view_actionsheet.xml"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\layout\\activity_main.xml",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\layout\\activity_main.xml"
  9 + },
  10 + {
  11 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\debug\\layout\\view_alertdialog.xml",
  12 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\layout\\view_alertdialog.xml"
  13 + }
  14 +]
  1 +[
  2 + {
  3 + "outputFile": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\incremental\\mergeReleaseResources\\merged.dir\\values-v11\\values-v11.xml",
  4 + "map": [
  5 + {
  6 + "to": {
  7 + "startLine": 2,
  8 + "startColumn": 4,
  9 + "startOffset": 55,
  10 + "endLine": 4,
  11 + "endColumn": 12,
  12 + "endOffset": 199
  13 + },
  14 + "from": {
  15 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values-v11\\styles.xml",
  16 + "position": {
  17 + "startLine": 6,
  18 + "startColumn": 4,
  19 + "startOffset": 182,
  20 + "endLine": 8,
  21 + "endColumn": 12,
  22 + "endOffset": 328
  23 + }
  24 + }
  25 + }
  26 + ]
  27 + }
  28 +]
  1 +[
  2 + {
  3 + "outputFile": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\incremental\\mergeReleaseResources\\merged.dir\\values-v14\\values-v14.xml",
  4 + "map": [
  5 + {
  6 + "to": {
  7 + "startLine": 2,
  8 + "startColumn": 4,
  9 + "startOffset": 55,
  10 + "endLine": 4,
  11 + "endColumn": 12,
  12 + "endOffset": 200
  13 + },
  14 + "from": {
  15 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values-v14\\styles.xml",
  16 + "position": {
  17 + "startLine": 7,
  18 + "startColumn": 4,
  19 + "startOffset": 225,
  20 + "endLine": 9,
  21 + "endColumn": 12,
  22 + "endOffset": 372
  23 + }
  24 + }
  25 + }
  26 + ]
  27 + }
  28 +]
  1 +[
  2 + {
  3 + "outputFile": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\incremental\\mergeReleaseResources\\merged.dir\\values\\values.xml",
  4 + "map": [
  5 + {
  6 + "to": {
  7 + "startLine": 2,
  8 + "startColumn": 4,
  9 + "startOffset": 55,
  10 + "endColumn": 50,
  11 + "endOffset": 101
  12 + },
  13 + "from": {
  14 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  15 + "position": {
  16 + "startLine": 6,
  17 + "startColumn": 4,
  18 + "startOffset": 195,
  19 + "endColumn": 50,
  20 + "endOffset": 241
  21 + }
  22 + }
  23 + },
  24 + {
  25 + "to": {
  26 + "startLine": 3,
  27 + "startColumn": 4,
  28 + "startOffset": 106,
  29 + "endColumn": 50,
  30 + "endOffset": 152
  31 + },
  32 + "from": {
  33 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  34 + "position": {
  35 + "startLine": 8,
  36 + "startColumn": 4,
  37 + "startOffset": 298,
  38 + "endColumn": 50,
  39 + "endOffset": 344
  40 + }
  41 + }
  42 + },
  43 + {
  44 + "to": {
  45 + "startLine": 4,
  46 + "startColumn": 4,
  47 + "startOffset": 157,
  48 + "endColumn": 49,
  49 + "endOffset": 202
  50 + },
  51 + "from": {
  52 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  53 + "position": {
  54 + "startLine": 7,
  55 + "startColumn": 4,
  56 + "startOffset": 247,
  57 + "endColumn": 49,
  58 + "endOffset": 292
  59 + }
  60 + }
  61 + },
  62 + {
  63 + "to": {
  64 + "startLine": 5,
  65 + "startColumn": 4,
  66 + "startOffset": 207,
  67 + "endColumn": 50,
  68 + "endOffset": 253
  69 + },
  70 + "from": {
  71 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  72 + "position": {
  73 + "startLine": 5,
  74 + "startColumn": 4,
  75 + "startOffset": 143,
  76 + "endColumn": 50,
  77 + "endOffset": 189
  78 + }
  79 + }
  80 + },
  81 + {
  82 + "to": {
  83 + "startLine": 6,
  84 + "startColumn": 4,
  85 + "startOffset": 258,
  86 + "endColumn": 39,
  87 + "endOffset": 293
  88 + },
  89 + "from": {
  90 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  91 + "position": {
  92 + "startLine": 4,
  93 + "startColumn": 4,
  94 + "startOffset": 102,
  95 + "endColumn": 39,
  96 + "endOffset": 137
  97 + }
  98 + }
  99 + },
  100 + {
  101 + "to": {
  102 + "startLine": 7,
  103 + "startColumn": 4,
  104 + "startOffset": 298,
  105 + "endColumn": 41,
  106 + "endOffset": 335
  107 + },
  108 + "from": {
  109 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\color.xml",
  110 + "position": {
  111 + "startLine": 3,
  112 + "startColumn": 4,
  113 + "startOffset": 59,
  114 + "endColumn": 41,
  115 + "endOffset": 96
  116 + }
  117 + }
  118 + },
  119 + {
  120 + "to": {
  121 + "startLine": 8,
  122 + "startColumn": 4,
  123 + "startOffset": 340,
  124 + "endColumn": 57,
  125 + "endOffset": 393
  126 + },
  127 + "from": {
  128 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\dimens.xml",
  129 + "position": {
  130 + "startLine": 3,
  131 + "startColumn": 4,
  132 + "startOffset": 92,
  133 + "endColumn": 57,
  134 + "endOffset": 145
  135 + }
  136 + }
  137 + },
  138 + {
  139 + "to": {
  140 + "startLine": 9,
  141 + "startColumn": 4,
  142 + "startOffset": 398,
  143 + "endColumn": 55,
  144 + "endOffset": 449
  145 + },
  146 + "from": {
  147 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\dimens.xml",
  148 + "position": {
  149 + "startLine": 4,
  150 + "startColumn": 4,
  151 + "startOffset": 151,
  152 + "endColumn": 55,
  153 + "endOffset": 202
  154 + }
  155 + }
  156 + },
  157 + {
  158 + "to": {
  159 + "startLine": 10,
  160 + "startColumn": 4,
  161 + "startOffset": 454,
  162 + "endColumn": 46,
  163 + "endOffset": 496
  164 + },
  165 + "from": {
  166 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\strings.xml",
  167 + "position": {
  168 + "startLine": 3,
  169 + "startColumn": 4,
  170 + "startOffset": 58,
  171 + "endColumn": 46,
  172 + "endOffset": 100
  173 + }
  174 + }
  175 + },
  176 + {
  177 + "to": {
  178 + "startLine": 11,
  179 + "startColumn": 4,
  180 + "startOffset": 501,
  181 + "endLine": 14,
  182 + "endColumn": 12,
  183 + "endOffset": 766
  184 + },
  185 + "from": {
  186 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  187 + "position": {
  188 + "startLine": 38,
  189 + "startColumn": 4,
  190 + "startOffset": 1627,
  191 + "endLine": 41,
  192 + "endColumn": 12,
  193 + "endOffset": 1895
  194 + }
  195 + }
  196 + },
  197 + {
  198 + "to": {
  199 + "startLine": 15,
  200 + "startColumn": 4,
  201 + "startOffset": 771,
  202 + "endLine": 32,
  203 + "endColumn": 12,
  204 + "endOffset": 1561
  205 + },
  206 + "from": {
  207 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  208 + "position": {
  209 + "startLine": 18,
  210 + "startColumn": 4,
  211 + "startOffset": 782,
  212 + "endLine": 35,
  213 + "endColumn": 12,
  214 + "endOffset": 1589
  215 + }
  216 + }
  217 + },
  218 + {
  219 + "to": {
  220 + "startLine": 33,
  221 + "startColumn": 4,
  222 + "startOffset": 1566,
  223 + "endLine": 41,
  224 + "endColumn": 12,
  225 + "endOffset": 2080
  226 + },
  227 + "from": {
  228 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  229 + "position": {
  230 + "startLine": 7,
  231 + "startColumn": 4,
  232 + "startOffset": 200,
  233 + "endLine": 15,
  234 + "endColumn": 12,
  235 + "endOffset": 722
  236 + }
  237 + }
  238 + },
  239 + {
  240 + "to": {
  241 + "startLine": 42,
  242 + "startColumn": 4,
  243 + "startOffset": 2085,
  244 + "endColumn": 72,
  245 + "endOffset": 2153
  246 + },
  247 + "from": {
  248 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  249 + "position": {
  250 + "startLine": 2,
  251 + "startColumn": 4,
  252 + "startOffset": 19,
  253 + "endColumn": 79,
  254 + "endOffset": 94
  255 + }
  256 + }
  257 + },
  258 + {
  259 + "to": {
  260 + "startLine": 43,
  261 + "startColumn": 4,
  262 + "startOffset": 2158,
  263 + "endColumn": 50,
  264 + "endOffset": 2204
  265 + },
  266 + "from": {
  267 + "file": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\values\\styles.xml",
  268 + "position": {
  269 + "startLine": 4,
  270 + "startColumn": 4,
  271 + "startOffset": 102,
  272 + "endColumn": 57,
  273 + "endOffset": 155
  274 + }
  275 + }
  276 + }
  277 + ]
  278 + }
  279 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\anim\\actionsheet_dialog_in.xml",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_in.xml"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\anim\\actionsheet_dialog_out.xml",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\anim\\actionsheet_dialog_out.xml"
  9 + }
  10 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\alert_btn_single_pressed.9.png",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_single_pressed.9.png"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_middle_pressed.9.png",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_middle_pressed.9.png"
  9 + },
  10 + {
  11 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\alert_bg.9.png",
  12 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_bg.9.png"
  13 + },
  14 + {
  15 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\trans_bg.png",
  16 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\trans_bg.png"
  17 + },
  18 + {
  19 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\app_icon1.png",
  20 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\app_icon1.png"
  21 + },
  22 + {
  23 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\alert_btn_right_pressed.9.png",
  24 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_right_pressed.9.png"
  25 + },
  26 + {
  27 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_bottom_pressed.9.png",
  28 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_bottom_pressed.9.png"
  29 + },
  30 + {
  31 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_bottom_normal.9.png",
  32 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_bottom_normal.9.png"
  33 + },
  34 + {
  35 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_single_normal.9.png",
  36 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_normal.9.png"
  37 + },
  38 + {
  39 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\alert_btn_left_pressed.9.png",
  40 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\alert_btn_left_pressed.9.png"
  41 + },
  42 + {
  43 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_top_normal.9.png",
  44 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_top_normal.9.png"
  45 + },
  46 + {
  47 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_single_pressed.9.png",
  48 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_single_pressed.9.png"
  49 + },
  50 + {
  51 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_top_pressed.9.png",
  52 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_top_pressed.9.png"
  53 + },
  54 + {
  55 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable-hdpi-v4\\actionsheet_middle_normal.9.png",
  56 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable-hdpi\\actionsheet_middle_normal.9.png"
  57 + }
  58 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\alertdialog_right_selector.xml",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_right_selector.xml"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\actionsheet_bottom_selector.xml",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_bottom_selector.xml"
  9 + },
  10 + {
  11 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\actionsheet_single_selector.xml",
  12 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_single_selector.xml"
  13 + },
  14 + {
  15 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\alertdialog_left_selector.xml",
  16 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_left_selector.xml"
  17 + },
  18 + {
  19 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\actionsheet_top_selector.xml",
  20 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_top_selector.xml"
  21 + },
  22 + {
  23 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\alertdialog_single_selector.xml",
  24 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\alertdialog_single_selector.xml"
  25 + },
  26 + {
  27 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\drawable\\actionsheet_middle_selector.xml",
  28 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\drawable\\actionsheet_middle_selector.xml"
  29 + }
  30 +]
  1 +[
  2 + {
  3 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\layout\\view_actionsheet.xml",
  4 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\layout\\view_actionsheet.xml"
  5 + },
  6 + {
  7 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\layout\\activity_main.xml",
  8 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\layout\\activity_main.xml"
  9 + },
  10 + {
  11 + "merged": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\build\\intermediates\\res\\merged\\release\\layout\\view_alertdialog.xml",
  12 + "source": "D:\\Android_Sdk\\MyApplication\\iOS_Dialog_Library\\src\\main\\res\\layout\\view_alertdialog.xml"
  13 + }
  14 +]
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3 + package="zhangphil.iosdialog"
  4 + android:versionCode="1"
  5 + android:versionName="1.0" >
  6 +
  7 + <uses-sdk
  8 + android:minSdkVersion="15"
  9 + android:targetSdkVersion="22" />
  10 +
  11 + <!--
  12 + <application
  13 + android:allowBackup="true"
  14 + android:icon="@drawable/app_icon"
  15 + android:label="@string/app_name"
  16 + android:theme="@style/AppTheme" >
  17 + <activity
  18 + android:name="zhangphil.iosdialog.MainActivity"
  19 + android:label="@string/app_name" >
  20 + <intent-filter>
  21 + <action android:name="android.intent.action.MAIN" />
  22 +
  23 + <category android:name="android.intent.category.LAUNCHER" />
  24 + </intent-filter>
  25 + </activity>
  26 + </application>
  27 + -->
  28 +
  29 +</manifest>
  1 +int anim actionsheet_dialog_in 0x7f040000
  2 +int anim actionsheet_dialog_out 0x7f040001
  3 +int color actionsheet_blue 0x7f060000
  4 +int color actionsheet_gray 0x7f060001
  5 +int color actionsheet_red 0x7f060002
  6 +int color alertdialog_line 0x7f060003
  7 +int color black 0x7f060004
  8 +int color trans 0x7f060005
  9 +int dimen activity_horizontal_margin 0x7f070000
  10 +int dimen activity_vertical_margin 0x7f070001
  11 +int drawable actionsheet_bottom_normal 0x7f020000
  12 +int drawable actionsheet_bottom_pressed 0x7f020001
  13 +int drawable actionsheet_bottom_selector 0x7f020002
  14 +int drawable actionsheet_middle_normal 0x7f020003
  15 +int drawable actionsheet_middle_pressed 0x7f020004
  16 +int drawable actionsheet_middle_selector 0x7f020005
  17 +int drawable actionsheet_single_normal 0x7f020006
  18 +int drawable actionsheet_single_pressed 0x7f020007
  19 +int drawable actionsheet_single_selector 0x7f020008
  20 +int drawable actionsheet_top_normal 0x7f020009
  21 +int drawable actionsheet_top_pressed 0x7f02000a
  22 +int drawable actionsheet_top_selector 0x7f02000b
  23 +int drawable alert_bg 0x7f02000c
  24 +int drawable alert_btn_left_pressed 0x7f02000d
  25 +int drawable alert_btn_right_pressed 0x7f02000e
  26 +int drawable alert_btn_single_pressed 0x7f02000f
  27 +int drawable alertdialog_left_selector 0x7f020010
  28 +int drawable alertdialog_right_selector 0x7f020011
  29 +int drawable alertdialog_single_selector 0x7f020012
  30 +int drawable app_icon1 0x7f020013
  31 +int drawable trans_bg 0x7f020014
  32 +int id btn1 0x7f090000
  33 +int id btn2 0x7f090001
  34 +int id btn3 0x7f090002
  35 +int id btn4 0x7f090003
  36 +int id btn5 0x7f090004
  37 +int id btn_neg 0x7f09000b
  38 +int id btn_pos 0x7f09000d
  39 +int id img_line 0x7f09000c
  40 +int id lLayout_bg 0x7f090009
  41 +int id lLayout_content 0x7f090007
  42 +int id sLayout_content 0x7f090006
  43 +int id txt_cancel 0x7f090008
  44 +int id txt_msg 0x7f09000a
  45 +int id txt_title 0x7f090005
  46 +int layout activity_main 0x7f030000
  47 +int layout view_actionsheet 0x7f030001
  48 +int layout view_alertdialog 0x7f030002
  49 +int string app_name 0x7f080000
  50 +int style ActionSheetDialogAnimation 0x7f050001
  51 +int style ActionSheetDialogStyle 0x7f050002
  52 +int style AlertDialogStyle 0x7f050003
  53 +int style AppBaseTheme 0x7f050000
  54 +int style AppTheme 0x7f050004
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<translate xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:duration="200"
  4 + android:fromYDelta="100%"
  5 + android:toYDelta="0" />
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<translate xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:duration="200"
  4 + android:fromYDelta="0"
  5 + android:toYDelta="100%" />
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_bottom_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_bottom_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_middle_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_middle_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_single_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_single_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_top_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_top_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/alert_btn_left_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/trans_bg"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/alert_btn_right_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/trans_bg"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/alert_btn_single_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/trans_bg"/>
  6 +
  7 +</selector>
  1 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2 + xmlns:tools="http://schemas.android.com/tools"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:orientation="vertical" >
  6 +
  7 + <Button
  8 + android:id="@+id/btn1"
  9 + android:layout_width="match_parent"
  10 + android:layout_height="wrap_content"
  11 + android:text="消息" />
  12 +
  13 + <Button
  14 + android:id="@+id/btn2"
  15 + android:layout_width="match_parent"
  16 + android:layout_height="wrap_content"
  17 + android:text="图片" />
  18 +
  19 + <Button
  20 + android:id="@+id/btn3"
  21 + android:layout_width="match_parent"
  22 + android:layout_height="wrap_content"
  23 + android:text="列表" />
  24 +
  25 + <Button
  26 + android:id="@+id/btn4"
  27 + android:layout_width="match_parent"
  28 + android:layout_height="wrap_content"
  29 + android:text="按钮一" />
  30 +
  31 + <Button
  32 + android:id="@+id/btn5"
  33 + android:layout_width="match_parent"
  34 + android:layout_height="wrap_content"
  35 + android:text="按钮二" />
  36 +
  37 +</LinearLayout>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="wrap_content"
  5 + android:orientation="vertical"
  6 + android:padding="8dp" >
  7 +
  8 + <TextView
  9 + android:id="@+id/txt_title"
  10 + android:layout_width="match_parent"
  11 + android:layout_height="wrap_content"
  12 + android:background="@drawable/actionsheet_top_normal"
  13 + android:gravity="center"
  14 + android:minHeight="45dp"
  15 + android:paddingTop="10dp"
  16 + android:paddingBottom="10dp"
  17 + android:paddingLeft="15dp"
  18 + android:paddingRight="15dp"
  19 + android:textColor="@color/actionsheet_gray"
  20 + android:textSize="13sp"
  21 + android:visibility="gone" />
  22 +
  23 + <ScrollView
  24 + android:id="@+id/sLayout_content"
  25 + android:layout_width="match_parent"
  26 + android:layout_height="wrap_content"
  27 + android:fadingEdge="none"
  28 + >
  29 +
  30 + <LinearLayout
  31 + android:id="@+id/lLayout_content"
  32 + android:layout_width="match_parent"
  33 + android:layout_height="wrap_content"
  34 + android:orientation="vertical" >
  35 + </LinearLayout>
  36 + </ScrollView>
  37 +
  38 + <TextView
  39 + android:id="@+id/txt_cancel"
  40 + android:layout_width="match_parent"
  41 + android:layout_height="45dp"
  42 + android:layout_marginTop="8dp"
  43 + android:background="@drawable/actionsheet_single_selector"
  44 + android:gravity="center"
  45 + android:text="取消"
  46 + android:textColor="@color/actionsheet_blue"
  47 + android:textSize="18sp"
  48 + android:textStyle="bold" />
  49 +
  50 +</LinearLayout>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:id="@+id/lLayout_bg"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="wrap_content"
  6 + android:background="@drawable/alert_bg"
  7 + android:orientation="vertical" >
  8 +
  9 + <TextView
  10 + android:id="@+id/txt_title"
  11 + android:layout_width="match_parent"
  12 + android:layout_height="wrap_content"
  13 + android:layout_marginLeft="15dp"
  14 + android:layout_marginRight="15dp"
  15 + android:layout_marginTop="15dp"
  16 + android:gravity="center"
  17 + android:textColor="@color/black"
  18 + android:textSize="18sp"
  19 + android:textStyle="bold" />
  20 +
  21 + <TextView
  22 + android:id="@+id/txt_msg"
  23 + android:layout_width="match_parent"
  24 + android:layout_height="wrap_content"
  25 + android:layout_marginLeft="15dp"
  26 + android:layout_marginRight="15dp"
  27 + android:layout_marginTop="15dp"
  28 + android:gravity="center"
  29 + android:textColor="@color/black"
  30 + android:textSize="16sp" />
  31 +
  32 + <ImageView
  33 + android:layout_width="match_parent"
  34 + android:layout_height="0.5dp"
  35 + android:layout_marginTop="10dp"
  36 + android:background="@color/alertdialog_line" />
  37 +
  38 + <LinearLayout
  39 + android:layout_width="match_parent"
  40 + android:layout_height="wrap_content"
  41 + android:orientation="horizontal" >
  42 +
  43 + <Button
  44 + android:id="@+id/btn_neg"
  45 + android:layout_width="wrap_content"
  46 + android:layout_height="43dp"
  47 + android:layout_weight="1"
  48 + android:background="@drawable/alertdialog_left_selector"
  49 + android:gravity="center"
  50 + android:textColor="@color/actionsheet_blue"
  51 + android:textSize="16sp" />
  52 +
  53 + <ImageView
  54 + android:id="@+id/img_line"
  55 + android:layout_width="0.5dp"
  56 + android:layout_height="43dp"
  57 + android:background="@color/alertdialog_line" />
  58 +
  59 + <Button
  60 + android:id="@+id/btn_pos"
  61 + android:layout_width="wrap_content"
  62 + android:layout_height="43dp"
  63 + android:layout_weight="1"
  64 + android:background="@drawable/alertdialog_right_selector"
  65 + android:gravity="center"
  66 + android:textColor="@color/actionsheet_blue"
  67 + android:textSize="16sp"
  68 + android:textStyle="bold" />
  69 + </LinearLayout>
  70 +
  71 +</LinearLayout>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
  4 + <!-- API 11 theme customizations can go here. -->
  5 + </style>
  6 +</resources>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
  4 + <!-- API 14 theme customizations can go here. -->
  5 + </style>
  6 +</resources>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <color name="actionsheet_blue">#037BFF</color>
  4 + <color name="actionsheet_gray">#8F8F8F</color>
  5 + <color name="actionsheet_red">#FD4A2E</color>
  6 + <color name="alertdialog_line">#c6c6c6</color>
  7 + <color name="black">#000000</color>
  8 + <color name="trans">#00000000</color>
  9 + <dimen name="activity_horizontal_margin">16dp</dimen>
  10 + <dimen name="activity_vertical_margin">16dp</dimen>
  11 + <string name="app_name">IOSDialog</string>
  12 + <style name="ActionSheetDialogAnimation" parent="@android:style/Animation.Dialog">
  13 + <item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
  14 + <item name="android:windowExitAnimation">@anim/actionsheet_dialog_out</item>
  15 + </style>
  16 + <style name="ActionSheetDialogStyle" parent="@android:style/Theme.Dialog">
  17 +
  18 + <!-- 背景透明 -->
  19 + <item name="android:windowBackground">@android:color/transparent</item>
  20 + <item name="android:windowContentOverlay">@null</item>
  21 + <!-- 浮于Activity之上 -->
  22 + <item name="android:windowIsFloating">true</item>
  23 + <!-- 边框 -->
  24 + <item name="android:windowFrame">@null</item>
  25 + <!-- Dialog以外的区域模糊效果 -->
  26 + <item name="android:backgroundDimEnabled">true</item>
  27 + <!-- 无标题 -->
  28 + <item name="android:windowNoTitle">true</item>
  29 + <!-- 半透明 -->
  30 + <item name="android:windowIsTranslucent">true</item>
  31 + <!-- Dialog进入及退出动画 -->
  32 + <item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
  33 + </style>
  34 + <style name="AlertDialogStyle" parent="@android:style/Theme.Dialog">
  35 + <item name="android:windowBackground">@android:color/transparent</item>
  36 + <item name="android:windowContentOverlay">@null</item>
  37 + <item name="android:windowIsFloating">true</item>
  38 + <item name="android:windowFrame">@null</item>
  39 + <item name="android:backgroundDimEnabled">true</item>
  40 + <item name="android:windowNoTitle">true</item>
  41 + <item name="android:windowIsTranslucent">true</item>
  42 + </style>
  43 + <style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar"/>
  44 + <style name="AppTheme" parent="AppBaseTheme"/>
  45 +</resources>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3 + package="zhangphil.iosdialog"
  4 + android:versionCode="1"
  5 + android:versionName="1.0" >
  6 +
  7 + <uses-sdk
  8 + android:minSdkVersion="15"
  9 + android:targetSdkVersion="22" />
  10 +
  11 + <!--
  12 + <application
  13 + android:allowBackup="true"
  14 + android:icon="@drawable/app_icon"
  15 + android:label="@string/app_name"
  16 + android:theme="@style/AppTheme" >
  17 + <activity
  18 + android:name="zhangphil.iosdialog.MainActivity"
  19 + android:label="@string/app_name" >
  20 + <intent-filter>
  21 + <action android:name="android.intent.action.MAIN" />
  22 +
  23 + <category android:name="android.intent.category.LAUNCHER" />
  24 + </intent-filter>
  25 + </activity>
  26 + </application>
  27 + -->
  28 +
  29 +</manifest>
  1 +int anim actionsheet_dialog_in 0x7f040000
  2 +int anim actionsheet_dialog_out 0x7f040001
  3 +int color actionsheet_blue 0x7f060000
  4 +int color actionsheet_gray 0x7f060001
  5 +int color actionsheet_red 0x7f060002
  6 +int color alertdialog_line 0x7f060003
  7 +int color black 0x7f060004
  8 +int color trans 0x7f060005
  9 +int dimen activity_horizontal_margin 0x7f070000
  10 +int dimen activity_vertical_margin 0x7f070001
  11 +int drawable actionsheet_bottom_normal 0x7f020000
  12 +int drawable actionsheet_bottom_pressed 0x7f020001
  13 +int drawable actionsheet_bottom_selector 0x7f020002
  14 +int drawable actionsheet_middle_normal 0x7f020003
  15 +int drawable actionsheet_middle_pressed 0x7f020004
  16 +int drawable actionsheet_middle_selector 0x7f020005
  17 +int drawable actionsheet_single_normal 0x7f020006
  18 +int drawable actionsheet_single_pressed 0x7f020007
  19 +int drawable actionsheet_single_selector 0x7f020008
  20 +int drawable actionsheet_top_normal 0x7f020009
  21 +int drawable actionsheet_top_pressed 0x7f02000a
  22 +int drawable actionsheet_top_selector 0x7f02000b
  23 +int drawable alert_bg 0x7f02000c
  24 +int drawable alert_btn_left_pressed 0x7f02000d
  25 +int drawable alert_btn_right_pressed 0x7f02000e
  26 +int drawable alert_btn_single_pressed 0x7f02000f
  27 +int drawable alertdialog_left_selector 0x7f020010
  28 +int drawable alertdialog_right_selector 0x7f020011
  29 +int drawable alertdialog_single_selector 0x7f020012
  30 +int drawable app_icon1 0x7f020013
  31 +int drawable trans_bg 0x7f020014
  32 +int id btn1 0x7f090000
  33 +int id btn2 0x7f090001
  34 +int id btn3 0x7f090002
  35 +int id btn4 0x7f090003
  36 +int id btn5 0x7f090004
  37 +int id btn_neg 0x7f09000b
  38 +int id btn_pos 0x7f09000d
  39 +int id img_line 0x7f09000c
  40 +int id lLayout_bg 0x7f090009
  41 +int id lLayout_content 0x7f090007
  42 +int id sLayout_content 0x7f090006
  43 +int id txt_cancel 0x7f090008
  44 +int id txt_msg 0x7f09000a
  45 +int id txt_title 0x7f090005
  46 +int layout activity_main 0x7f030000
  47 +int layout view_actionsheet 0x7f030001
  48 +int layout view_alertdialog 0x7f030002
  49 +int string app_name 0x7f080000
  50 +int style ActionSheetDialogAnimation 0x7f050001
  51 +int style ActionSheetDialogStyle 0x7f050002
  52 +int style AlertDialogStyle 0x7f050003
  53 +int style AppBaseTheme 0x7f050000
  54 +int style AppTheme 0x7f050004
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<translate xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:duration="200"
  4 + android:fromYDelta="100%"
  5 + android:toYDelta="0" />
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<translate xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:duration="200"
  4 + android:fromYDelta="0"
  5 + android:toYDelta="100%" />
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_bottom_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_bottom_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_middle_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_middle_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_single_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_single_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/actionsheet_top_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/actionsheet_top_normal"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/alert_btn_left_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/trans_bg"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/alert_btn_right_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/trans_bg"/>
  6 +
  7 +</selector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@drawable/alert_btn_single_pressed" android:state_pressed="true"/>
  5 + <item android:drawable="@drawable/trans_bg"/>
  6 +
  7 +</selector>
  1 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2 + xmlns:tools="http://schemas.android.com/tools"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:orientation="vertical" >
  6 +
  7 + <Button
  8 + android:id="@+id/btn1"
  9 + android:layout_width="match_parent"
  10 + android:layout_height="wrap_content"
  11 + android:text="消息" />
  12 +
  13 + <Button
  14 + android:id="@+id/btn2"
  15 + android:layout_width="match_parent"
  16 + android:layout_height="wrap_content"
  17 + android:text="图片" />
  18 +
  19 + <Button
  20 + android:id="@+id/btn3"
  21 + android:layout_width="match_parent"
  22 + android:layout_height="wrap_content"
  23 + android:text="列表" />
  24 +
  25 + <Button
  26 + android:id="@+id/btn4"
  27 + android:layout_width="match_parent"
  28 + android:layout_height="wrap_content"
  29 + android:text="按钮一" />
  30 +
  31 + <Button
  32 + android:id="@+id/btn5"
  33 + android:layout_width="match_parent"
  34 + android:layout_height="wrap_content"
  35 + android:text="按钮二" />
  36 +
  37 +</LinearLayout>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="wrap_content"
  5 + android:orientation="vertical"
  6 + android:padding="8dp" >
  7 +
  8 + <TextView
  9 + android:id="@+id/txt_title"
  10 + android:layout_width="match_parent"
  11 + android:layout_height="wrap_content"
  12 + android:background="@drawable/actionsheet_top_normal"
  13 + android:gravity="center"
  14 + android:minHeight="45dp"
  15 + android:paddingTop="10dp"
  16 + android:paddingBottom="10dp"
  17 + android:paddingLeft="15dp"
  18 + android:paddingRight="15dp"
  19 + android:textColor="@color/actionsheet_gray"
  20 + android:textSize="13sp"
  21 + android:visibility="gone" />
  22 +
  23 + <ScrollView
  24 + android:id="@+id/sLayout_content"
  25 + android:layout_width="match_parent"
  26 + android:layout_height="wrap_content"
  27 + android:fadingEdge="none"
  28 + >
  29 +
  30 + <LinearLayout
  31 + android:id="@+id/lLayout_content"
  32 + android:layout_width="match_parent"
  33 + android:layout_height="wrap_content"
  34 + android:orientation="vertical" >
  35 + </LinearLayout>
  36 + </ScrollView>
  37 +
  38 + <TextView
  39 + android:id="@+id/txt_cancel"
  40 + android:layout_width="match_parent"
  41 + android:layout_height="45dp"
  42 + android:layout_marginTop="8dp"
  43 + android:background="@drawable/actionsheet_single_selector"
  44 + android:gravity="center"
  45 + android:text="取消"
  46 + android:textColor="@color/actionsheet_blue"
  47 + android:textSize="18sp"
  48 + android:textStyle="bold" />
  49 +
  50 +</LinearLayout>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:id="@+id/lLayout_bg"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="wrap_content"
  6 + android:background="@drawable/alert_bg"
  7 + android:orientation="vertical" >
  8 +
  9 + <TextView
  10 + android:id="@+id/txt_title"
  11 + android:layout_width="match_parent"
  12 + android:layout_height="wrap_content"
  13 + android:layout_marginLeft="15dp"
  14 + android:layout_marginRight="15dp"
  15 + android:layout_marginTop="15dp"
  16 + android:gravity="center"
  17 + android:textColor="@color/black"
  18 + android:textSize="18sp"
  19 + android:textStyle="bold" />
  20 +
  21 + <TextView
  22 + android:id="@+id/txt_msg"
  23 + android:layout_width="match_parent"
  24 + android:layout_height="wrap_content"
  25 + android:layout_marginLeft="15dp"
  26 + android:layout_marginRight="15dp"
  27 + android:layout_marginTop="15dp"
  28 + android:gravity="center"
  29 + android:textColor="@color/black"
  30 + android:textSize="16sp" />
  31 +
  32 + <ImageView
  33 + android:layout_width="match_parent"
  34 + android:layout_height="0.5dp"
  35 + android:layout_marginTop="10dp"
  36 + android:background="@color/alertdialog_line" />
  37 +
  38 + <LinearLayout
  39 + android:layout_width="match_parent"
  40 + android:layout_height="wrap_content"
  41 + android:orientation="horizontal" >
  42 +
  43 + <Button
  44 + android:id="@+id/btn_neg"
  45 + android:layout_width="wrap_content"
  46 + android:layout_height="43dp"
  47 + android:layout_weight="1"
  48 + android:background="@drawable/alertdialog_left_selector"
  49 + android:gravity="center"
  50 + android:textColor="@color/actionsheet_blue"
  51 + android:textSize="16sp" />
  52 +
  53 + <ImageView
  54 + android:id="@+id/img_line"
  55 + android:layout_width="0.5dp"
  56 + android:layout_height="43dp"
  57 + android:background="@color/alertdialog_line" />
  58 +
  59 + <Button
  60 + android:id="@+id/btn_pos"
  61 + android:layout_width="wrap_content"
  62 + android:layout_height="43dp"
  63 + android:layout_weight="1"
  64 + android:background="@drawable/alertdialog_right_selector"
  65 + android:gravity="center"
  66 + android:textColor="@color/actionsheet_blue"
  67 + android:textSize="16sp"
  68 + android:textStyle="bold" />
  69 + </LinearLayout>
  70 +
  71 +</LinearLayout>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
  4 + <!-- API 11 theme customizations can go here. -->
  5 + </style>
  6 +</resources>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
  4 + <!-- API 14 theme customizations can go here. -->
  5 + </style>
  6 +</resources>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <color name="actionsheet_blue">#037BFF</color>
  4 + <color name="actionsheet_gray">#8F8F8F</color>
  5 + <color name="actionsheet_red">#FD4A2E</color>
  6 + <color name="alertdialog_line">#c6c6c6</color>
  7 + <color name="black">#000000</color>
  8 + <color name="trans">#00000000</color>
  9 + <dimen name="activity_horizontal_margin">16dp</dimen>
  10 + <dimen name="activity_vertical_margin">16dp</dimen>
  11 + <string name="app_name">IOSDialog</string>
  12 + <style name="ActionSheetDialogAnimation" parent="@android:style/Animation.Dialog">
  13 + <item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
  14 + <item name="android:windowExitAnimation">@anim/actionsheet_dialog_out</item>
  15 + </style>
  16 + <style name="ActionSheetDialogStyle" parent="@android:style/Theme.Dialog">
  17 +
  18 + <!-- 背景透明 -->
  19 + <item name="android:windowBackground">@android:color/transparent</item>
  20 + <item name="android:windowContentOverlay">@null</item>
  21 + <!-- 浮于Activity之上 -->
  22 + <item name="android:windowIsFloating">true</item>
  23 + <!-- 边框 -->
  24 + <item name="android:windowFrame">@null</item>
  25 + <!-- Dialog以外的区域模糊效果 -->
  26 + <item name="android:backgroundDimEnabled">true</item>
  27 + <!-- 无标题 -->
  28 + <item name="android:windowNoTitle">true</item>
  29 + <!-- 半透明 -->
  30 + <item name="android:windowIsTranslucent">true</item>
  31 + <!-- Dialog进入及退出动画 -->
  32 + <item name="android:windowAnimationStyle">@style/ActionSheetDialogAnimation</item>
  33 + </style>
  34 + <style name="AlertDialogStyle" parent="@android:style/Theme.Dialog">
  35 + <item name="android:windowBackground">@android:color/transparent</item>
  36 + <item name="android:windowContentOverlay">@null</item>
  37 + <item name="android:windowIsFloating">true</item>
  38 + <item name="android:windowFrame">@null</item>
  39 + <item name="android:backgroundDimEnabled">true</item>
  40 + <item name="android:windowNoTitle">true</item>
  41 + <item name="android:windowIsTranslucent">true</item>
  42 + </style>
  43 + <style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar"/>
  44 + <style name="AppTheme" parent="AppBaseTheme"/>
  45 +</resources>