From a4b2745b7b62710dd8dfe3dd793115ebe005714d Mon Sep 17 00:00:00 2001 From: jens Date: Sun, 13 Jun 2021 13:53:14 +0200 Subject: [PATCH] Layout changes --- .../ActivityManageActionPlaySound.java | 3 +- ... => activity_manage_action_play_sound.xml} | 2 +- ...ctivity_manage_action_send_textmessage.xml | 2 +- .../activity_manage_trigger_bluetooth.xml | 6 +-- .../layout/activity_manage_trigger_nfc.xml | 3 +- .../activity_manage_trigger_notification.xml | 5 +- .../activity_manage_trigger_phone_call.xml | 1 + .../activity_manage_trigger_timeframe.xml | 47 ++++++++++--------- app/src/main/res/values-de/strings.xml | 2 +- app/src/main/res/values-es/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 2 +- app/src/main/res/values/strings.xml | 2 +- 12 files changed, 40 insertions(+), 37 deletions(-) rename app/src/main/res/layout/{activity_manage_play_sound.xml => activity_manage_action_play_sound.xml} (96%) diff --git a/app/src/main/java/com/jens/automation2/ActivityManageActionPlaySound.java b/app/src/main/java/com/jens/automation2/ActivityManageActionPlaySound.java index 229df671..257c9444 100644 --- a/app/src/main/java/com/jens/automation2/ActivityManageActionPlaySound.java +++ b/app/src/main/java/com/jens/automation2/ActivityManageActionPlaySound.java @@ -8,7 +8,6 @@ import android.view.View; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; -import android.widget.TextView; import android.widget.Toast; import androidx.annotation.Nullable; @@ -27,7 +26,7 @@ public class ActivityManageActionPlaySound extends Activity protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setContentView(R.layout.activity_manage_play_sound); + setContentView(R.layout.activity_manage_action_play_sound); chkPlaySoundAlwaysPlay = (CheckBox)findViewById(R.id.chkPlaySoundAlwaysPlay); etSelectedSoundFile = (EditText)findViewById(R.id.etSelectedSoundFile); diff --git a/app/src/main/res/layout/activity_manage_play_sound.xml b/app/src/main/res/layout/activity_manage_action_play_sound.xml similarity index 96% rename from app/src/main/res/layout/activity_manage_play_sound.xml rename to app/src/main/res/layout/activity_manage_action_play_sound.xml index f5c2d56d..cb57682e 100644 --- a/app/src/main/res/layout/activity_manage_play_sound.xml +++ b/app/src/main/res/layout/activity_manage_action_play_sound.xml @@ -27,7 +27,7 @@