This repository was archived by the owner on Jul 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
send-to-desktop-api/app/src/main
java/com/adobe/sendtodesktopapi Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 15
15
import android .view .View ;
16
16
import android .widget .Button ;
17
17
import android .widget .ImageView ;
18
+ import android .widget .ProgressBar ;
18
19
import android .widget .Toast ;
19
20
20
21
import com .adobe .creativesdk .foundation .auth .AdobeAuthException ;
@@ -36,6 +37,7 @@ public class MainActivity extends AppCompatActivity {
36
37
private Button mOpenGalleryButton ;
37
38
private Button mSendToPhotoshopButton ;
38
39
private ImageView mSelectedImageView ;
40
+ private ProgressBar mSendToDesktopProgressBar ;
39
41
40
42
private Uri mSelectedImageUri ;
41
43
@@ -52,6 +54,8 @@ protected void onCreate(Bundle savedInstanceState) {
52
54
mOpenGalleryButton = (Button ) findViewById (R .id .openGalleryButton );
53
55
mSendToPhotoshopButton = (Button ) findViewById (R .id .sendToPhotoshopButton );
54
56
mSelectedImageView = (ImageView ) findViewById (R .id .selectedImageView );
57
+ mSendToDesktopProgressBar = (ProgressBar ) findViewById (R .id .sendToDesktopProgressBar );
58
+ mSendToDesktopProgressBar .setVisibility (View .INVISIBLE );
55
59
56
60
FloatingActionButton fab = (FloatingActionButton ) findViewById (R .id .fab );
57
61
fab .setOnClickListener (new View .OnClickListener () {
Original file line number Diff line number Diff line change 41
41
android : id =" @+id/selectedImageView"
42
42
android : layout_centerVertical =" true"
43
43
android : layout_centerHorizontal =" true" />
44
+
45
+ <ProgressBar
46
+ android : layout_width =" wrap_content"
47
+ android : layout_height =" wrap_content"
48
+ android : id =" @+id/sendToDesktopProgressBar"
49
+ android : layout_below =" @+id/buttonLayout"
50
+ android : layout_centerHorizontal =" true" />
44
51
</RelativeLayout >
You can’t perform that action at this time.
0 commit comments