mirror of
https://github.com/stan220/Zte-F660-Control.git
synced 2026-09-09 03:28:41 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4aec36f2d1 | ||
|
|
b9d4d4224a | ||
|
|
f0f43f3cab | ||
|
|
eec4ad4d1c | ||
|
|
e2cb51b382 | ||
|
|
f17c873e8a |
@@ -1,4 +1,4 @@
|
||||
name: Android CI - Publish Apk
|
||||
name: Android CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -10,19 +10,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
||||
- name: set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
|
||||
- name: Make Gradle executable
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Build Debug APK
|
||||
run: ./gradlew assembleDebug
|
||||
|
||||
- name: Debug APK Publisher
|
||||
@@ -6,6 +6,7 @@ import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.text.method.ScrollingMovementMethod;
|
||||
import android.view.View;
|
||||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
@@ -50,14 +51,8 @@ public class MainActivity extends AppCompatActivity {
|
||||
}));
|
||||
|
||||
System.out.println("App started!!!");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
|
||||
System.out.println("App resumed!!!");
|
||||
new DownloadFilesTask(this).execute();
|
||||
|
||||
}
|
||||
|
||||
public void onSwitchClick(View view) {
|
||||
@@ -175,7 +170,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
switchAlisa.setChecked(false);
|
||||
}
|
||||
|
||||
Toast.makeText(context, "Статус обновлён!", Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(context, "Состояние обновлено!", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -5,9 +5,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:foregroundGravity="fill"
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp">
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/switchTab"
|
||||
@@ -36,8 +34,7 @@
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="538dp"
|
||||
android:layout_gravity="fill"
|
||||
android:layout_height="586dp"
|
||||
android:fadeScrollbars="false"
|
||||
android:gravity="bottom"
|
||||
android:isScrollContainer="true"
|
||||
|
||||
Reference in New Issue
Block a user