-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SystemUI: Make tri-state SystemUI dialog dimensions conditional
Adjust this based on the left/right config. @SKULSHADY: Fix dimens for right dialog Change-Id: I282f1a318bc9bf1cfd20c6b8c41be5f79fab4534 Signed-off-by: Anushek Prasal <[email protected]>
- Loading branch information
1 parent
5ab081b
commit 619170f
Showing
6 changed files
with
92 additions
and
21 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
packages/SystemUI/res/drawable/left_dialog_tri_state_down_bg.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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright (C) 2019 CypherOS | ||
Copyright (C) 2020 Paranoid Android | ||
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. | ||
--> | ||
<layer-list | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<shape> | ||
<solid android:color="#ff1d1d1d" /> | ||
<corners | ||
android:topLeftRadius="@dimen/left_tri_state_down_top_left_radius" | ||
android:topRightRadius="@dimen/left_tri_state_down_top_right_radius" | ||
android:bottomLeftRadius="@dimen/left_tri_state_down_bottom_left_radius" | ||
android:bottomRightRadius="@dimen/left_tri_state_down_bottom_right_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
30 changes: 30 additions & 0 deletions
30
packages/SystemUI/res/drawable/right_dialog_tri_state_down_bg.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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright (C) 2019 CypherOS | ||
Copyright (C) 2020 Paranoid Android | ||
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. | ||
--> | ||
<layer-list | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<shape> | ||
<solid android:color="#ff1d1d1d" /> | ||
<corners | ||
android:topLeftRadius="@dimen/right_tri_state_down_top_left_radius" | ||
android:topRightRadius="@dimen/right_tri_state_down_top_right_radius" | ||
android:bottomLeftRadius="@dimen/right_tri_state_down_bottom_left_radius" | ||
android:bottomRightRadius="@dimen/right_tri_state_down_bottom_right_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
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