Messaging: Show the automation home preview and shorten pill shadows.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+9
@@ -78,6 +78,7 @@ import com.android.messaging.datamodel.data.ConversationListData;
|
|||||||
import com.android.messaging.datamodel.data.ConversationListData.ConversationListDataListener;
|
import com.android.messaging.datamodel.data.ConversationListData.ConversationListDataListener;
|
||||||
import com.android.messaging.datamodel.data.ConversationListItemData;
|
import com.android.messaging.datamodel.data.ConversationListItemData;
|
||||||
import com.android.messaging.ui.ContactIconView;
|
import com.android.messaging.ui.ContactIconView;
|
||||||
|
import com.android.messaging.ui.home.HomeAutomationHome;
|
||||||
import com.android.messaging.ui.home.HomeCategoryAddModal;
|
import com.android.messaging.ui.home.HomeCategoryAddModal;
|
||||||
import com.android.messaging.ui.home.HomeCategoryAssignSheet;
|
import com.android.messaging.ui.home.HomeCategoryAssignSheet;
|
||||||
import com.android.messaging.ui.home.HomeCategoryClassifier;
|
import com.android.messaging.ui.home.HomeCategoryClassifier;
|
||||||
@@ -521,6 +522,7 @@ public class ConversationListFragment extends Fragment implements ConversationLi
|
|||||||
bindHomeCategoryStrip();
|
bindHomeCategoryStrip();
|
||||||
mHomeTitle = rootView.findViewById(R.id.home_title);
|
mHomeTitle = rootView.findViewById(R.id.home_title);
|
||||||
mHomeAutomationPane = rootView.findViewById(R.id.home_automation_pane);
|
mHomeAutomationPane = rootView.findViewById(R.id.home_automation_pane);
|
||||||
|
HomeAutomationHome.bind(mHomeAutomationPane);
|
||||||
mHomeNavDock = rootView.findViewById(R.id.home_nav_dock);
|
mHomeNavDock = rootView.findViewById(R.id.home_nav_dock);
|
||||||
mHomeNavMessages = rootView.findViewById(R.id.home_nav_messages);
|
mHomeNavMessages = rootView.findViewById(R.id.home_nav_messages);
|
||||||
bindHomeNavTab(mHomeNavMessages, R.drawable.ic_home_nav_messages,
|
bindHomeNavTab(mHomeNavMessages, R.drawable.ic_home_nav_messages,
|
||||||
@@ -1473,6 +1475,7 @@ public class ConversationListFragment extends Fragment implements ConversationLi
|
|||||||
updateHomeComposeButtonVisibility(animate);
|
updateHomeComposeButtonVisibility(animate);
|
||||||
updateHomeNavHighlight(animate);
|
updateHomeNavHighlight(animate);
|
||||||
updateHomeMainNavVisibility();
|
updateHomeMainNavVisibility();
|
||||||
|
updateHomeEditButtonForPinnedMode();
|
||||||
refreshPinnedStrip();
|
refreshPinnedStrip();
|
||||||
updateListTopFade();
|
updateListTopFade();
|
||||||
mHomeTabReady = true;
|
mHomeTabReady = true;
|
||||||
@@ -3043,11 +3046,17 @@ public class ConversationListFragment extends Fragment implements ConversationLi
|
|||||||
} else {
|
} else {
|
||||||
HomeUiMotion.swapOverlayChip(mHomePinnedDoneButton, mHomeEditButton);
|
HomeUiMotion.swapOverlayChip(mHomePinnedDoneButton, mHomeEditButton);
|
||||||
if (mHomeEditButton != null) {
|
if (mHomeEditButton != null) {
|
||||||
|
if (mHomeTab == HOME_TAB_AUTOMATE) {
|
||||||
|
mHomeEditButton.setText(R.string.home_automation_manage);
|
||||||
|
mHomeEditButton.setOnClickListener(v -> HomeToast.show(requireContext(),
|
||||||
|
R.string.home_automate_coming_soon));
|
||||||
|
} else {
|
||||||
mHomeEditButton.setText(R.string.home_edit);
|
mHomeEditButton.setText(R.string.home_edit);
|
||||||
mHomeEditButton.setOnClickListener(this::showHomeEditPopover);
|
mHomeEditButton.setOnClickListener(this::showHomeEditPopover);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void refreshPinnedStrip() {
|
private void refreshPinnedStrip() {
|
||||||
if (mHomePinnedStrip == null || isSubList()
|
if (mHomePinnedStrip == null || isSubList()
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ public class HomeAutomationActivity extends BugleActionBarActivity {
|
|||||||
getSupportActionBar().hide();
|
getSupportActionBar().hide();
|
||||||
}
|
}
|
||||||
HomeSubHeader.bind(this, R.string.home_automation_title, v -> finish());
|
HomeSubHeader.bind(this, R.string.home_automation_title, v -> finish());
|
||||||
|
HomeAutomationHome.bind(findViewById(R.id.home_automation_pane));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -0,0 +1,94 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2026 The LineageOS Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
package com.android.messaging.ui.home;
|
||||||
|
|
||||||
|
import android.view.View;
|
||||||
|
import android.widget.ImageView;
|
||||||
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
import com.android.messaging.R;
|
||||||
|
|
||||||
|
/** Binds the Automation home preview: modes, sample rules, and local toggles. */
|
||||||
|
public final class HomeAutomationHome {
|
||||||
|
|
||||||
|
private HomeAutomationHome() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void bind(final View root) {
|
||||||
|
if (root == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
bindChip(root, R.id.home_automation_rule_missed_chip1,
|
||||||
|
R.string.home_automation_rule_missed_chip1);
|
||||||
|
bindChip(root, R.id.home_automation_rule_missed_chip2,
|
||||||
|
R.string.home_automation_rule_missed_chip2);
|
||||||
|
bindChip(root, R.id.home_automation_rule_thanks_chip1,
|
||||||
|
R.string.home_automation_rule_thanks_chip1);
|
||||||
|
bindChip(root, R.id.home_automation_rule_thanks_chip2,
|
||||||
|
R.string.home_automation_rule_thanks_chip2);
|
||||||
|
bindChip(root, R.id.home_automation_rule_weekly_chip1,
|
||||||
|
R.string.home_automation_rule_weekly_chip1);
|
||||||
|
bindChip(root, R.id.home_automation_rule_weekly_chip2,
|
||||||
|
R.string.home_automation_rule_weekly_chip2);
|
||||||
|
|
||||||
|
comingSoon(root, R.id.home_automation_modes_more);
|
||||||
|
comingSoon(root, R.id.home_automation_mode_call);
|
||||||
|
comingSoon(root, R.id.home_automation_mode_cards);
|
||||||
|
comingSoon(root, R.id.home_automation_rules_sort);
|
||||||
|
comingSoon(root, R.id.home_automation_rule_missed);
|
||||||
|
comingSoon(root, R.id.home_automation_rule_thanks);
|
||||||
|
comingSoon(root, R.id.home_automation_rule_weekly);
|
||||||
|
|
||||||
|
bindSwitch(root, R.id.home_automation_rule_missed_switch, true);
|
||||||
|
bindSwitch(root, R.id.home_automation_rule_thanks_switch, true);
|
||||||
|
bindSwitch(root, R.id.home_automation_rule_weekly_switch, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void bindChip(final View root, final int chipId, final int labelId) {
|
||||||
|
final View chip = root.findViewById(chipId);
|
||||||
|
if (chip == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
final TextView label = chip.findViewById(R.id.home_automation_chip_label);
|
||||||
|
if (label != null) {
|
||||||
|
label.setText(labelId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void comingSoon(final View root, final int id) {
|
||||||
|
final View view = root.findViewById(id);
|
||||||
|
if (view != null) {
|
||||||
|
view.setOnClickListener(v -> HomeToast.show(v.getContext(),
|
||||||
|
R.string.home_automate_coming_soon));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void bindSwitch(final View root, final int id, final boolean on) {
|
||||||
|
final View view = root.findViewById(id);
|
||||||
|
if (!(view instanceof ImageView)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
final ImageView toggle = (ImageView) view;
|
||||||
|
applySwitch(toggle, on);
|
||||||
|
toggle.setOnClickListener(v -> applySwitch(toggle, !toggle.isSelected()));
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void applySwitch(final ImageView toggle, final boolean on) {
|
||||||
|
toggle.setSelected(on);
|
||||||
|
toggle.setContentDescription(toggle.getResources().getString(
|
||||||
|
on ? R.string.home_automation_on : R.string.home_automation_off));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_xl" />
|
||||||
|
<solid android:color="@color/home_automation_banner_bg" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:color="#14000000">
|
||||||
|
<item>
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_xl" />
|
||||||
|
<solid android:color="@color/home_row_bg" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</ripple>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
|
<solid android:color="@color/home_chip_bg" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="oval">
|
||||||
|
<solid android:color="@color/home_switch_on" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="oval">
|
||||||
|
<solid android:color="@color/home_automation_chip_dot" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="oval">
|
||||||
|
<solid android:color="@color/home_automation_icon_bg" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
|
<solid android:color="@color/home_chip_bg" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
|
<solid android:color="@color/home_automation_on_bg" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_md" />
|
||||||
|
<solid android:color="@color/home_automation_quote_bg" />
|
||||||
|
</shape>
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item
|
||||||
|
android:bottom="-1dp"
|
||||||
|
android:left="6dp"
|
||||||
|
android:right="6dp"
|
||||||
|
android:top="5dp">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<gradient
|
||||||
|
android:angle="270"
|
||||||
|
android:centerColor="@color/home_shadow_spread_mid"
|
||||||
|
android:centerY="0.35"
|
||||||
|
android:endColor="@android:color/transparent"
|
||||||
|
android:startColor="@color/home_shadow_spread_outer"
|
||||||
|
android:type="linear" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="1dp"
|
||||||
|
android:left="3dp"
|
||||||
|
android:right="3dp"
|
||||||
|
android:top="3dp">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<solid android:color="@color/home_shadow_spread_inner" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="@dimen/home_bottom_dock_shadow_inset"
|
||||||
|
android:left="3dp"
|
||||||
|
android:right="3dp"
|
||||||
|
android:top="0dp">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<solid android:color="@color/home_bottom_dock_face" />
|
||||||
|
<stroke
|
||||||
|
android:width="0.5dp"
|
||||||
|
android:color="@color/home_button_stroke" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item
|
||||||
|
android:bottom="-1dp"
|
||||||
|
android:left="6dp"
|
||||||
|
android:right="6dp"
|
||||||
|
android:top="5dp">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
|
<gradient
|
||||||
|
android:angle="270"
|
||||||
|
android:centerColor="@color/home_shadow_spread_mid"
|
||||||
|
android:centerY="0.35"
|
||||||
|
android:endColor="@android:color/transparent"
|
||||||
|
android:startColor="@color/home_shadow_spread_outer"
|
||||||
|
android:type="linear" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="1dp"
|
||||||
|
android:left="3dp"
|
||||||
|
android:right="3dp"
|
||||||
|
android:top="3dp">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
|
<solid android:color="@color/home_shadow_spread_inner" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="5dp"
|
||||||
|
android:left="0dp"
|
||||||
|
android:right="0dp"
|
||||||
|
android:top="0dp">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
|
<solid android:color="@color/home_bottom_dock_face" />
|
||||||
|
<stroke
|
||||||
|
android:width="0.5dp"
|
||||||
|
android:color="@color/home_button_stroke" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item
|
<item
|
||||||
android:bottom="-1dp"
|
android:bottom="0dp"
|
||||||
android:left="3dp"
|
android:left="4dp"
|
||||||
android:right="3dp"
|
android:right="4dp"
|
||||||
android:top="4dp">
|
android:top="3dp">
|
||||||
<shape android:shape="oval">
|
<shape android:shape="oval">
|
||||||
<gradient
|
<gradient
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<item
|
<item
|
||||||
android:bottom="5dp"
|
android:bottom="4dp"
|
||||||
android:left="0dp"
|
android:left="0dp"
|
||||||
android:right="0dp"
|
android:right="0dp"
|
||||||
android:top="0dp">
|
android:top="0dp">
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item
|
<item
|
||||||
android:bottom="-2dp"
|
android:bottom="-1dp"
|
||||||
android:left="5dp"
|
android:left="6dp"
|
||||||
android:right="5dp"
|
android:right="6dp"
|
||||||
android:top="6dp">
|
android:top="5dp">
|
||||||
<shape android:shape="oval">
|
<shape android:shape="oval">
|
||||||
<gradient
|
<gradient
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<!-- Wide soft spread -->
|
<!-- Wide soft spread -->
|
||||||
<item
|
<item
|
||||||
android:bottom="-2dp"
|
android:bottom="-1dp"
|
||||||
android:left="5dp"
|
android:left="6dp"
|
||||||
android:right="5dp"
|
android:right="6dp"
|
||||||
android:top="6dp">
|
android:top="5dp">
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<corners android:radius="@dimen/looply_radius_pill" />
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
<gradient
|
<gradient
|
||||||
@@ -19,8 +19,8 @@
|
|||||||
</item>
|
</item>
|
||||||
<item
|
<item
|
||||||
android:bottom="1dp"
|
android:bottom="1dp"
|
||||||
android:left="2dp"
|
android:left="3dp"
|
||||||
android:right="2dp"
|
android:right="3dp"
|
||||||
android:top="3dp">
|
android:top="3dp">
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<corners android:radius="@dimen/looply_radius_pill" />
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
</item>
|
</item>
|
||||||
<!-- Face -->
|
<!-- Face -->
|
||||||
<item
|
<item
|
||||||
android:bottom="6dp"
|
android:bottom="5dp"
|
||||||
android:left="0dp"
|
android:left="0dp"
|
||||||
android:right="0dp"
|
android:right="0dp"
|
||||||
android:top="0dp">
|
android:top="0dp">
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item
|
<item
|
||||||
android:bottom="-2dp"
|
android:bottom="-1dp"
|
||||||
android:left="5dp"
|
android:left="6dp"
|
||||||
android:right="5dp"
|
android:right="6dp"
|
||||||
android:top="6dp">
|
android:top="5dp">
|
||||||
<shape android:shape="oval">
|
<shape android:shape="oval">
|
||||||
<gradient
|
<gradient
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item
|
<item
|
||||||
android:bottom="-1dp"
|
android:bottom="0dp"
|
||||||
android:left="4dp"
|
android:left="5dp"
|
||||||
android:right="4dp"
|
android:right="5dp"
|
||||||
android:top="4dp">
|
android:top="3dp">
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<corners android:radius="@dimen/looply_radius_pill" />
|
<corners android:radius="@dimen/looply_radius_pill" />
|
||||||
<gradient
|
<gradient
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<item
|
<item
|
||||||
android:bottom="5dp"
|
android:bottom="4dp"
|
||||||
android:left="0dp"
|
android:left="0dp"
|
||||||
android:right="0dp"
|
android:right="0dp"
|
||||||
android:top="0dp">
|
android:top="0dp">
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M4,4h7v7H4V4zM13,4h7v7h-7V4zM4,13h7v7H4v-7zM13,13h7v7h-7v-7z" />
|
||||||
|
</vector>
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="64dp"
|
android:minWidth="64dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:contentDescription="@string/home_filter_content_description"
|
android:contentDescription="@string/home_filter_content_description"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:paddingBottom="5dp"
|
android:paddingBottom="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
@@ -391,7 +391,8 @@
|
|||||||
android:id="@+id/home_automation_pane"
|
android:id="@+id/home_automation_pane"
|
||||||
layout="@layout/home_automation_pane"
|
layout="@layout/home_automation_pane"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/home_selection_bar"
|
android:id="@+id/home_selection_bar"
|
||||||
@@ -415,7 +416,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:paddingStart="@dimen/home_nav_item_padding"
|
android:paddingStart="@dimen/home_nav_item_padding"
|
||||||
@@ -468,7 +469,7 @@
|
|||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:contentDescription="@string/home_selection_delete"
|
android:contentDescription="@string/home_selection_delete"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
@@ -500,10 +501,10 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_bottom_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:paddingStart="@dimen/home_nav_item_padding"
|
android:paddingStart="@dimen/home_nav_item_padding"
|
||||||
@@ -552,7 +553,7 @@
|
|||||||
android:layout_height="@dimen/home_bottom_dock_height"
|
android:layout_height="@dimen/home_bottom_dock_height"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot">
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot">
|
||||||
|
|
||||||
@@ -560,9 +561,9 @@
|
|||||||
android:id="@+id/home_nav_search"
|
android:id="@+id/home_nav_search"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/home_bg_dock_fab"
|
android:background="@drawable/home_bg_bottom_dock_fab"
|
||||||
android:contentDescription="@string/home_compose_content_description"
|
android:contentDescription="@string/home_compose_content_description"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:paddingStart="3dp"
|
android:paddingStart="3dp"
|
||||||
@@ -577,9 +578,9 @@
|
|||||||
android:id="@+id/home_nav_automation_create"
|
android:id="@+id/home_nav_automation_create"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/home_bg_dock_fab"
|
android:background="@drawable/home_bg_bottom_dock_fab"
|
||||||
android:contentDescription="@string/home_automation_create_content_description"
|
android:contentDescription="@string/home_automation_create_content_description"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:paddingStart="3dp"
|
android:paddingStart="3dp"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<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_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/home_bg"
|
android:background="@color/home_bg"
|
||||||
@@ -9,39 +8,10 @@
|
|||||||
|
|
||||||
<include layout="@layout/home_sub_header" />
|
<include layout="@layout/home_sub_header" />
|
||||||
|
|
||||||
<LinearLayout
|
<include
|
||||||
|
android:id="@+id/home_automation_pane"
|
||||||
|
layout="@layout/home_automation_pane"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1" />
|
||||||
android:gravity="center"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:paddingStart="@dimen/looply_screen_padding"
|
|
||||||
android:paddingEnd="@dimen/looply_screen_padding">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:contentDescription="@null"
|
|
||||||
android:src="@drawable/ic_home_nav_automate"
|
|
||||||
app:tint="@color/home_text_secondary" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/looply_space_lg"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/home_automation_empty_title"
|
|
||||||
android:textColor="@color/home_text_primary"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/looply_space_sm"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/home_automation_empty_body"
|
|
||||||
android:textColor="@color/home_text_secondary"
|
|
||||||
android:textSize="15sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:background="@drawable/home_bg_automation_chip"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:paddingEnd="8dp">
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="6dp"
|
||||||
|
android:layout_height="6dp"
|
||||||
|
android:background="@drawable/home_bg_automation_dot" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/home_automation_chip_label"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="6dp"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textColor="@color/home_chip_text"
|
||||||
|
android:textSize="11sp" />
|
||||||
|
</LinearLayout>
|
||||||
@@ -1,40 +1,529 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:id="@+id/home_automation_pane"
|
android:id="@+id/home_automation_pane"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/home_bg"
|
android:background="@color/home_bg"
|
||||||
android:gravity="center"
|
android:clipToPadding="false"
|
||||||
|
android:fillViewport="true"
|
||||||
|
android:overScrollMode="ifContentScrolls"
|
||||||
|
android:scrollbars="none">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingStart="@dimen/looply_screen_padding"
|
android:paddingStart="@dimen/looply_screen_padding"
|
||||||
|
android:paddingTop="@dimen/looply_space_sm"
|
||||||
android:paddingEnd="@dimen/looply_screen_padding"
|
android:paddingEnd="@dimen/looply_screen_padding"
|
||||||
android:paddingBottom="104dp"
|
android:paddingBottom="@dimen/home_empty_dock_padding">
|
||||||
android:visibility="gone">
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/home_bg_automation_banner"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:padding="@dimen/looply_space_lg">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="48dp"
|
android:layout_width="36dp"
|
||||||
android:layout_height="48dp"
|
android:layout_height="36dp"
|
||||||
|
android:background="@drawable/home_bg_automation_icon"
|
||||||
android:contentDescription="@null"
|
android:contentDescription="@null"
|
||||||
|
android:padding="8dp"
|
||||||
android:src="@drawable/ic_home_nav_automate"
|
android:src="@drawable/ic_home_nav_automate"
|
||||||
app:tint="@color/home_text_secondary" />
|
app:tint="@color/home_accent" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="@dimen/looply_space_md"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_banner"
|
||||||
|
android:textColor="@color/home_text_primary"
|
||||||
|
android:textSize="13sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_xl"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_modes_title"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/home_automation_modes_more"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:paddingStart="@dimen/looply_space_sm"
|
||||||
|
android:paddingTop="@dimen/looply_space_xs"
|
||||||
|
android:paddingBottom="@dimen/looply_space_xs"
|
||||||
|
android:text="@string/home_automation_see_more"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="13sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/home_automation_mode_call"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_marginEnd="6dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:background="@drawable/home_bg_automation_card"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="@dimen/looply_space_lg">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="22dp"
|
||||||
|
android:layout_height="22dp"
|
||||||
|
android:contentDescription="@null"
|
||||||
|
android:src="@drawable/ic_home_nav_calls"
|
||||||
|
app:tint="@color/home_text_primary" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/home_bg_automation_on"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:paddingTop="2dp"
|
||||||
|
android:paddingEnd="8dp"
|
||||||
|
android:paddingBottom="2dp"
|
||||||
|
android:text="@string/home_automation_on"
|
||||||
|
android:textColor="@color/home_switch_on"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/looply_space_lg"
|
android:layout_marginTop="@dimen/looply_space_lg"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_mode_call_title"
|
||||||
|
android:textColor="@color/home_text_primary"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_mode_call_body"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/home_automation_mode_cards"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_marginStart="6dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:background="@drawable/home_bg_automation_card"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="@dimen/looply_space_lg">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="22dp"
|
||||||
|
android:layout_height="22dp"
|
||||||
|
android:contentDescription="@null"
|
||||||
|
android:src="@drawable/ic_home_automation_grid"
|
||||||
|
app:tint="@color/home_text_primary" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/home_bg_automation_meta"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:paddingTop="2dp"
|
||||||
|
android:paddingEnd="8dp"
|
||||||
|
android:paddingBottom="2dp"
|
||||||
|
android:text="@string/home_automation_mode_cards_count"
|
||||||
|
android:textColor="@color/home_chip_text"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_lg"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_mode_cards_title"
|
||||||
|
android:textColor="@color/home_text_primary"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_mode_cards_body"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_xl"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rules_title"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="18dp"
|
||||||
|
android:layout_height="18dp"
|
||||||
|
android:layout_marginStart="6dp"
|
||||||
|
android:background="@drawable/home_bg_automation_count"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/home_automation_empty_title"
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rules_count"
|
||||||
|
android:textColor="@android:color/white"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/home_automation_rules_sort"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:paddingStart="@dimen/looply_space_sm"
|
||||||
|
android:paddingTop="@dimen/looply_space_xs"
|
||||||
|
android:paddingBottom="@dimen/looply_space_xs"
|
||||||
|
android:text="@string/home_automation_rules_sort"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="13sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/home_automation_rule_missed"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:background="@drawable/home_bg_automation_card"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="@dimen/looply_space_lg">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/home_automation_rule_missed_chip1"
|
||||||
|
layout="@layout/home_automation_chip" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/home_automation_rule_missed_chip2"
|
||||||
|
layout="@layout/home_automation_chip"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginStart="6dp" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/home_automation_rule_missed_switch"
|
||||||
|
android:layout_width="@dimen/home_switch_width"
|
||||||
|
android:layout_height="@dimen/home_switch_height"
|
||||||
|
android:contentDescription="@string/home_automation_on"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/home_switch" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_missed_title"
|
||||||
android:textColor="@color/home_text_primary"
|
android:textColor="@color/home_text_primary"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/looply_space_sm"
|
android:layout_marginTop="@dimen/looply_space_sm"
|
||||||
android:gravity="center"
|
android:background="@drawable/home_bg_automation_quote"
|
||||||
android:text="@string/home_automation_empty_body"
|
android:includeFontPadding="false"
|
||||||
|
android:padding="@dimen/looply_space_md"
|
||||||
|
android:text="@string/home_automation_rule_missed_quote"
|
||||||
|
android:textColor="@color/home_text_snippet"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_missed_target"
|
||||||
android:textColor="@color/home_text_secondary"
|
android:textColor="@color/home_text_secondary"
|
||||||
android:textSize="15sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_missed_sent"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/home_automation_rule_thanks"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:background="@drawable/home_bg_automation_card"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="@dimen/looply_space_lg">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/home_automation_rule_thanks_chip1"
|
||||||
|
layout="@layout/home_automation_chip" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/home_automation_rule_thanks_chip2"
|
||||||
|
layout="@layout/home_automation_chip"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginStart="6dp" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/home_automation_rule_thanks_switch"
|
||||||
|
android:layout_width="@dimen/home_switch_width"
|
||||||
|
android:layout_height="@dimen/home_switch_height"
|
||||||
|
android:contentDescription="@string/home_automation_on"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/home_switch" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_thanks_title"
|
||||||
|
android:textColor="@color/home_text_primary"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_sm"
|
||||||
|
android:background="@drawable/home_bg_automation_quote"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:padding="@dimen/looply_space_md"
|
||||||
|
android:text="@string/home_automation_rule_thanks_quote"
|
||||||
|
android:textColor="@color/home_text_snippet"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_thanks_target"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_thanks_sent"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/home_automation_rule_weekly"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:background="@drawable/home_bg_automation_card"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="@dimen/looply_space_lg">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/home_automation_rule_weekly_chip1"
|
||||||
|
layout="@layout/home_automation_chip" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
android:id="@+id/home_automation_rule_weekly_chip2"
|
||||||
|
layout="@layout/home_automation_chip"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_marginStart="6dp" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/home_automation_rule_weekly_switch"
|
||||||
|
android:layout_width="@dimen/home_switch_width"
|
||||||
|
android:layout_height="@dimen/home_switch_height"
|
||||||
|
android:contentDescription="@string/home_automation_on"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/home_switch" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_weekly_title"
|
||||||
|
android:textColor="@color/home_text_primary"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_sm"
|
||||||
|
android:background="@drawable/home_bg_automation_quote"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:padding="@dimen/looply_space_md"
|
||||||
|
android:text="@string/home_automation_rule_weekly_quote"
|
||||||
|
android:textColor="@color/home_text_snippet"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/looply_space_md"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_weekly_target"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:text="@string/home_automation_rule_weekly_sent"
|
||||||
|
android:textColor="@color/home_text_secondary"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
android:layout_height="@dimen/home_conversation_header_pill_height"
|
android:layout_height="@dimen/home_conversation_header_pill_height"
|
||||||
android:background="@drawable/home_bg_header_circle"
|
android:background="@drawable/home_bg_header_circle"
|
||||||
android:contentDescription="@string/home_sub_header_back"
|
android:contentDescription="@string/home_sub_header_back"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:paddingStart="14dp"
|
android:paddingStart="14dp"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:minHeight="@dimen/home_conversation_header_pill_height"
|
android:minHeight="@dimen/home_conversation_header_pill_height"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
android:layout_height="@dimen/home_conversation_header_pill_height"
|
android:layout_height="@dimen/home_conversation_header_pill_height"
|
||||||
android:background="@drawable/home_bg_header_circle"
|
android:background="@drawable/home_bg_header_circle"
|
||||||
android:contentDescription="@string/home_sub_header_back"
|
android:contentDescription="@string/home_sub_header_back"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:paddingStart="14dp"
|
android:paddingStart="14dp"
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:minHeight="@dimen/home_conversation_header_pill_height"
|
android:minHeight="@dimen/home_conversation_header_pill_height"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minHeight="@dimen/home_conversation_header_pill_height"
|
android:minHeight="@dimen/home_conversation_header_pill_height"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:minHeight="@dimen/home_selection_dock_height"
|
android:minHeight="@dimen/home_selection_dock_height"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
android:layout_marginEnd="@dimen/looply_space_sm"
|
android:layout_marginEnd="@dimen/looply_space_sm"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:minHeight="@dimen/home_conversation_header_pill_height"
|
android:minHeight="@dimen/home_conversation_header_pill_height"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
android:layout_height="@dimen/home_conversation_header_action_size"
|
android:layout_height="@dimen/home_conversation_header_action_size"
|
||||||
android:background="@drawable/home_bg_circle"
|
android:background="@drawable/home_bg_circle"
|
||||||
android:contentDescription="@string/home_selection_done"
|
android:contentDescription="@string/home_selection_done"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="64dp"
|
android:minWidth="64dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:contentDescription="@string/home_filter_content_description"
|
android:contentDescription="@string/home_filter_content_description"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
android:padding="9dp"
|
android:padding="9dp"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
android:background="@drawable/home_bg_dock_pill"
|
android:background="@drawable/home_bg_dock_pill"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:elevation="6dp"
|
android:elevation="5dp"
|
||||||
android:minWidth="@dimen/home_sub_select_pill_min_width"
|
android:minWidth="@dimen/home_sub_select_pill_min_width"
|
||||||
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
android:outlineAmbientShadowColor="@color/home_pill_shadow_ambient"
|
||||||
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
android:outlineSpotShadowColor="@color/home_pill_shadow_spot"
|
||||||
|
|||||||
@@ -189,6 +189,38 @@
|
|||||||
<string name="home_automation_create_title">새 자동화</string>
|
<string name="home_automation_create_title">새 자동화</string>
|
||||||
<string name="home_automation_create_name_hint">자동화 이름</string>
|
<string name="home_automation_create_name_hint">자동화 이름</string>
|
||||||
<string name="home_automation_create_body">언제 실행하고 무엇을 할지 설정하세요.</string>
|
<string name="home_automation_create_body">언제 실행하고 무엇을 할지 설정하세요.</string>
|
||||||
|
<string name="home_automation_manage">관리</string>
|
||||||
|
<string name="home_automation_banner">자동 발송 메시지는 대화에서 로봇 배지로 구분됩니다.</string>
|
||||||
|
<string name="home_automation_modes_title">주요 자동화 모드</string>
|
||||||
|
<string name="home_automation_see_more">더보기</string>
|
||||||
|
<string name="home_automation_on">ON</string>
|
||||||
|
<string name="home_automation_off">꺼짐</string>
|
||||||
|
<string name="home_automation_mode_call_title">통화 상태 자동응답</string>
|
||||||
|
<string name="home_automation_mode_call_body">부재중·종료 통화에 즉시 답장</string>
|
||||||
|
<string name="home_automation_mode_cards_title">모바일 명함 & 서식</string>
|
||||||
|
<string name="home_automation_mode_cards_body">스마트 템플릿 관리</string>
|
||||||
|
<string name="home_automation_mode_cards_count">3개 등록</string>
|
||||||
|
<string name="home_automation_rules_title">실행 중인 자동화 규칙</string>
|
||||||
|
<string name="home_automation_rules_count">3</string>
|
||||||
|
<string name="home_automation_rules_sort">정렬: 최신순</string>
|
||||||
|
<string name="home_automation_rule_missed_chip1">통화 자동응답</string>
|
||||||
|
<string name="home_automation_rule_missed_chip2">즉시 발송</string>
|
||||||
|
<string name="home_automation_rule_missed_title">부재중 전화 수신 시 답장</string>
|
||||||
|
<string name="home_automation_rule_missed_quote">“현재 회의 중입니다. 확인 후 바로 연락드리겠습니다. [모바일 전자명함 링크]”</string>
|
||||||
|
<string name="home_automation_rule_missed_target">대상: 모든 번호 (가족 제외)</string>
|
||||||
|
<string name="home_automation_rule_missed_sent">오늘 4회 발송됨</string>
|
||||||
|
<string name="home_automation_rule_thanks_chip1">통화 종료 후</string>
|
||||||
|
<string name="home_automation_rule_thanks_chip2">지연 10초</string>
|
||||||
|
<string name="home_automation_rule_thanks_title">상담 종료 후 감사 명함</string>
|
||||||
|
<string name="home_automation_rule_thanks_quote">“통화 감사합니다! 추가 궁금하신 점은 언제든 메시지로 남겨 주세요.”</string>
|
||||||
|
<string name="home_automation_rule_thanks_target">스마트 프로필 명함 첨부</string>
|
||||||
|
<string name="home_automation_rule_thanks_sent">어제 7회 발송됨</string>
|
||||||
|
<string name="home_automation_rule_weekly_chip1">정기 예약</string>
|
||||||
|
<string name="home_automation_rule_weekly_chip2">매주 월 09:00</string>
|
||||||
|
<string name="home_automation_rule_weekly_title">주간 스프린트 리마인더</string>
|
||||||
|
<string name="home_automation_rule_weekly_quote">“이번 주 스프린트 점검입니다. 월요일 전에 보드를 업데이트해 주세요.”</string>
|
||||||
|
<string name="home_automation_rule_weekly_target">팀 채팅</string>
|
||||||
|
<string name="home_automation_rule_weekly_sent">다음 월요일 09:00</string>
|
||||||
<string name="home_read_all">모두 읽음</string>
|
<string name="home_read_all">모두 읽음</string>
|
||||||
<string name="home_mark_unread">안 읽음</string>
|
<string name="home_mark_unread">안 읽음</string>
|
||||||
<string name="home_selection_done">완료</string>
|
<string name="home_selection_done">완료</string>
|
||||||
|
|||||||
@@ -11,15 +11,17 @@
|
|||||||
<color name="home_switch_on">#34C759</color>
|
<color name="home_switch_on">#34C759</color>
|
||||||
<color name="home_switch_off">#C7C7CC</color>
|
<color name="home_switch_off">#C7C7CC</color>
|
||||||
<color name="home_surface_translucent">#E8FFFFFF</color>
|
<color name="home_surface_translucent">#E8FFFFFF</color>
|
||||||
|
<!-- Bottom Messages/Automation dock and the round action beside it -->
|
||||||
|
<color name="home_bottom_dock_face">#F4FFFFFF</color>
|
||||||
<color name="home_date_pill_blur">#CCFFFFFF</color>
|
<color name="home_date_pill_blur">#CCFFFFFF</color>
|
||||||
<color name="home_popover_bg">#F2FFFFFF</color>
|
<color name="home_popover_bg">#F2FFFFFF</color>
|
||||||
<color name="home_button_stroke">#14000000</color>
|
<color name="home_button_stroke">#14000000</color>
|
||||||
<!-- Elevation + drawable spread (keep alphas low for a soft float) -->
|
<!-- Elevation + painted spread for pills and circles -->
|
||||||
<color name="home_pill_shadow_ambient">#12000000</color>
|
<color name="home_pill_shadow_ambient">#22000000</color>
|
||||||
<color name="home_pill_shadow_spot">#0C000000</color>
|
<color name="home_pill_shadow_spot">#1E000000</color>
|
||||||
<color name="home_shadow_spread_outer">#05000000</color>
|
<color name="home_shadow_spread_outer">#0E000000</color>
|
||||||
<color name="home_shadow_spread_mid">#08000000</color>
|
<color name="home_shadow_spread_mid">#14000000</color>
|
||||||
<color name="home_shadow_spread_inner">#0E000000</color>
|
<color name="home_shadow_spread_inner">#20000000</color>
|
||||||
<color name="home_search_field_bg">#FFFFFF</color>
|
<color name="home_search_field_bg">#FFFFFF</color>
|
||||||
<color name="home_search_outer_gradient_start">#F5F4F1FB</color>
|
<color name="home_search_outer_gradient_start">#F5F4F1FB</color>
|
||||||
<color name="home_search_outer_gradient_mid">#CCF4F1FB</color>
|
<color name="home_search_outer_gradient_mid">#CCF4F1FB</color>
|
||||||
@@ -59,4 +61,9 @@
|
|||||||
<color name="home_toast_bg">#E61C1C1E</color>
|
<color name="home_toast_bg">#E61C1C1E</color>
|
||||||
<color name="home_toast_text">#FFFFFFFF</color>
|
<color name="home_toast_text">#FFFFFFFF</color>
|
||||||
<color name="home_toast_action">#C4B5FF</color>
|
<color name="home_toast_action">#C4B5FF</color>
|
||||||
|
<color name="home_automation_banner_bg">#EEE8FA</color>
|
||||||
|
<color name="home_automation_icon_bg">#E4DCF8</color>
|
||||||
|
<color name="home_automation_on_bg">#E3F8EA</color>
|
||||||
|
<color name="home_automation_quote_bg">#F6F4FB</color>
|
||||||
|
<color name="home_automation_chip_dot">@color/home_accent</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
<dimen name="looply_nav_height">64dp</dimen>
|
<dimen name="looply_nav_height">64dp</dimen>
|
||||||
<dimen name="home_nav_icon_size">24dp</dimen>
|
<dimen name="home_nav_icon_size">24dp</dimen>
|
||||||
<dimen name="home_nav_item_padding">8dp</dimen>
|
<dimen name="home_nav_item_padding">8dp</dimen>
|
||||||
<dimen name="home_nav_dock_padding_bottom">14dp</dimen>
|
<dimen name="home_nav_dock_padding_bottom">13dp</dimen>
|
||||||
<dimen name="home_alert_dialog_horizontal_margin">28dp</dimen>
|
<dimen name="home_alert_dialog_horizontal_margin">28dp</dimen>
|
||||||
<dimen name="home_modal_icon_well">56dp</dimen>
|
<dimen name="home_modal_icon_well">56dp</dimen>
|
||||||
<dimen name="home_modal_icon_size">24dp</dimen>
|
<dimen name="home_modal_icon_size">24dp</dimen>
|
||||||
@@ -127,13 +127,13 @@
|
|||||||
<dimen name="home_sub_select_pill_min_width">148dp</dimen>
|
<dimen name="home_sub_select_pill_min_width">148dp</dimen>
|
||||||
<dimen name="home_sub_select_pill_padding_h">20dp</dimen>
|
<dimen name="home_sub_select_pill_padding_h">20dp</dimen>
|
||||||
<!-- Square inset for dock FAB face: (size - shadow_depth) / 2 on square buttons -->
|
<!-- Square inset for dock FAB face: (size - shadow_depth) / 2 on square buttons -->
|
||||||
<dimen name="home_dock_fab_shadow_depth">6dp</dimen>
|
<dimen name="home_dock_fab_shadow_depth">5dp</dimen>
|
||||||
<dimen name="home_dock_fab_circle_inset">3dp</dimen>
|
<dimen name="home_dock_fab_circle_inset">3dp</dimen>
|
||||||
<dimen name="home_dock_fab_icon_lift">3dp</dimen>
|
<dimen name="home_dock_fab_icon_lift">3dp</dimen>
|
||||||
<dimen name="home_switch_width">52dp</dimen>
|
<dimen name="home_switch_width">52dp</dimen>
|
||||||
<dimen name="home_switch_height">32dp</dimen>
|
<dimen name="home_switch_height">32dp</dimen>
|
||||||
<dimen name="home_bottom_dock_height">70dp</dimen>
|
<dimen name="home_bottom_dock_height">70dp</dimen>
|
||||||
<dimen name="home_bottom_dock_shadow_inset">6dp</dimen>
|
<dimen name="home_bottom_dock_shadow_inset">5dp</dimen>
|
||||||
<dimen name="looply_bubble_max_width">280dp</dimen>
|
<dimen name="looply_bubble_max_width">280dp</dimen>
|
||||||
<dimen name="looply_bubble_padding_h">14dp</dimen>
|
<dimen name="looply_bubble_padding_h">14dp</dimen>
|
||||||
<dimen name="looply_bubble_padding_v">10dp</dimen>
|
<dimen name="looply_bubble_padding_v">10dp</dimen>
|
||||||
|
|||||||
@@ -190,6 +190,38 @@
|
|||||||
<string name="home_automation_create_title" translatable="false">New automation</string>
|
<string name="home_automation_create_title" translatable="false">New automation</string>
|
||||||
<string name="home_automation_create_name_hint" translatable="false">Automation name</string>
|
<string name="home_automation_create_name_hint" translatable="false">Automation name</string>
|
||||||
<string name="home_automation_create_body" translatable="false">Set when this task should run and what it should do.</string>
|
<string name="home_automation_create_body" translatable="false">Set when this task should run and what it should do.</string>
|
||||||
|
<string name="home_automation_manage" translatable="false">Manage</string>
|
||||||
|
<string name="home_automation_banner" translatable="false">Messages sent automatically are marked in chat with a robot badge.</string>
|
||||||
|
<string name="home_automation_modes_title" translatable="false">Major modes</string>
|
||||||
|
<string name="home_automation_see_more" translatable="false">See more</string>
|
||||||
|
<string name="home_automation_on" translatable="false">ON</string>
|
||||||
|
<string name="home_automation_off" translatable="false">Off</string>
|
||||||
|
<string name="home_automation_mode_call_title" translatable="false">Call-status auto-reply</string>
|
||||||
|
<string name="home_automation_mode_call_body" translatable="false">Instant reply on missed or ended calls</string>
|
||||||
|
<string name="home_automation_mode_cards_title" translatable="false">Cards and templates</string>
|
||||||
|
<string name="home_automation_mode_cards_body" translatable="false">Smart template manager</string>
|
||||||
|
<string name="home_automation_mode_cards_count" translatable="false">3 saved</string>
|
||||||
|
<string name="home_automation_rules_title" translatable="false">Active rules</string>
|
||||||
|
<string name="home_automation_rules_count" translatable="false">3</string>
|
||||||
|
<string name="home_automation_rules_sort" translatable="false">Sort: latest</string>
|
||||||
|
<string name="home_automation_rule_missed_chip1" translatable="false">Missed-call reply</string>
|
||||||
|
<string name="home_automation_rule_missed_chip2" translatable="false">Immediate</string>
|
||||||
|
<string name="home_automation_rule_missed_title" translatable="false">Auto-reply to missed calls</string>
|
||||||
|
<string name="home_automation_rule_missed_quote" translatable="false">“Currently in a meeting. I will get back to you shortly. [card link]”</string>
|
||||||
|
<string name="home_automation_rule_missed_target" translatable="false">All callers except family</string>
|
||||||
|
<string name="home_automation_rule_missed_sent" translatable="false">Sent 4 times today</string>
|
||||||
|
<string name="home_automation_rule_thanks_chip1" translatable="false">After a call</string>
|
||||||
|
<string name="home_automation_rule_thanks_chip2" translatable="false">Delay 10s</string>
|
||||||
|
<string name="home_automation_rule_thanks_title" translatable="false">Thank-you card after a call</string>
|
||||||
|
<string name="home_automation_rule_thanks_quote" translatable="false">“Thank you for the call. Message me anytime if you have more questions.”</string>
|
||||||
|
<string name="home_automation_rule_thanks_target" translatable="false">Attaches a profile card</string>
|
||||||
|
<string name="home_automation_rule_thanks_sent" translatable="false">Sent 7 times yesterday</string>
|
||||||
|
<string name="home_automation_rule_weekly_chip1" translatable="false">Scheduled</string>
|
||||||
|
<string name="home_automation_rule_weekly_chip2" translatable="false">Mon 9:00</string>
|
||||||
|
<string name="home_automation_rule_weekly_title" translatable="false">Weekly sprint reminder</string>
|
||||||
|
<string name="home_automation_rule_weekly_quote" translatable="false">“Sprint check-in is this week. Please update the board before Monday.”</string>
|
||||||
|
<string name="home_automation_rule_weekly_target" translatable="false">Team chat</string>
|
||||||
|
<string name="home_automation_rule_weekly_sent" translatable="false">Next Monday 9:00</string>
|
||||||
<string name="home_read_all" translatable="false">Read All</string>
|
<string name="home_read_all" translatable="false">Read All</string>
|
||||||
<string name="home_mark_unread" translatable="false">Unread</string>
|
<string name="home_mark_unread" translatable="false">Unread</string>
|
||||||
<string name="home_selection_done" translatable="false">Done</string>
|
<string name="home_selection_done" translatable="false">Done</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user