ui更新
@ -11,14 +11,18 @@ android {
|
|||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 1
|
versionCode = 1
|
||||||
versionName = "1.0"
|
versionName = "1.0.0"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildFeatures{
|
||||||
|
viewBinding = true;
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = true
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
"proguard-rules.pro"
|
"proguard-rules.pro"
|
||||||
@ -40,4 +44,10 @@ dependencies {
|
|||||||
testImplementation(libs.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(libs.ext.junit)
|
androidTestImplementation(libs.ext.junit)
|
||||||
androidTestImplementation(libs.espresso.core)
|
androidTestImplementation(libs.espresso.core)
|
||||||
|
|
||||||
|
implementation("com.github.bumptech.glide:glide:4.16.0")
|
||||||
|
annotationProcessor("com.github.bumptech.glide:compiler:4.16.0")
|
||||||
|
|
||||||
|
implementation ("androidx.room:room-runtime:2.7.1")
|
||||||
|
annotationProcessor ("androidx.room:room-compiler:2.7.1")
|
||||||
}
|
}
|
||||||
@ -3,6 +3,7 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
|
android:name=".MyApplication"
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||||
android:fullBackupContent="@xml/backup_rules"
|
android:fullBackupContent="@xml/backup_rules"
|
||||||
@ -13,7 +14,28 @@
|
|||||||
android:theme="@style/Theme.AutoClicker"
|
android:theme="@style/Theme.AutoClicker"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".presentation.ui.activity.AccessibilityActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.menu.ScriptsActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.setting.SettingActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.menu.MenuActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.MainActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.welcome.AgreementActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.welcome.SplashActivity"
|
||||||
|
android:exported="false" />
|
||||||
|
<activity
|
||||||
|
android:name=".presentation.ui.activity.welcome.LauncherActivity"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|||||||
@ -0,0 +1,22 @@
|
|||||||
|
package com.auto.clicker.autoclicker;
|
||||||
|
|
||||||
|
import android.app.Application;
|
||||||
|
import android.content.Context;
|
||||||
|
|
||||||
|
public class MyApplication extends Application {
|
||||||
|
public static MyApplication application;
|
||||||
|
public static final int DB_VERSION = 1;
|
||||||
|
public static final String DB_NAME = "auto_clicker_database";
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onCreate() {
|
||||||
|
super.onCreate();
|
||||||
|
|
||||||
|
application = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Context getContext() {
|
||||||
|
return application.getApplicationContext();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
|
||||||
|
public class AccessibilityActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
EdgeToEdge.enable(this);
|
||||||
|
setContentView(R.layout.activity_accessibility);
|
||||||
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
|
return insets;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,55 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
import com.auto.clicker.autoclicker.databinding.ActivityMainBinding;
|
||||||
|
import com.auto.clicker.autoclicker.presentation.ui.activity.menu.MenuActivity;
|
||||||
|
import com.auto.clicker.autoclicker.presentation.ui.activity.welcome.AgreementActivity;
|
||||||
|
import com.auto.clicker.autoclicker.presentation.ui.activity.welcome.SplashActivity;
|
||||||
|
|
||||||
|
public class MainActivity extends AppCompatActivity {
|
||||||
|
private ActivityMainBinding binding;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
binding = ActivityMainBinding.inflate(getLayoutInflater());
|
||||||
|
setContentView(binding.getRoot());
|
||||||
|
|
||||||
|
EdgeToEdge.enable(this);
|
||||||
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
|
return insets;
|
||||||
|
});
|
||||||
|
|
||||||
|
initData();
|
||||||
|
initEvent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initData() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initEvent() {
|
||||||
|
binding.menu.setOnClickListener(v -> {
|
||||||
|
Intent intent = new Intent(this, MenuActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onDestroy() {
|
||||||
|
super.onDestroy();
|
||||||
|
binding = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,70 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity.menu;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.view.View;
|
||||||
|
import android.widget.ImageView;
|
||||||
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.content.ContextCompat;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
import com.auto.clicker.autoclicker.databinding.ActivityMainBinding;
|
||||||
|
import com.auto.clicker.autoclicker.databinding.ActivityMenuBinding;
|
||||||
|
|
||||||
|
public class MenuActivity extends AppCompatActivity {
|
||||||
|
private ActivityMenuBinding binding;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
binding = ActivityMenuBinding.inflate(getLayoutInflater());
|
||||||
|
setContentView(binding.getRoot());
|
||||||
|
|
||||||
|
EdgeToEdge.enable(this);
|
||||||
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
|
return insets;
|
||||||
|
});
|
||||||
|
initData();
|
||||||
|
initEvent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initData() {
|
||||||
|
setupItem(R.id.scripts, R.drawable.scripts, "Scripts", "Your Saved Scripts");
|
||||||
|
setupItem(R.id.trouble, R.drawable.trouble, "Troubleshooting", "Repair your app");
|
||||||
|
setupItem(R.id.battery, R.drawable.battery, "Battery Limit Free", "Background battery usage");
|
||||||
|
setupItem(R.id.question, R.drawable.menu_question, "How To Use?", "How to use can use app controller");
|
||||||
|
setupItem(R.id.share, R.drawable.share, "Share APP", "WIth you Friends");
|
||||||
|
setupItem(R.id.feedback, R.drawable.feedback, "Feedback", "Enjoy our app?");
|
||||||
|
setupItem(R.id.privacy, R.drawable.privacy, "Privacy policy", "Use of Cookies");
|
||||||
|
setupItem(R.id.term, R.drawable.term, "Term & Conditions", "Rules of conduct");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initEvent() {
|
||||||
|
binding.btnBack.setOnClickListener(v -> finish());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void setupItem(int viewId, int iconRes, String title, String subtitle) {
|
||||||
|
View item = findViewById(viewId);
|
||||||
|
ImageView icon = item.findViewById(R.id.icon);
|
||||||
|
TextView titleView = item.findViewById(R.id.title);
|
||||||
|
TextView subtitleView = item.findViewById(R.id.subtitle);
|
||||||
|
|
||||||
|
icon.setImageDrawable(ContextCompat.getDrawable(this, iconRes));
|
||||||
|
titleView.setText(title);
|
||||||
|
subtitleView.setText(subtitle);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onDestroy() {
|
||||||
|
super.onDestroy();
|
||||||
|
binding = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.auto.clicker.autoclicker;
|
package com.auto.clicker.autoclicker.presentation.ui.activity.menu;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
@ -8,13 +8,15 @@ import androidx.core.graphics.Insets;
|
|||||||
import androidx.core.view.ViewCompat;
|
import androidx.core.view.ViewCompat;
|
||||||
import androidx.core.view.WindowInsetsCompat;
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
public class MainActivity extends AppCompatActivity {
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
|
||||||
|
public class ScriptsActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
EdgeToEdge.enable(this);
|
EdgeToEdge.enable(this);
|
||||||
setContentView(R.layout.activity_main);
|
setContentView(R.layout.activity_scripts);
|
||||||
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity.setting;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
|
||||||
|
public class SettingActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
EdgeToEdge.enable(this);
|
||||||
|
setContentView(R.layout.activity_setting);
|
||||||
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
|
return insets;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,70 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity.welcome;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.text.method.LinkMovementMethod;
|
||||||
|
import android.widget.Toast;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
import com.auto.clicker.autoclicker.databinding.ActivityAgreementBinding;
|
||||||
|
import com.auto.clicker.autoclicker.presentation.ui.activity.MainActivity;
|
||||||
|
|
||||||
|
public class AgreementActivity extends AppCompatActivity {
|
||||||
|
private ActivityAgreementBinding binding;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
binding = ActivityAgreementBinding.inflate(getLayoutInflater());
|
||||||
|
setContentView(binding.getRoot());
|
||||||
|
|
||||||
|
EdgeToEdge.enable(this);
|
||||||
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
|
return insets;
|
||||||
|
});
|
||||||
|
|
||||||
|
initData();
|
||||||
|
initEvent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initData() {
|
||||||
|
binding.textAgreement.setMovementMethod(LinkMovementMethod.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initEvent() {
|
||||||
|
binding.btnStart.setOnClickListener(v -> {
|
||||||
|
if (binding.checkBoxAgree.isChecked()) {
|
||||||
|
setAgreed();
|
||||||
|
|
||||||
|
startActivity(new Intent(this, MainActivity.class));
|
||||||
|
finish();
|
||||||
|
} else {
|
||||||
|
Toast.makeText(this, "Please first check the box to agree to the privacy policy and terms of use", Toast.LENGTH_SHORT).show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
binding.textAgreement.setMovementMethod(LinkMovementMethod.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void setAgreed() {
|
||||||
|
getSharedPreferences("app_prefs", MODE_PRIVATE)
|
||||||
|
.edit()
|
||||||
|
.putBoolean("agreed_privacy", true)
|
||||||
|
.apply();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onDestroy() {
|
||||||
|
super.onDestroy();
|
||||||
|
binding = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity.welcome;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
|
||||||
|
public class LauncherActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
boolean agreed = getSharedPreferences("app_prefs", MODE_PRIVATE)
|
||||||
|
.getBoolean("agreed_privacy", false);
|
||||||
|
|
||||||
|
Intent intent = new Intent(this,
|
||||||
|
agreed ? SplashActivity.class : AgreementActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,74 @@
|
|||||||
|
package com.auto.clicker.autoclicker.presentation.ui.activity.welcome;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.os.CountDownTimer;
|
||||||
|
|
||||||
|
import androidx.activity.EdgeToEdge;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.graphics.Insets;
|
||||||
|
import androidx.core.view.ViewCompat;
|
||||||
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
|
|
||||||
|
import com.auto.clicker.autoclicker.R;
|
||||||
|
import com.auto.clicker.autoclicker.databinding.ActivitySplashBinding;
|
||||||
|
import com.auto.clicker.autoclicker.presentation.ui.activity.MainActivity;
|
||||||
|
import com.bumptech.glide.Glide;
|
||||||
|
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
|
||||||
|
|
||||||
|
public class SplashActivity extends AppCompatActivity {
|
||||||
|
private ActivitySplashBinding binding;
|
||||||
|
private static final long TOTAL_TIME = 100;
|
||||||
|
private CountDownTimer countDownTimer;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
|
binding = ActivitySplashBinding.inflate(getLayoutInflater());
|
||||||
|
setContentView(binding.getRoot());
|
||||||
|
EdgeToEdge.enable(this);
|
||||||
|
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||||
|
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||||
|
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||||
|
return insets;
|
||||||
|
});
|
||||||
|
|
||||||
|
Glide.with(this)
|
||||||
|
.load(R.mipmap.ic_launcher)
|
||||||
|
.transform(new RoundedCorners(32))
|
||||||
|
.into(binding.image);
|
||||||
|
|
||||||
|
countDownTimer = new CountDownTimer(TOTAL_TIME,100) {
|
||||||
|
@Override
|
||||||
|
public void onTick(long millisUntilFinished) {
|
||||||
|
int percentage = (int) (100 - (float) millisUntilFinished / TOTAL_TIME * 100);
|
||||||
|
binding.progress.setProgress(percentage);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onFinish() {
|
||||||
|
startMain();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
countDownTimer.start();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void startMain() {
|
||||||
|
binding.progress.setProgress(100);
|
||||||
|
|
||||||
|
Intent intent = new Intent(SplashActivity.this, MainActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
|
finish();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onDestroy() {
|
||||||
|
super.onDestroy();
|
||||||
|
if (countDownTimer != null) {
|
||||||
|
countDownTimer.cancel();
|
||||||
|
}
|
||||||
|
binding = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
14
app/src/main/res/drawable/accessibility_click.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="12dp"
|
||||||
|
android:height="15dp"
|
||||||
|
android:viewportWidth="12"
|
||||||
|
android:viewportHeight="15">
|
||||||
|
<path
|
||||||
|
android:pathData="M6.382,15C6.181,15 5.728,14.765 5.315,13.885C4.587,12.34 1.158,11.215 0.017,10.875C-0.027,10.49 -0.012,9.87 0.396,9.71C0.519,9.67 0.652,9.65 0.78,9.655C1.631,9.655 2.983,10.14 3.431,10.325L4.218,10.65V3.365C4.233,3.255 4.341,3 4.946,3C5.551,3 5.787,3.275 5.856,3.395V7L6.309,7.065C8.625,7.41 11.926,8.37 12,9.4V14.275C12,14.275 12.01,14.565 11.788,14.765C11.621,14.915 11.341,14.99 10.952,14.99L6.392,15"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:strokeWidth="1"
|
||||||
|
android:pathData="M5,5m-4.5,0a4.5,4.5 0,1 1,9 0a4.5,4.5 0,1 1,-9 0"
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:strokeColor="#ffffff"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/accessibility_guide.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="19dp"
|
||||||
|
android:height="21dp"
|
||||||
|
android:viewportWidth="19"
|
||||||
|
android:viewportHeight="21">
|
||||||
|
<path
|
||||||
|
android:pathData="M18,0C18.552,0 19,0.448 19,1V20C19,20.552 18.552,21 18,21H1C0.448,21 0,20.552 0,20V1C0,0.448 0.448,0 1,0H18ZM4,16C3.448,16 3,16.448 3,17C3,17.552 3.448,18 4,18H15C15.552,18 16,17.552 16,17C16,16.448 15.552,16 15,16H4ZM4,10C3.448,10 3,10.448 3,11C3,11.552 3.448,12 4,12H15C15.552,12 16,11.552 16,11C16,10.448 15.552,10 15,10H4ZM4,4C3.448,4 3,4.448 3,5C3,5.552 3.448,6 4,6H10C10.552,6 11,5.552 11,5C11,4.448 10.552,4 10,4H4Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</vector>
|
||||||
13
app/src/main/res/drawable/accessibility_permission.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="19dp"
|
||||||
|
android:height="21dp"
|
||||||
|
android:viewportWidth="19"
|
||||||
|
android:viewportHeight="21">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h19v21h-19z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M18.641,2.341C18.295,2.322 18.029,2.304 17.837,2.291C14.052,2.014 11.065,1.223 9.958,0.222C9.939,0.21 9.927,0.191 9.908,0.173C9.908,0.173 9.896,0.161 9.89,0.154C9.661,-0.062 9.302,-0.056 9.086,0.173L9.067,0.191C9.067,0.191 9.042,0.216 9.03,0.229C7.923,1.217 4.966,2.001 1.231,2.285C1.027,2.304 0.736,2.316 0.359,2.341C0.155,2.353 0,2.52 0,2.718V10.908C0.124,16.09 6.327,21 9.5,21C12.673,21 19,15.991 19,10.753V2.718C19,2.514 18.845,2.347 18.641,2.341ZM10.793,17.442H8.356V15.101H10.793V17.442ZM12.964,9.506C12.797,9.851 12.592,10.191 12.345,10.519L11.04,12.242C10.947,12.359 10.867,12.501 10.811,12.662C10.749,12.828 10.725,12.983 10.725,13.137V13.508H8.43V12.977C8.43,12.6 8.486,12.279 8.591,12.007C8.696,11.735 8.869,11.451 9.104,11.142L10.409,9.469C10.551,9.283 10.669,9.086 10.768,8.888C10.867,8.69 10.916,8.486 10.916,8.289C10.916,7.875 10.793,7.535 10.539,7.257C10.285,6.979 9.939,6.844 9.488,6.844C9.018,6.844 8.665,6.986 8.43,7.264C8.195,7.548 8.077,7.894 8.077,8.301H5.783C5.783,7.764 5.882,7.27 6.074,6.831C6.265,6.393 6.531,6.022 6.865,5.719C7.199,5.417 7.589,5.188 8.04,5.021C8.486,4.855 8.968,4.774 9.488,4.774C10.007,4.774 10.453,4.855 10.91,5.009C11.362,5.17 11.757,5.398 12.098,5.695C12.438,5.991 12.71,6.362 12.908,6.794C13.106,7.226 13.205,7.727 13.205,8.289C13.205,8.734 13.124,9.129 12.957,9.475L12.964,9.506Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/accessibility_privacy.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="20dp"
|
||||||
|
android:height="20dp"
|
||||||
|
android:viewportWidth="20"
|
||||||
|
android:viewportHeight="20">
|
||||||
|
<path
|
||||||
|
android:pathData="M10,0C15.523,0 20,4.477 20,10C20,15.523 15.523,20 10,20C4.477,20 0,15.523 0,10C0,4.477 4.477,0 10,0ZM10.239,11.625L6.568,7.821L6.453,7.932L6.451,7.93L2,12.164L2.847,13.054L6.517,9.562L10.189,13.367L10.407,13.155L10.411,13.159L17,6.891L16.153,6L10.239,11.625Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</vector>
|
||||||
16
app/src/main/res/drawable/accessibility_question.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="11dp"
|
||||||
|
android:height="11dp"
|
||||||
|
android:viewportWidth="11"
|
||||||
|
android:viewportHeight="11">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h11v11h-11z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M5.5,11C2.467,11 0,8.533 0,5.5C0,2.467 2.467,0 5.5,0C8.533,0 11,2.467 11,5.5C11,8.533 8.533,11 5.5,11ZM5.5,0.786C2.902,0.786 0.786,2.902 0.786,5.5C0.786,8.098 2.902,10.214 5.5,10.214C8.098,10.214 10.214,8.098 10.214,5.5C10.214,2.902 8.098,0.786 5.5,0.786Z"
|
||||||
|
android:fillColor="#F4F4F4"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M6.83,4.709C6.773,4.835 6.7,4.955 6.61,5.071L6.144,5.689C6.113,5.731 6.081,5.783 6.06,5.841C6.04,5.898 6.029,5.956 6.029,6.008V6.139H5.212V5.951C5.212,5.814 5.233,5.699 5.27,5.605C5.306,5.511 5.369,5.406 5.453,5.296L5.919,4.699C5.971,4.631 6.013,4.562 6.05,4.489C6.087,4.416 6.102,4.348 6.102,4.274C6.102,4.128 6.055,4.007 5.966,3.908C5.877,3.808 5.751,3.761 5.594,3.761C5.437,3.761 5.301,3.813 5.217,3.913C5.133,4.012 5.091,4.138 5.091,4.285H4.274C4.274,4.091 4.311,3.918 4.379,3.761C4.447,3.604 4.541,3.473 4.662,3.363C4.782,3.258 4.919,3.174 5.081,3.117C5.238,3.059 5.411,3.028 5.594,3.028C5.778,3.028 5.94,3.054 6.102,3.111C6.265,3.169 6.406,3.248 6.527,3.358C6.647,3.462 6.747,3.593 6.815,3.751C6.888,3.908 6.92,4.086 6.92,4.285C6.92,4.442 6.888,4.583 6.83,4.709ZM5.191,7.543V6.705H6.06V7.543H5.191Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
12
app/src/main/res/drawable/accessibility_swipe.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="12dp"
|
||||||
|
android:height="15dp"
|
||||||
|
android:viewportWidth="12"
|
||||||
|
android:viewportHeight="15">
|
||||||
|
<path
|
||||||
|
android:pathData="M6.382,15C6.181,15 5.728,14.765 5.315,13.885C4.587,12.34 1.158,11.215 0.017,10.875C-0.027,10.49 -0.012,9.87 0.396,9.71C0.519,9.67 0.652,9.65 0.78,9.655C1.631,9.655 2.983,10.14 3.431,10.325L4.218,10.65V3.365C4.233,3.255 4.341,3 4.946,3C5.551,3 5.787,3.275 5.856,3.395V7L6.309,7.065C8.625,7.41 11.926,8.37 12,9.4V14.275C12,14.275 12.01,14.565 11.788,14.765C11.621,14.915 11.341,14.99 10.952,14.99L6.392,15"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M2.017,0.099C2.136,-0.033 2.328,-0.033 2.446,0.099C2.564,0.232 2.564,0.447 2.446,0.579L1.035,2.161H3.884V2.839H1.035L2.446,4.421C2.564,4.553 2.564,4.768 2.446,4.901C2.328,5.033 2.136,5.033 2.017,4.901L0.089,2.74C-0.03,2.607 -0.03,2.393 0.089,2.26L2.017,0.099ZM7.554,0.099C7.672,-0.033 7.864,-0.033 7.983,0.099L9.911,2.26C10.03,2.393 10.03,2.607 9.911,2.74L7.983,4.901C7.864,5.033 7.672,5.033 7.554,4.901C7.436,4.768 7.436,4.553 7.554,4.421L8.965,2.839H5.399V2.161H8.965L7.554,0.579C7.436,0.447 7.436,0.232 7.554,0.099Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</vector>
|
||||||
4
app/src/main/res/drawable/activity_background.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<solid android:color="@color/black" />
|
||||||
|
</shape>
|
||||||
9
app/src/main/res/drawable/arrow_right.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="16dp"
|
||||||
|
android:height="20dp"
|
||||||
|
android:viewportWidth="16"
|
||||||
|
android:viewportHeight="20">
|
||||||
|
<path
|
||||||
|
android:pathData="M0,18.563C0,18.893 0.27,19.113 0.5,18.973L8.12,14.393L15.42,10.013C15.75,9.813 15.75,9.213 15.42,9.023L8.12,4.643L0.5,0.043C0.27,-0.097 0,0.123 0,0.453V18.563Z"
|
||||||
|
android:fillColor="#425C63"/>
|
||||||
|
</vector>
|
||||||
13
app/src/main/res/drawable/back.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="22dp"
|
||||||
|
android:height="20dp"
|
||||||
|
android:viewportWidth="22"
|
||||||
|
android:viewportHeight="20">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h21.16v20.01h-21.16z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M20.21,20.01C20.07,20.01 19.94,19.98 19.81,19.92L0.6,10.95C0.23,10.78 0,10.41 0,10C0,9.59 0.23,9.22 0.6,9.05L19.81,0.09C20.11,-0.05 20.45,-0.03 20.72,0.15C21,0.33 21.16,0.63 21.16,0.95V19.06C21.16,19.39 20.99,19.69 20.72,19.86C20.56,19.96 20.39,20.01 20.21,20.01ZM20.16,0.95L10.42,5.58L1.03,9.96L10.42,14.43L20.16,18.98V0.95Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
16
app/src/main/res/drawable/battery.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="22dp"
|
||||||
|
android:height="31dp"
|
||||||
|
android:viewportWidth="22"
|
||||||
|
android:viewportHeight="31">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h22v31h-22z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M20.43,4.896H1.57C0.699,4.896 0,5.542 0,6.345V29.552C0,30.354 0.699,31 1.57,31H20.43C21.301,31 22,30.354 22,29.552V6.353C22,5.55 21.301,4.904 20.43,4.904V4.896ZM9.725,25.427V19.011H5.886L12.284,10.462V16.878H16.122L9.725,25.427Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M8.931,0H0.495C0.222,0 0,0.204 0,0.457V2.44C0,2.692 0.222,2.897 0.495,2.897H8.931C9.205,2.897 9.426,2.692 9.426,2.44V0.457C9.426,0.204 9.205,0 8.931,0Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
6
app/src/main/res/drawable/btn_border_background.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/black" />
|
||||||
|
<stroke android:width="2dp" android:color="@color/gray" />
|
||||||
|
<corners android:radius="12dp" />
|
||||||
|
</shape>
|
||||||
4
app/src/main/res/drawable/circle_background.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="oval">
|
||||||
|
<solid android:color="@color/blue" />
|
||||||
|
</shape>
|
||||||
13
app/src/main/res/drawable/feedback.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="28dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="28">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h27v28h-27z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M25.202,0H1.817C0.823,0 0.019,0.828 0.019,1.844V21.168C0.019,21.168 0,24.273 0,26.639C0,27.744 1.183,28.394 2.054,27.753L8.224,23.248C8.442,23.09 8.707,23.001 8.972,23.001H25.202C26.196,23.001 27,22.173 27,21.158V1.844C27,0.828 26.196,0 25.202,0ZM6.757,13.349C5.763,13.349 4.959,12.521 4.959,11.506C4.959,10.49 5.763,9.662 6.757,9.662C7.751,9.662 8.555,10.49 8.555,11.506C8.555,12.521 7.751,13.349 6.757,13.349ZM13.505,13.349C12.511,13.349 11.707,12.521 11.707,11.506C11.707,10.49 12.511,9.662 13.505,9.662C14.498,9.662 15.303,10.49 15.303,11.506C15.303,12.521 14.498,13.349 13.505,13.349ZM20.688,13.349C19.694,13.349 18.89,12.521 18.89,11.506C18.89,10.49 19.694,9.662 20.688,9.662C21.681,9.662 22.486,10.49 22.486,11.506C22.486,12.521 21.681,13.349 20.688,13.349Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/glow_background.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="oval">
|
||||||
|
<gradient
|
||||||
|
android:type="radial"
|
||||||
|
android:gradientRadius="150dp"
|
||||||
|
android:startColor="#5533B5E5"
|
||||||
|
android:endColor="#0033B5E5"
|
||||||
|
android:centerColor="#9933B5E5" />
|
||||||
|
</shape>
|
||||||
9
app/src/main/res/drawable/ic_switch.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="72dp"
|
||||||
|
android:height="73dp"
|
||||||
|
android:viewportWidth="72"
|
||||||
|
android:viewportHeight="73">
|
||||||
|
<path
|
||||||
|
android:pathData="M16.694,15.017C16.41,15.252 16.138,15.5 15.879,15.759C7.52,23.883 4.89,36.279 9.236,47.127C13.582,57.962 24.041,65.082 35.685,65.132C47.328,65.182 57.849,58.16 62.294,47.362C66.739,36.564 64.22,24.143 55.935,15.945C55.614,15.623 55.28,15.326 54.935,15.029C53.453,13.741 53.169,11.537 54.305,9.915C54.848,9.147 55.688,8.627 56.614,8.503C57.552,8.379 58.491,8.651 59.207,9.258C60.096,10.014 60.812,10.658 61.343,11.203C67.937,17.914 71.629,26.966 71.616,36.39C71.616,56.228 55.589,72.302 35.808,72.302C16.027,72.302 0,56.228 0,36.39C0,25.976 4.507,16.081 12.36,9.258C13.089,8.639 14.039,8.367 14.99,8.49C15.941,8.614 16.781,9.134 17.336,9.915C18.46,11.524 18.188,13.729 16.706,15.017H16.694ZM32.227,32.799V4.07C32.227,2.088 33.833,0.478 35.808,0.478C37.784,0.478 39.389,2.088 39.389,4.07V32.799C39.389,34.78 37.784,36.39 35.808,36.39C33.833,36.39 32.227,34.78 32.227,32.799Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</vector>
|
||||||
BIN
app/src/main/res/drawable/light_glow.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
app/src/main/res/drawable/light_glow_red.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
28
app/src/main/res/drawable/menu.xml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="26dp"
|
||||||
|
android:height="26dp"
|
||||||
|
android:viewportWidth="26"
|
||||||
|
android:viewportHeight="26">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h26v25.5h-26z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M26,0.5H6V2.5H26V0.5Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M1.5,3C2.328,3 3,2.328 3,1.5C3,0.672 2.328,0 1.5,0C0.672,0 0,0.672 0,1.5C0,2.328 0.672,3 1.5,3Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M26,11.75H6V13.75H26V11.75Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M1.5,14.25C2.328,14.25 3,13.578 3,12.75C3,11.922 2.328,11.25 1.5,11.25C0.672,11.25 0,11.922 0,12.75C0,13.578 0.672,14.25 1.5,14.25Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M26,23H6V25H26V23Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M1.5,25.5C2.328,25.5 3,24.828 3,24C3,23.172 2.328,22.5 1.5,22.5C0.672,22.5 0,23.172 0,24C0,24.828 0.672,25.5 1.5,25.5Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
13
app/src/main/res/drawable/menu_question.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="27dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="27">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h27v27h-27z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M13.496,0C6.041,0 0,6.041 0,13.496C0,20.951 6.041,26.992 13.496,26.992C20.951,26.992 26.992,20.951 26.992,13.496C26.992,6.041 20.951,0 13.496,0ZM14.715,19.463H12.423V17.252H14.715V19.463ZM16.756,11.976C16.602,12.301 16.406,12.618 16.171,12.927L14.943,14.553C14.854,14.667 14.781,14.797 14.724,14.951C14.667,15.106 14.642,15.26 14.642,15.398V15.748H12.48V15.252C12.48,14.894 12.528,14.594 12.626,14.342C12.724,14.089 12.886,13.813 13.106,13.528L14.333,11.951C14.463,11.772 14.577,11.594 14.675,11.406C14.772,11.219 14.813,11.033 14.813,10.837C14.813,10.447 14.691,10.13 14.455,9.862C14.219,9.602 13.886,9.472 13.463,9.472C13.041,9.472 12.691,9.602 12.463,9.87C12.244,10.138 12.13,10.463 12.13,10.854H9.967C9.967,10.342 10.057,9.878 10.244,9.463C10.423,9.049 10.675,8.699 10.992,8.415C11.309,8.13 11.675,7.911 12.098,7.756C12.52,7.602 12.976,7.52 13.455,7.52C13.935,7.52 14.366,7.594 14.797,7.748C15.219,7.894 15.594,8.114 15.919,8.398C16.244,8.683 16.496,9.024 16.683,9.439C16.87,9.846 16.968,10.317 16.968,10.854C16.968,11.276 16.894,11.65 16.732,11.976H16.756Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
BIN
app/src/main/res/drawable/no_scripts.png
Normal file
|
After Width: | Height: | Size: 140 KiB |
BIN
app/src/main/res/drawable/placeholder.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
9
app/src/main/res/drawable/privacy.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="32dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="32">
|
||||||
|
<path
|
||||||
|
android:pathData="M26.49,3.571C25.998,3.543 25.62,3.515 25.348,3.496C19.969,3.073 15.724,1.868 14.15,0.344C14.124,0.325 14.106,0.297 14.08,0.268C14.08,0.268 14.063,0.25 14.054,0.24C13.729,-0.089 13.219,-0.08 12.911,0.268L12.885,0.297C12.885,0.297 12.85,0.334 12.832,0.353C11.259,1.859 7.058,3.054 1.749,3.487C1.459,3.515 1.046,3.534 0.51,3.571C0.22,3.59 0,3.844 0,4.145V16.624C0.176,24.519 8.991,32 13.5,32C18.009,32 27,24.368 27,16.388V4.145C27,3.835 26.78,3.581 26.49,3.571ZM20.672,12.022L14.467,20.642L14.484,20.661L13.57,21.931C13.061,22.637 12.12,22.768 11.47,22.223L6.601,18.205C5.941,17.659 5.818,16.652 6.328,15.955C6.838,15.25 7.778,15.118 8.429,15.664L12.094,18.684L18.299,10.064C18.809,9.359 19.749,9.227 20.399,9.773C21.059,10.319 21.182,11.325 20.672,12.022Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</vector>
|
||||||
20
app/src/main/res/drawable/progress_gradient.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:id="@android:id/background">
|
||||||
|
<shape>
|
||||||
|
<corners android:radius="5dp" />
|
||||||
|
<solid android:color="#D3D3D3" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item android:id="@android:id/progress">
|
||||||
|
<clip>
|
||||||
|
<shape>
|
||||||
|
<corners android:radius="5dp" />
|
||||||
|
<gradient
|
||||||
|
android:startColor="#4891FF"
|
||||||
|
android:endColor="#6CE89E"
|
||||||
|
android:angle="0" />
|
||||||
|
</shape>
|
||||||
|
</clip>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
||||||
16
app/src/main/res/drawable/question.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="21dp"
|
||||||
|
android:height="21dp"
|
||||||
|
android:viewportWidth="21"
|
||||||
|
android:viewportHeight="21">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h21v21h-21z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M10.5,21C4.71,21 0,16.29 0,10.5C0,4.71 4.71,0 10.5,0C16.29,0 21,4.71 21,10.5C21,16.29 16.29,21 10.5,21ZM10.5,1.5C5.54,1.5 1.5,5.54 1.5,10.5C1.5,15.46 5.54,19.5 10.5,19.5C15.46,19.5 19.5,15.46 19.5,10.5C19.5,5.54 15.46,1.5 10.5,1.5Z"
|
||||||
|
android:fillColor="#F4F4F4"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M13.04,8.99C12.93,9.23 12.79,9.46 12.62,9.68L11.73,10.86C11.67,10.94 11.61,11.04 11.57,11.15C11.53,11.26 11.51,11.37 11.51,11.47V11.72H9.95V11.36C9.95,11.1 9.99,10.88 10.06,10.7C10.13,10.52 10.25,10.32 10.41,10.11L11.3,8.97C11.4,8.84 11.48,8.71 11.55,8.57C11.62,8.43 11.65,8.3 11.65,8.16C11.65,7.88 11.56,7.65 11.39,7.46C11.22,7.27 10.98,7.18 10.68,7.18C10.38,7.18 10.12,7.28 9.96,7.47C9.8,7.66 9.72,7.9 9.72,8.18H8.16C8.16,7.81 8.23,7.48 8.36,7.18C8.49,6.88 8.67,6.63 8.9,6.42C9.13,6.22 9.39,6.06 9.7,5.95C10,5.84 10.33,5.78 10.68,5.78C11.03,5.78 11.34,5.83 11.65,5.94C11.96,6.05 12.23,6.2 12.46,6.41C12.69,6.61 12.88,6.86 13.01,7.16C13.15,7.46 13.21,7.8 13.21,8.18C13.21,8.48 13.15,8.75 13.04,8.99ZM9.91,14.4V12.8H11.57V14.4H9.91Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/scripts.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="34dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="34">
|
||||||
|
<path
|
||||||
|
android:pathData="M25.818,6.84L21.502,1.68C20.608,0.617 19.33,0 17.974,0H3.816C1.711,0.01 0,1.811 0,4.027V29.983C0,32.199 1.711,34 3.816,34H23.184C25.289,34 27,32.199 27,29.983V10.119C27,8.915 26.587,7.751 25.827,6.851L25.818,6.84ZM10.525,20.673C11.015,21.189 11.015,22.039 10.525,22.555C10.035,23.071 9.227,23.071 8.737,22.555L5.306,18.943C5.056,18.68 4.931,18.346 4.931,18.002C4.931,17.658 5.056,17.324 5.306,17.061L8.737,13.448C9.227,12.932 10.035,12.932 10.525,13.448C11.015,13.964 11.015,14.814 10.525,15.33L7.988,18.002L10.525,20.673ZM19.753,18.943L16.321,22.555C15.831,23.071 15.024,23.071 14.533,22.555C14.043,22.039 14.043,21.189 14.533,20.673L17.071,18.002L14.533,15.33C14.043,14.814 14.043,13.964 14.533,13.448C15.024,12.932 15.831,12.932 16.321,13.448L19.753,17.061C20.003,17.324 20.127,17.658 20.127,18.002C20.127,18.346 20.003,18.68 19.753,18.943Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</vector>
|
||||||
16
app/src/main/res/drawable/setting.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="27dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="27">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h23.38v27h-23.38z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M11.69,27L0,20.25V6.75L11.69,0L23.38,6.75V20.25L11.69,27ZM2,19.09L11.69,24.69L21.38,19.09V7.91L11.69,2.31L2,7.91V19.1V19.09Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M11.69,18C9.21,18 7.19,15.98 7.19,13.5C7.19,11.02 9.21,9 11.69,9C14.17,9 16.19,11.02 16.19,13.5C16.19,15.98 14.17,18 11.69,18ZM11.69,11C10.31,11 9.19,12.12 9.19,13.5C9.19,14.88 10.31,16 11.69,16C13.07,16 14.19,14.88 14.19,13.5C14.19,12.12 13.07,11 11.69,11Z"
|
||||||
|
android:fillColor="#ffffff"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
13
app/src/main/res/drawable/share.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="27dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="27">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h27v27h-27z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M13.504,0C6.044,0 0,6.044 0,13.504C0,20.964 6.044,27.008 13.504,27.008C20.964,27.008 27.008,20.964 27.008,13.504C27.008,6.044 20.956,0 13.504,0ZM20.393,9.786C20.023,10.929 18.952,11.709 17.753,11.701C16.94,11.701 16.168,11.339 15.645,10.712L12.184,12.361C12.554,13.247 12.546,14.236 12.168,15.114L14.904,16.53C15.677,15.291 17.27,14.84 18.582,15.5C19.894,16.16 20.481,17.705 19.95,19.065C19.419,20.425 17.93,21.157 16.522,20.755C15.114,20.345 14.252,18.936 14.526,17.496L11.613,15.983C10.655,17.125 9.086,17.536 7.686,17.021C6.285,16.506 5.368,15.162 5.384,13.673C5.4,12.184 6.35,10.864 7.758,10.373C9.166,9.883 10.728,10.333 11.661,11.492L15.154,9.826C14.759,8.692 15.154,7.428 16.119,6.712C17.085,5.996 18.405,5.979 19.379,6.68C20.361,7.38 20.771,8.635 20.401,9.778L20.393,9.786Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/term.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="33dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="33">
|
||||||
|
<path
|
||||||
|
android:pathData="M24.994,0H2.005C0.899,0 0,0.91 0,2.03V30.97C0,32.09 0.899,33 2.005,33H18.089C23.009,33 27,28.96 27,23.98V2.03C27,0.91 26.101,0 24.994,0ZM22.416,22.56C22.416,22.92 22.129,23.2 21.784,23.2H5.226C4.87,23.2 4.594,22.91 4.594,22.56V20.76C4.594,20.4 4.88,20.12 5.226,20.12H21.784C22.139,20.12 22.416,20.41 22.416,20.76V22.56ZM22.416,17.4C22.416,17.76 22.129,18.04 21.784,18.04H5.226C4.87,18.04 4.594,17.75 4.594,17.4V15.6C4.594,15.24 4.88,14.96 5.226,14.96H21.784C22.139,14.96 22.416,15.25 22.416,15.6V17.4ZM22.416,12.24C22.416,12.6 22.129,12.88 21.784,12.88H5.226C4.87,12.88 4.594,12.59 4.594,12.24V10.44C4.594,10.08 4.88,9.8 5.226,9.8H21.784C22.139,9.8 22.416,10.09 22.416,10.44V12.24Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</vector>
|
||||||
13
app/src/main/res/drawable/trouble.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="27dp"
|
||||||
|
android:height="27dp"
|
||||||
|
android:viewportWidth="27"
|
||||||
|
android:viewportHeight="27">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h27v27h-27z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M26.634,22.024L15.394,10.784C16.498,7.963 15.885,4.582 13.616,2.313C11.163,-0.14 7.475,-0.631 4.531,0.78L9.875,6.124L6.126,9.873L0.782,4.529C-0.629,7.473 -0.138,11.161 2.315,13.614C4.584,15.883 7.965,16.496 10.786,15.392L22.026,26.632C22.517,27.123 23.314,27.123 23.743,26.632L26.625,23.75C27.116,23.321 27.116,22.523 26.625,22.033L26.634,22.024Z"
|
||||||
|
android:fillColor="#5E838D"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
286
app/src/main/res/layout/activity_accessibility.xml
Normal file
@ -0,0 +1,286 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/black"
|
||||||
|
android:padding="24dp"
|
||||||
|
tools:context=".presentation.ui.activity.AccessibilityActivity">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/accessibility"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="26sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/subtitle"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/please_allow_auto_clicker_to_use_the_accessibility_service_for_app_features"
|
||||||
|
android:textColor="#CCCCCC"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/title" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/section_permission"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/subtitle">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:src="@drawable/accessibility_permission" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="@string/why_we_use_this_permission"
|
||||||
|
android:textColor="@color/blue"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/permission_explanation"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:text="@string/auto_clicker_uses_the_accessibility_service_api_to_enable_the_following_core_functionalities"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/section_permission" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/section_click"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/permission_explanation">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/accessibility_click" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:text="@string/simulating_clicks_on_device_screen"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/section_swipe"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/section_click">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/accessibility_swipe" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:text="@string/simulating_swipes_on_device_screen"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/while_text"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:text="@string/while_app_is_running"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/section_swipe" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:id="@+id/divider1"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:background="@color/gray"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/while_text" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/section_privacy"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/divider1">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:src="@drawable/accessibility_privacy" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="@string/do_we_collect_any_private_data"
|
||||||
|
android:textColor="@color/blue"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/privacy_detail"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:text="@string/no_we_do_not_collect_any_private_data_through_this_permission"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/section_privacy" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:id="@+id/divider2"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:background="@color/gray"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/privacy_detail" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/section_how"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/divider2">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:src="@drawable/accessibility_guide" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="@string/how_to_enable_permission"
|
||||||
|
android:textColor="@color/blue"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/how_detail"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:text="@string/please_tap_agree_button_then_choose_auto_clicker_in_the_app_list_and_enable_the_accessibility_permission"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/section_how" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/btn_tutorial"
|
||||||
|
android:layout_width="160dp"
|
||||||
|
android:layout_height="26dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:paddingEnd="5dp"
|
||||||
|
android:paddingStart="10dp"
|
||||||
|
android:drawablePadding="5dp"
|
||||||
|
android:drawableStart="@drawable/accessibility_question"
|
||||||
|
android:text="@string/watch_tutorial"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/how_detail" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/bottom_buttons"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="32dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/btn_tutorial">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/btn_agree"
|
||||||
|
android:layout_width="123dp"
|
||||||
|
android:layout_height="43dp"
|
||||||
|
android:layout_marginEnd="8dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:backgroundTint="@color/blue"
|
||||||
|
android:text="@string/agree"
|
||||||
|
android:textColor="@color/white" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/btn_later"
|
||||||
|
android:layout_width="123dp"
|
||||||
|
android:layout_height="43dp"
|
||||||
|
android:layout_marginStart="50dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:text="@string/not_now"
|
||||||
|
android:textColor="@color/white" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
67
app/src/main/res/layout/activity_agreement.xml
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:padding="24dp"
|
||||||
|
tools:context=".presentation.ui.activity.welcome.AgreementActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/logoImageView"
|
||||||
|
android:layout_width="120dp"
|
||||||
|
android:layout_height="120dp"
|
||||||
|
android:src="@mipmap/logo"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/checkboxLayout"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintVertical_bias="0.55" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/checkboxLayout"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="32dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintBottom_toTopOf="@id/btnStart">
|
||||||
|
|
||||||
|
<CheckBox
|
||||||
|
android:id="@+id/checkBoxAgree"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/textAgreement"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:paddingEnd="8dp"
|
||||||
|
android:lineSpacingExtra="8dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="@string/agreement_text"
|
||||||
|
android:textColor="#666666"
|
||||||
|
android:textIsSelectable="false"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/btnStart"
|
||||||
|
android:layout_width="257dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:layout_marginBottom="28dp"
|
||||||
|
android:backgroundTint="@color/blue"
|
||||||
|
android:text="@string/start"
|
||||||
|
android:textAllCaps="false"
|
||||||
|
android:textColor="@android:color/white"
|
||||||
|
android:textSize="21sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent" />
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
10
app/src/main/res/layout/activity_launcher.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
tools:context=".presentation.ui.activity.welcome.LauncherActivity">
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
@ -5,15 +5,123 @@
|
|||||||
android:id="@+id/main"
|
android:id="@+id/main"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".MainActivity">
|
tools:context=".presentation.ui.activity.MainActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/menu"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:src="@drawable/menu"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="@+id/title"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@+id/title"/>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/setting"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:src="@drawable/setting"
|
||||||
|
android:layout_marginEnd="24dp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="@+id/title"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@+id/title" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Hello World!"
|
android:layout_marginTop="16dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:text="@string/app_name"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="32sp"
|
||||||
|
android:textStyle="bold"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/question"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginTop="48dp"
|
||||||
|
android:src="@drawable/question"
|
||||||
|
app:layout_constraintEnd_toEndOf="@id/setting"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/setting" />
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/circle_container"
|
||||||
|
android:layout_width="350dp"
|
||||||
|
android:layout_height="350dp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/title"
|
||||||
|
app:layout_constraintVertical_bias="0.3">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:src="@drawable/light_glow" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="200dp"
|
||||||
|
android:layout_height="200dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:background="@drawable/circle_background"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/center_icon"
|
||||||
|
android:layout_width="72dp"
|
||||||
|
android:layout_height="72dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:src="@drawable/ic_switch" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/center_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:text="@string/start"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="32sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/button_container"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginTop="32dp"
|
||||||
|
android:layout_marginEnd="16dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/circle_container">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/single"
|
||||||
|
android:layout_width="130dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:text="@string/single_point"
|
||||||
|
android:textColor="@color/white" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="56dp"
|
||||||
|
android:layout_height="0dp" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/multi"
|
||||||
|
android:layout_width="130dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:text="@string/multi_point"
|
||||||
|
android:textColor="@color/white" />
|
||||||
|
</LinearLayout>
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
95
app/src/main/res/layout/activity_menu.xml
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
tools:context=".presentation.ui.activity.menu.MenuActivity">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="16dp">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:paddingBottom="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_back"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:src="@drawable/back" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title_menu"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="12dp"
|
||||||
|
android:text="@string/menu"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="24sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:layout_marginBottom="8dp"
|
||||||
|
android:text="@string/settings"
|
||||||
|
android:textColor="@color/gray"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/scripts"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/trouble"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/battery"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/question"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_marginVertical="16dp"
|
||||||
|
android:background="@color/gray" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="8dp"
|
||||||
|
android:text="@string/other"
|
||||||
|
android:textColor="@color/gray"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/share"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/feedback"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/privacy"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/term"
|
||||||
|
layout="@layout/item_menu" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
86
app/src/main/res/layout/activity_scripts.xml
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
tools:context=".presentation.ui.activity.menu.ScriptsActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_back"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
|
android:layout_marginTop="32dp"
|
||||||
|
android:src="@drawable/back"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title_scripts"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:text="@string/scripts"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="32sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@+id/btn_back"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/btn_back"
|
||||||
|
app:layout_constraintTop_toTopOf="@+id/btn_back" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/no_scripts"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:src="@drawable/no_scripts"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintHorizontal_bias="0.493"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintVertical_bias="0.38" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/no_scripts_text"
|
||||||
|
android:textColor="@color/gray"
|
||||||
|
android:textSize="16sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@id/no_scripts"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/no_scripts"
|
||||||
|
app:layout_constraintVertical_bias="0.85" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/create"
|
||||||
|
android:layout_width="223dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:text="@string/create_now"
|
||||||
|
android:textAllCaps="false"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:layout_marginTop="32dp"
|
||||||
|
android:textSize="22sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/no_scripts" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatButton
|
||||||
|
android:id="@+id/import_scripts"
|
||||||
|
android:layout_width="223dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:layout_marginTop="32dp"
|
||||||
|
android:background="@drawable/btn_border_background"
|
||||||
|
android:text="@string/import_scripts"
|
||||||
|
android:textAllCaps="false"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="22sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/create" />
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
10
app/src/main/res/layout/activity_setting.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
tools:context=".presentation.ui.activity.setting.SettingActivity">
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
76
app/src/main/res/layout/activity_splash.xml
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
tools:context=".presentation.ui.activity.welcome.SplashActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/image"
|
||||||
|
android:layout_width="150dp"
|
||||||
|
android:layout_height="150dp"
|
||||||
|
android:src="@mipmap/ic_launcher"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintVertical_bias="0.388" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/main_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/splash_main_title"
|
||||||
|
android:textSize="32sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/image" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/subtitle"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/splash_subtitle"
|
||||||
|
android:textColor="@color/gray"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/main_title" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/loading"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/splash_loading"
|
||||||
|
android:textColor="@color/gray"
|
||||||
|
android:textSize="14sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/subtitle" />
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
android:id="@+id/progress"
|
||||||
|
style="?android:attr/progressBarStyleHorizontal"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:layout_marginStart="53dp"
|
||||||
|
android:layout_marginEnd="53dp"
|
||||||
|
android:layout_marginBottom="80dp"
|
||||||
|
android:max="100"
|
||||||
|
android:progress="0"
|
||||||
|
android:progressDrawable="@drawable/progress_gradient"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent" />
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
46
app/src/main/res/layout/item_menu.xml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:background="?attr/selectableItemBackground"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_marginBottom="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/icon"
|
||||||
|
android:layout_width="36dp"
|
||||||
|
android:layout_height="36dp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginStart="12dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/title"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/subtitle"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/subtitle"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/arrow"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:src="@drawable/arrow_right" />
|
||||||
|
</LinearLayout>
|
||||||
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<background android:drawable="@drawable/ic_launcher_background" />
|
|
||||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
|
||||||
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
|
||||||
</adaptive-icon>
|
|
||||||
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
app/src/main/res/mipmap-hdpi/logo.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 982 B |
BIN
app/src/main/res/mipmap-mdpi/logo.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/mipmap-xhdpi/logo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/logo.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/logo.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
app/src/main/res/raw/click_1.mp4
Normal file
@ -2,4 +2,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<color name="black">#FF000000</color>
|
<color name="black">#FF000000</color>
|
||||||
<color name="white">#FFFFFFFF</color>
|
<color name="white">#FFFFFFFF</color>
|
||||||
|
<color name="blue">#0BC4FC</color>
|
||||||
|
<color name="gray">#616161</color>
|
||||||
</resources>
|
</resources>
|
||||||
@ -1,3 +1,40 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Auto Clicker</string>
|
<string name="app_name">Auto Clicker</string>
|
||||||
|
<string name="app_logo">App Logo</string>
|
||||||
|
<string name="agreement_text">
|
||||||
|
I have read and Accept the <font color="#0BC4FC"><a href="https://yourdomain.com/privacy">Privacy Policy</a></font> and
|
||||||
|
<font color="#0BC4FC"><a href="https://yourdomain.com/terms">Terms & Conditions</a></font>
|
||||||
|
</string>
|
||||||
|
<string name="splash_main_title"><font color="#0BC4FC">AUTO</font> <font color="#FFFFFF">CLICKER</font></string>
|
||||||
|
<string name="splash_subtitle">Automatic Tap & Gesture</string>
|
||||||
|
<string name="splash_loading">Loading . . .</string>
|
||||||
|
<string name="start">Start</string>
|
||||||
|
<string name="single_point">Single-Point</string>
|
||||||
|
<string name="multi_point">Multi-Point</string>
|
||||||
|
<string name="menu">Menu</string>
|
||||||
|
<string name="settings">Settings</string>
|
||||||
|
<string name="other">Other</string>
|
||||||
|
<string name="title">Title</string>
|
||||||
|
<string name="subtitle">Subtitle</string>
|
||||||
|
<string name="scripts">Scripts</string>
|
||||||
|
<string name="no_scripts_text">Your saved scripts \nwill be shown here</string>
|
||||||
|
<string name="create_now">Create Now</string>
|
||||||
|
<string name="import_scripts">Import</string>
|
||||||
|
<string name="accessibility">Accessibility</string>
|
||||||
|
<string name="please_tap_agree_button_then_choose_auto_clicker_in_the_app_list_and_enable_the_accessibility_permission">Please tap \'<font color="#0BC4FC">Agree</font>\' button, then choose \nAuto Clicker in the app list and enable the \nAccessibility permission</string>
|
||||||
|
<string name="watch_tutorial">Watch Tutorial</string>
|
||||||
|
<string name="why_we_use_this_permission">Why we use this\npermission?</string>
|
||||||
|
<string name="auto_clicker_uses_the_accessibility_service_api_to_enable_the_following_core_functionalities">Auto Clicker uses the Accessibility Service API
|
||||||
|
permission to enable the following core
|
||||||
|
functionalities.</string>
|
||||||
|
<string name="simulating_clicks_on_device_screen">- Simulating clicks on device screen</string>
|
||||||
|
<string name="simulating_swipes_on_device_screen">- Simulating swipes on device screen</string>
|
||||||
|
<string name="do_we_collect_any_private_data">Do we collect any private\ndata?</string>
|
||||||
|
<string name="no_we_do_not_collect_any_private_data_through_this_permission"><font color="#0BC4FC">NO.</font> We do not collect any private data through this permission</string>
|
||||||
|
<string name="how_to_enable_permission">How to enable permission?</string>
|
||||||
|
<string name="agree">Agree</string>
|
||||||
|
<string name="not_now">Not Now</string>
|
||||||
|
<string name="please_allow_auto_clicker_to_use_the_accessibility_service_for_app_features">Please allow Auto Clicker to use the\nAccessibility Service for app features.</string>
|
||||||
|
<string name="while_app_is_running">while app is running.</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
@ -3,6 +3,7 @@
|
|||||||
<style name="Base.Theme.AutoClicker" parent="Theme.Material3.DayNight.NoActionBar">
|
<style name="Base.Theme.AutoClicker" parent="Theme.Material3.DayNight.NoActionBar">
|
||||||
<!-- Customize your light theme here. -->
|
<!-- Customize your light theme here. -->
|
||||||
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
|
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
|
||||||
|
<item name="android:windowBackground">@drawable/activity_background</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.AutoClicker" parent="Base.Theme.AutoClicker" />
|
<style name="Theme.AutoClicker" parent="Base.Theme.AutoClicker" />
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
[versions]
|
[versions]
|
||||||
agp = "8.9.2"
|
agp = "8.10.0"
|
||||||
junit = "4.13.2"
|
junit = "4.13.2"
|
||||||
junitVersion = "1.2.1"
|
junitVersion = "1.2.1"
|
||||||
espressoCore = "3.6.1"
|
espressoCore = "3.6.1"
|
||||||
|
|||||||