Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions app/src/main/res/layout-v14/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
Expand All @@ -10,7 +9,7 @@
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#22000000"/>
android:background="#22000000" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -23,42 +22,43 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/show_window"/>
android:text="@string/show_window" />

<Switch
android:id="@+id/sw_window"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content" />
</LinearLayout>

<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#22000000"/>
android:background="#22000000" />

<LinearLayout
android:id="@+id/useNotificationPref"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:minHeight="48dp"
android:padding="8dp">
android:minHeight="48dp">

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/use_toggle_notification"/>
android:padding="8dp"
android:text="@string/use_toggle_notification" />

<Switch
android:id="@+id/sw_notification"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content"
android:padding="8dp" />
</LinearLayout>

<TextView
android:id="@+id/divider_useNotificationPref"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#22000000"/>
android:background="#22000000" />
</LinearLayout>
23 changes: 23 additions & 0 deletions app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">Current Activity</string>

<string name="shortcut_action">Mudar monitor</string>

<string name="log" translatable="false">Log</string>
<string name="show_window">Mostrar janela flutuante</string>
<string name="use_toggle_notification">Desativar notificação do app enquanto ele estiver ativo no painel de configurações rápidas</string>
<string name="is_running">%s em execução</string>
<string name="touch_to_open">Toque para configurar</string>
<string name="noti_action_pause">Pausar</string>
<string name="noti_action_resume">Retomar</string>
<string name="noti_action_stop">Parar</string>

<string name="dialog_enable_accessibility_msg">Habilite esse app nas configurações de acessibilidade do seu aparelho para poder obter informações sobre a activity atual no Android 5.0 ou superior</string>
<string name="dialog_enable_accessibility_positive_btn">Habilitar</string>
<string name="toast_add_tile">"Adicione o ícone do app no painel de configurações rápidas primeiro! "</string>

<string name="dialog_enable_overlay_window_msg">Habilite a permissão para sobrepor a tela de outros aplicativos no Android 7.1.1 ou superior</string>
<string name="dialog_enable_overlay_window_positive_btn">configurações</string>
</resources>