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 1515import android .view .View ;
1616import android .widget .Button ;
1717import android .widget .ImageView ;
18+ import android .widget .ProgressBar ;
1819import android .widget .Toast ;
1920
2021import com .adobe .creativesdk .foundation .auth .AdobeAuthException ;
@@ -36,6 +37,7 @@ public class MainActivity extends AppCompatActivity {
3637 private Button mOpenGalleryButton ;
3738 private Button mSendToPhotoshopButton ;
3839 private ImageView mSelectedImageView ;
40+ private ProgressBar mSendToDesktopProgressBar ;
3941
4042 private Uri mSelectedImageUri ;
4143
@@ -52,6 +54,8 @@ protected void onCreate(Bundle savedInstanceState) {
5254 mOpenGalleryButton = (Button ) findViewById (R .id .openGalleryButton );
5355 mSendToPhotoshopButton = (Button ) findViewById (R .id .sendToPhotoshopButton );
5456 mSelectedImageView = (ImageView ) findViewById (R .id .selectedImageView );
57+ mSendToDesktopProgressBar = (ProgressBar ) findViewById (R .id .sendToDesktopProgressBar );
58+ mSendToDesktopProgressBar .setVisibility (View .INVISIBLE );
5559
5660 FloatingActionButton fab = (FloatingActionButton ) findViewById (R .id .fab );
5761 fab .setOnClickListener (new View .OnClickListener () {
Original file line number Diff line number Diff line change 4141 android : id =" @+id/selectedImageView"
4242 android : layout_centerVertical =" true"
4343 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" />
4451</RelativeLayout >
You can’t perform that action at this time.
0 commit comments