You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
797 B
29 lines
797 B
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);
|
|
|
|
|
|
}
|
|
} |