Complete shared AOD layout engine
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<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="#FFFFFFFF"
|
||||
android:pathData="M4,5h9c1.1,0 2,0.9 2,2v10c0,1.1 -0.9,2 -2,2H4c-1.1,0 -2,-0.9 -2,-2V7c0,-1.1 0.9,-2 2,-2zM4,7v10h9V7H4z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M17.2,7.2c1.3,1.2 2.1,2.9 2.1,4.8s-0.8,3.6 -2.1,4.8l-1.1,-1.2c1,-0.9 1.6,-2.2 1.6,-3.6s-0.6,-2.7 -1.6,-3.6l1.1,-1.2z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M20.1,4.4C22,6.3 23,9 23,12s-1,5.7 -2.9,7.6l-1.2,-1.2c1.6,-1.6 2.5,-3.8 2.5,-6.4s-0.9,-4.8 -2.5,-6.4l1.2,-1.2z" />
|
||||
</vector>
|
||||
@@ -70,6 +70,12 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/debug_visualize_camera_cutout" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/debug_visualize_aod_stock_containers_switch"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/debug_visualize_aod_stock_containers" />
|
||||
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
|
||||
@@ -109,6 +109,15 @@
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="?attr/textAppearanceCaption" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/hidden_item_last_seen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="?attr/textAppearanceCaption"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<string name="debug_visualize_clock_container">Clock container</string>
|
||||
<string name="debug_visualize_chip_container">Status chip container</string>
|
||||
<string name="debug_visualize_camera_cutout">Camera cutout</string>
|
||||
<string name="debug_visualize_aod_stock_containers">AOD stock containers and derived statusbar</string>
|
||||
<string name="debug_section_systemui">SystemUI</string>
|
||||
<string name="debug_restart_systemui">Restart SystemUI</string>
|
||||
<string name="debug_restart_systemui_started">SystemUI restart requested.</string>
|
||||
@@ -100,6 +101,7 @@
|
||||
<string name="hidden_apps_close">Close</string>
|
||||
<string name="hidden_apps_exception_regex_input_hint">Regex</string>
|
||||
<string name="hidden_apps_package_with_exceptions">%1$s \u2022 %2$d exceptions</string>
|
||||
<string name="hidden_apps_last_seen">Last seen: %1$s</string>
|
||||
<string name="hidden_apps_default_modes_title">Default settings</string>
|
||||
<string name="hidden_apps_add_exception">Add exception</string>
|
||||
<string name="hidden_apps_delete_exception">Delete</string>
|
||||
@@ -171,6 +173,8 @@
|
||||
<string name="layout_item_enabled">Enabled</string>
|
||||
<string name="layout_copy_from">Copy from</string>
|
||||
<string name="layout_icon_container_count">Number of containers</string>
|
||||
<string name="layout_icon_height_steps">Icon height (% of statusbar)</string>
|
||||
<string name="layout_chip_height_steps">Chip height (% of statusbar)</string>
|
||||
<string name="layout_locked_notifications_title">Locked notifications mode</string>
|
||||
<string name="layout_locked_notifications_hint">Mirrors the Samsung notification display style for AOD and lockscreen.</string>
|
||||
<string name="layout_misc_title">Misc</string>
|
||||
|
||||
Reference in New Issue
Block a user