-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a2aaf2
commit d09eca7
Showing
6 changed files
with
494 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,103 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
tools:context=".activities.EasyPhotoActivity"> | ||
|
||
<Button | ||
android:id="@+id/takePhoto" | ||
android:text="拍照" | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<Button | ||
android:id="@+id/selectPhoto" | ||
android:text="选择图片" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
<Button | ||
android:id="@+id/takePhoto" | ||
android:text="拍照" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/takePhoto_zoom" | ||
android:text="拍照——图片裁剪" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
<Button | ||
android:id="@+id/selectPhoto" | ||
android:text="选择图片" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/selectPhoto_zoom" | ||
android:text="选择图片-图片裁剪" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
<Button | ||
android:id="@+id/getPhoto" | ||
android:text="拍照/选择图片" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/takePhoto_zoom" | ||
android:text="拍照——图片裁剪" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/selectPhoto_zoom" | ||
android:text="选择图片-图片裁剪" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/indicate_img_path" | ||
android:text="使用默认缓存地址" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/takeVideo" | ||
android:text="视频录制" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/selectVideo" | ||
android:text="选择视频" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/getVideo" | ||
android:text="录制视频/选择视频" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<ImageView | ||
android:id="@+id/showImg" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:src="@mipmap/ic_launcher" | ||
android:layout_gravity="center_horizontal"/> | ||
|
||
<Button | ||
android:id="@+id/takeAudio" | ||
android:text="音频录制" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/selectAudio" | ||
android:text="选择音频" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/getAudio" | ||
android:text="录制音频/选择音频" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<Button | ||
android:id="@+id/selectNormalFile" | ||
android:text="选择文件" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
</LinearLayout> | ||
|
||
<Button | ||
android:id="@+id/indicate_img_path" | ||
android:text="使用默认缓存地址" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<ImageView | ||
android:id="@+id/showImg" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:src="@mipmap/ic_launcher" | ||
android:layout_gravity="center_horizontal"/> | ||
|
||
</LinearLayout> | ||
</ScrollView> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sat May 05 23:18:41 CST 2018 | ||
#Wed Jul 03 21:23:06 CST 2019 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip |
Oops, something went wrong.