huyuguo 5 年 前
コミット
c61766a64b
共有3 個のファイルを変更した4 個の追加3 個の削除を含む
  1. 1 1
      app/build.gradle
  2. 2 1
      app/src/main/java/com/electric/chargingpile/fragment/ChatPhotoFragment.java
  3. 1 1
      app/src/main/res/layout/fragment_chat_photo.xml

+ 1 - 1
app/build.gradle

@ -285,6 +285,6 @@ dependencies {
285 285
    compile 'net.zetetic:android-database-sqlcipher:3.5.7@aar'
286 286
287 287
    compile 'com.shuyu:GSYVideoPlayer:5.0.2'
288
    compile 'com.github.chrisbanes:PhotoView:2.0.0'
288
    //compile 'com.github.chrisbanes:PhotoView:2.0.0'
289 289
    compile 'com.wang.avi:library:2.1.3'
290 290
}

+ 2 - 1
app/src/main/java/com/electric/chargingpile/fragment/ChatPhotoFragment.java

@ -8,9 +8,10 @@ import android.view.View;
8 8
import android.view.ViewGroup;
9 9
10 10
import com.electric.chargingpile.R;
11
import com.github.chrisbanes.photoview.PhotoView;
12 11
import com.squareup.picasso.Picasso;
13 12
13
import uk.co.senab.photoview.PhotoView;
14
14 15
public class ChatPhotoFragment extends Fragment {
15 16
    private static final String TAG = "ChatPhotoFragment";
16 17
    private static final String ARG_URL = "url";

+ 1 - 1
app/src/main/res/layout/fragment_chat_photo.xml

@ -5,7 +5,7 @@
5 5
    android:layout_width="match_parent"
6 6
    android:layout_height="match_parent">
7 7
8
    <com.github.chrisbanes.photoview.PhotoView
8
    <uk.co.senab.photoview.PhotoView
9 9
    android:id="@+id/photoView"
10 10
    android:layout_width="match_parent"
11 11
    android:layout_height="wrap_content"