This repository has been archived by the owner on Jul 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[theme] [themedark] systemui: improve layout of qs panel
* resolved the annoying qs page indicator bug
- Loading branch information
1 parent
351cd87
commit 7da7664
Showing
10 changed files
with
75 additions
and
44 deletions.
There are no files selected for viewing
17 changes: 9 additions & 8 deletions
17
theme/src/main/assets/overlays/com.android.systemui/res/drawable/qs_background_primary.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- QS card background --> | ||
<inset xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:insetTop="8dp"> | ||
<shape> | ||
<solid android:color="@color/system_primary_color"/> | ||
<corners android:radius="@dimen/notification_material_rounded_rect_radius"/> | ||
</shape> | ||
</inset> | ||
<!-- QS Background rectangle - we wrap it in a layer-list to give it some top margin --> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<item android:top="@dimen/qs_top_inset"> | ||
<shape android:shape="rectangle" > | ||
<solid android:color="@color/system_primary_color"/> | ||
<corners android:radius="@dimen/notification_material_rounded_rect_radius"/> | ||
</shape> | ||
</item> | ||
</layer-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 13 additions & 5 deletions
18
themedark/src/main/assets/overlays/com.android.systemui/res/drawable/ic_brightness_thumb.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 13 additions & 6 deletions
19
themedark/src/main/assets/overlays/com.android.systemui/res/drawable/ic_lock_open_24dp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" | ||
android:height="24dp" android:viewportHeight="24" android:viewportWidth="24"> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportHeight="24" | ||
android:viewportWidth="24"> | ||
|
||
<path android:pathData="M4.22494,13.375 L11.9999,5.66602 L19.7751,13.3752" | ||
android:strokeColor="@*common:color/icons" android:strokeWidth="1.99999988" /> | ||
<path android:pathData="M4.22494,19.0319 L11.9999,11.3229 L19.7751,19.0321" | ||
android:strokeColor="@*common:color/icons" android:strokeWidth="1.99999988" /> | ||
<path | ||
android:pathData="M4.22494,13.375 L11.9999,5.66602 L19.7751,13.3752" | ||
android:strokeColor="@*common:color/icons" | ||
android:strokeWidth="1.99999988" /> | ||
<path | ||
android:pathData="M4.22494,19.0319 L11.9999,11.3229 L19.7751,19.0321" | ||
android:strokeColor="@*common:color/icons" | ||
android:strokeWidth="1.99999988" /> | ||
</vector> |
17 changes: 10 additions & 7 deletions
17
...dark/src/main/assets/overlays/com.android.systemui/res/drawable/qs_background_primary.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- QS card background --> | ||
<inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetTop="8dp"> | ||
<shape> | ||
<solid android:color="@color/system_primary_color" /> | ||
<corners android:radius="@dimen/notification_material_rounded_rect_radius" /> | ||
</shape> | ||
</inset> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- QS Background rectangle - we wrap it in a layer-list to give it some top margin --> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<item android:top="@dimen/qs_top_inset"> | ||
<shape android:shape="rectangle" > | ||
<solid android:color="@color/system_primary_color"/> | ||
<corners android:radius="@dimen/notification_material_rounded_rect_radius"/> | ||
</shape> | ||
</item> | ||
</layer-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...k/src/main/assets/overlays/com.android.systemui/res/drawable/volume_dialog_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters