125125 android : id =" @+id/etCropWidth"
126126 android : layout_width =" wrap_content"
127127 android : layout_height =" wrap_content"
128- android : minWidth =" 42dp"
129128 android : layout_marginLeft =" 10dp"
130129 android : inputType =" number"
130+ android : minWidth =" 42dp"
131131 android : text =" 800" />
132132
133133 <TextView
137137
138138 <EditText
139139 android : id =" @+id/etCropHeight"
140- android : minWidth =" 42dp"
141140 android : layout_width =" wrap_content"
142141 android : layout_height =" wrap_content"
142+ android : minWidth =" 42dp"
143143 android : text =" 800" />
144144 </LinearLayout >
145145
246246 android : id =" @+id/etSize"
247247 android : layout_width =" wrap_content"
248248 android : layout_height =" wrap_content"
249- android : minWidth =" 42dp"
250249 android : inputType =" number"
250+ android : minWidth =" 42dp"
251251 android : text =" 102400" />
252252
253253 <TextView
265265 android : id =" @+id/etPx"
266266 android : layout_width =" wrap_content"
267267 android : layout_height =" wrap_content"
268- android : minWidth =" 42dp"
269268 android : inputType =" number"
269+ android : minWidth =" 42dp"
270270 android : text =" 800" />
271271
272272 <TextView
309309 <TextView
310310 android : layout_width =" wrap_content"
311311 android : layout_height =" wrap_content"
312- android : text =" 最多选取 :" />
312+ android : text =" 使用TakePhoto自带相册 :" />
313313
314- <EditText
315- android : id =" @+id/etLimit "
314+ <RadioGroup
315+ android : id =" @+id/rgPickTool "
316316 android : layout_width =" wrap_content"
317317 android : layout_height =" wrap_content"
318- android : minWidth =" 30dp"
319- android : inputType =" number"
320- android : text =" 5" />
318+ android : orientation =" horizontal" >
321319
322- <TextView
323- android : layout_width =" wrap_content"
324- android : layout_height =" wrap_content"
325- android : text =" 张" />
320+ <RadioButton
321+ android : id =" @+id/rbPickWithOwn"
322+ android : layout_width =" wrap_content"
323+ android : layout_height =" wrap_content"
324+ android : layout_gravity =" center_horizontal"
325+ android : checked =" true"
326+ android : text =" 是" />
327+
328+ <RadioButton
329+ android : id =" @+id/rbPickWithOther"
330+ android : layout_width =" wrap_content"
331+ android : layout_height =" wrap_content"
332+ android : text =" 否" />
333+ </RadioGroup >
326334 </LinearLayout >
327335
336+ <TextView
337+ android : layout_width =" match_parent"
338+ android : layout_height =" match_parent"
339+ android : text =" 提示:选择多张图片时会自动切换到TakePhoto自带相册"
340+ android : textColor =" #FF0000"
341+ android : textSize =" 12sp" />
342+
328343 <LinearLayout
329344 android : layout_width =" match_parent"
330345 android : layout_height =" wrap_content"
331- android : gravity =" center_vertical"
332- android : orientation =" horizontal" >
346+ android : orientation =" vertical" >
333347
334- <TextView
335- android : layout_width =" wrap_content "
348+ <LinearLayout
349+ android : layout_width =" match_parent "
336350 android : layout_height =" wrap_content"
337- android : text =" 从哪选择:" />
351+ android : gravity =" center_vertical"
352+ android : orientation =" horizontal" >
338353
339- <RadioGroup
340- android : id =" @+id/rgFrom"
341- android : layout_width =" wrap_content"
354+ <TextView
355+ android : layout_width =" wrap_content"
356+ android : layout_height =" wrap_content"
357+ android : text =" 最多选择:" />
358+
359+ <EditText
360+ android : id =" @+id/etLimit"
361+ android : layout_width =" wrap_content"
362+ android : layout_height =" wrap_content"
363+ android : inputType =" number"
364+ android : minWidth =" 30dp"
365+ android : text =" 5" />
366+
367+ <TextView
368+ android : layout_width =" wrap_content"
369+ android : layout_height =" wrap_content"
370+ android : text =" 张" />
371+ </LinearLayout >
372+
373+ <LinearLayout
374+ android : layout_width =" match_parent"
342375 android : layout_height =" wrap_content"
376+ android : gravity =" center_vertical"
343377 android : orientation =" horizontal" >
344378
345- <RadioButton
346- android : id =" @+id/rbGallery"
379+ <TextView
347380 android : layout_width =" wrap_content"
348381 android : layout_height =" wrap_content"
349- android : layout_gravity =" center_horizontal"
350- android : checked =" true"
351- android : text =" 从相册" />
382+ android : text =" 从哪选择:" />
352383
353- <RadioButton
354- android : id =" @+id/rbFile "
384+ <RadioGroup
385+ android : id =" @+id/rgFrom "
355386 android : layout_width =" wrap_content"
356387 android : layout_height =" wrap_content"
357- android : text =" 从文件" />
358- </RadioGroup >
388+ android : orientation =" horizontal" >
389+
390+ <RadioButton
391+ android : id =" @+id/rbGallery"
392+ android : layout_width =" wrap_content"
393+ android : layout_height =" wrap_content"
394+ android : layout_gravity =" center_horizontal"
395+ android : checked =" true"
396+ android : text =" 从相册" />
397+
398+ <RadioButton
399+ android : id =" @+id/rbFile"
400+ android : layout_width =" wrap_content"
401+ android : layout_height =" wrap_content"
402+ android : text =" 从文件" />
403+ </RadioGroup >
404+ </LinearLayout >
359405 </LinearLayout >
360406 </LinearLayout >
361- </LinearLayout >
362407
363- <LinearLayout
364- android : layout_width =" match_parent"
365- android : layout_height =" wrap_content"
366- android : layout_marginTop =" 10dp"
367- android : orientation =" horizontal" >
368-
369- <Button
370- android : id =" @+id/btnPickByTake"
408+ <LinearLayout
371409 android : layout_width =" match_parent"
372410 android : layout_height =" wrap_content"
373- android : layout_weight =" 1"
374- android : onClick =" onClick"
375- android : text =" 拍照" />
411+ android : layout_marginTop =" 10dp"
412+ android : orientation =" horizontal" >
376413
377- <Button
378- android : id =" @+id/btnPickBySelect"
379- android : layout_width =" match_parent"
380- android : layout_height =" wrap_content"
381- android : layout_weight =" 1"
382- android : onClick =" onClick"
383- android : text =" 选择照片" />
384- </LinearLayout >
414+ <Button
415+ android : id =" @+id/btnPickByTake"
416+ android : layout_width =" match_parent"
417+ android : layout_height =" wrap_content"
418+ android : layout_weight =" 1"
419+ android : onClick =" onClick"
420+ android : text =" 拍照" />
385421
422+ <Button
423+ android : id =" @+id/btnPickBySelect"
424+ android : layout_width =" match_parent"
425+ android : layout_height =" wrap_content"
426+ android : layout_weight =" 1"
427+ android : onClick =" onClick"
428+ android : text =" 选择照片" />
429+ </LinearLayout >
430+ </LinearLayout >
386431</LinearLayout >
0 commit comments