new release
This commit is contained in:
parent
aa95967473
commit
46acbb13fb
5 changed files with 37 additions and 7 deletions
|
@ -9,8 +9,8 @@ android {
|
|||
applicationId "asgardius.page.s3manager"
|
||||
minSdk 23
|
||||
targetSdk 33
|
||||
versionCode 65
|
||||
versionName "0.7.4"
|
||||
versionCode 66
|
||||
versionName "0.7.5"
|
||||
setProperty("archivesBaseName", "s3-manager-$versionName")
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
|
|
@ -3,6 +3,7 @@ package asgardius.page.s3manager;
|
|||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
|
@ -29,6 +30,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
S3ClientOptions s3ClientOptions;
|
||||
AWSCredentials myCredentials;
|
||||
AmazonS3 s3client;
|
||||
ProgressBar simpleProgressBar;
|
||||
BucketCrossOriginConfiguration bucketcors;
|
||||
boolean style;
|
||||
boolean allorigins, pdfcompatible, found = false;
|
||||
|
@ -40,6 +42,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_cors_config);
|
||||
simpleProgressBar = (ProgressBar) findViewById(R.id.simpleProgressBar);
|
||||
endpoint = getIntent().getStringExtra("endpoint");
|
||||
title = getIntent().getStringExtra("title");
|
||||
username = getIntent().getStringExtra("username");
|
||||
|
@ -95,6 +98,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
simpleProgressBar.setVisibility(View.INVISIBLE);
|
||||
if (allorigins) {
|
||||
origins.setText(getResources().getString(R.string.cors_all));
|
||||
deletecors.setVisibility(View.VISIBLE);
|
||||
|
@ -134,6 +138,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
@Override
|
||||
public void onClick(View view) {
|
||||
//buttonaction
|
||||
simpleProgressBar.setVisibility(View.VISIBLE);
|
||||
setAllowall();
|
||||
}
|
||||
});
|
||||
|
@ -141,6 +146,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
@Override
|
||||
public void onClick(View view) {
|
||||
//buttonaction
|
||||
simpleProgressBar.setVisibility(View.VISIBLE);
|
||||
setAllowpdf();
|
||||
}
|
||||
});
|
||||
|
@ -148,6 +154,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
@Override
|
||||
public void onClick(View view) {
|
||||
//buttonaction
|
||||
simpleProgressBar.setVisibility(View.VISIBLE);
|
||||
setDeletecors();
|
||||
}
|
||||
});
|
||||
|
@ -183,6 +190,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
simpleProgressBar.setVisibility(View.INVISIBLE);
|
||||
Toast.makeText(getApplicationContext(),getResources().getString(R.string.cors_error), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
});
|
||||
|
@ -223,6 +231,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
simpleProgressBar.setVisibility(View.INVISIBLE);
|
||||
Toast.makeText(getApplicationContext(),getResources().getString(R.string.cors_error), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
});
|
||||
|
@ -257,6 +266,7 @@ public class CorsConfig extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
simpleProgressBar.setVisibility(View.INVISIBLE);
|
||||
Toast.makeText(getApplicationContext(),getResources().getString(R.string.cors_error), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/activity_main"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -9,7 +9,8 @@
|
|||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -47,4 +48,14 @@
|
|||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
<ProgressBar
|
||||
android:id="@+id/simpleProgressBar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:max="100"
|
||||
android:progress="50"
|
||||
android:padding="20dp"
|
||||
tools:ignore="MissingConstraints"
|
||||
android:indeterminate="true" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/activity_main"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -7,6 +7,12 @@
|
|||
android:orientation="vertical"
|
||||
tools:context=".ObjectInfo">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/size_info"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -28,6 +34,8 @@
|
|||
android:textAlignment="center"
|
||||
android:textSize="25sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/simpleProgressBar"
|
||||
android:layout_width="fill_parent"
|
||||
|
@ -38,4 +46,4 @@
|
|||
tools:ignore="MissingConstraints"
|
||||
android:indeterminate="true" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
1
fastlane/metadata/android/en-US/changelogs/66.txt
Normal file
1
fastlane/metadata/android/en-US/changelogs/66.txt
Normal file
|
@ -0,0 +1 @@
|
|||
* UI fixes
|
Loading…
Reference in a new issue