parent
b8a1cfc555
commit
380b899e9f
@ -0,0 +1,29 @@
|
|||||||
|
package com.example.share2;
|
||||||
|
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
|
import android.app.ActionBar;
|
||||||
|
import android.app.Dialog;
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.util.DisplayMetrics;
|
||||||
|
import android.widget.ImageView;
|
||||||
|
import android.widget.LinearLayout;
|
||||||
|
|
||||||
|
import com.bumptech.glide.Glide;
|
||||||
|
|
||||||
|
public class ViewPhotoActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.activity_view_photo);
|
||||||
|
ImageView imageView = findViewById(R.id.seeBig);
|
||||||
|
Intent intent = getIntent();
|
||||||
|
String Url = intent.getStringExtra("Url");
|
||||||
|
|
||||||
|
Glide.with(this).load(Url).into(imageView);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue