forked from mozilla-mobile/fenix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For mozilla-mobile#8643 and mozilla-mobile#7606 - added new svgs for …
…onboarding illustrations RTL for toolbar are still missing
- Loading branch information
1 parent
3bde79d
commit f630faf
Showing
12 changed files
with
690 additions
and
228 deletions.
There are no files selected for viewing
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
- License, v. 2.0. If a copy of the MPL was not distributed with this | ||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="?attr/onboardingSelected" android:state_selected="true" /> | ||
<item android:color="?attr/onboardingDeselected" /> | ||
</selector> |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
- License, v. 2.0. If a copy of the MPL was not distributed with this | ||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="?attr/onboardingSelected" android:state_checked="true" /> | ||
<item android:color="?attr/onboardingDeselected" /> | ||
</selector> |
Large diffs are not rendered by default.
Oops, something went wrong.
92 changes: 92 additions & 0 deletions
92
app/src/main/res/drawable-ldrtl/onboarding_light_theme.xml
Large diffs are not rendered by default.
Oops, something went wrong.
74 changes: 74 additions & 0 deletions
74
app/src/main/res/drawable-ldrtl/onboarding_toolbar_bottom.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,74 @@ | ||
<!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
- License, v. 2.0. If a copy of the MPL was not distributed with this | ||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:width="136dp" | ||
android:height="80dp" | ||
android:viewportWidth="136" | ||
android:viewportHeight="80"> | ||
<group> | ||
<clip-path | ||
android:pathData="M127,20a12,12 0,0 1,0 -24H8A12,12 0,0 0,-4 8v64A12,12 0,0 0,8 84h119a12,12 0,0 0,12 -12V8a12,12 0,0 1,-12 12z"/> | ||
<path | ||
android:pathData="M8,4L128,4A4,4 0,0 1,132 8L132,72A4,4 0,0 1,128 76L8,76A4,4 0,0 1,4 72L4,8A4,4 0,0 1,8 4z"> | ||
<aapt:attr name="android:fillColor"> | ||
<gradient | ||
android:startY="16.32" | ||
android:startX="-61.12" | ||
android:endY="53.76" | ||
android:endX="143.68" | ||
android:type="linear"> | ||
<item android:offset="0" android:color="#FFFF9100"/> | ||
<item android:offset="0.41" android:color="#FFF10366"/> | ||
<item android:offset="1" android:color="#FF6173FF"/> | ||
</gradient> | ||
</aapt:attr> | ||
</path> | ||
</group> | ||
<group> | ||
<clip-path | ||
android:pathData="M127,20a12,12 0,0 1,0 -24H8A12,12 0,0 0,-4 8v64A12,12 0,0 0,8 84h119a12,12 0,0 0,12 -12V8a12,12 0,0 1,-12 12z"/> | ||
<path | ||
android:pathData="M14,68h108a2,2 0,0 0,2 -2V4H12v62a2,2 0,0 0,2 2z" | ||
android:fillColor="#f9f9fb" | ||
android:fillType="evenOdd"/> | ||
</group> | ||
<path | ||
android:pathData="M22,24h92a1.93,1.93 0,0 1,2 1.88v12.24a1.93,1.93 0,0 1,-2 1.88H22a1.93,1.93 0,0 1,-2 -1.88V25.88A1.93,1.93 0,0 1,22 24z" | ||
android:fillColor="#fff" | ||
android:fillType="evenOdd"/> | ||
<path | ||
android:pathData="M114,24a1.93,1.93 0,0 1,2 1.88v12.24a1.93,1.93 0,0 1,-2 1.88H22a1.93,1.93 0,0 1,-2 -1.88V25.88A1.93,1.93 0,0 1,22 24h92m0,-1H22a2.94,2.94 0,0 0,-3 2.88v12.24A2.94,2.94 0,0 0,22 41h92a2.94,2.94 0,0 0,3 -2.88V25.88a2.94,2.94 0,0 0,-3 -2.88z" | ||
android:fillColor="#15141a" | ||
android:fillAlpha=".2"/> | ||
<path | ||
android:pathData="M111.67,36.14l-3,-3a3.78,3.78 0,1 0,-0.71 0.72l3,3a0.51,0.51 0,0 0,0.71 -0.72zM105.67,33.6a2.78,2.78 0,1 1,2.78 -2.78,2.79 2.79,0 0,1 -2.82,2.78z" | ||
android:fillColor="#20123a" | ||
android:fillType="evenOdd"/> | ||
<path | ||
android:pathData="M114.35,5A13,13 0,0 0,127 21a12.88,12.88 0,0 0,4 -0.63V72a3,3 0,0 1,-3 3H8a3,3 0,0 1,-3 -3V8a3,3 0,0 1,3 -3z" | ||
android:strokeAlpha=".08" | ||
android:strokeWidth="2" | ||
android:fillColor="#00000000" | ||
android:strokeColor="#20123a"/> | ||
<path | ||
android:pathData="M124,49H12v-1h112z" | ||
android:fillColor="#15141a" | ||
android:fillAlpha=".2"/> | ||
<path | ||
android:pathData="M96,63v-9l7,4.5zM68.5,55a3.5,3.5 0,1 1,-3.5 3.5,3.5 3.5,0 0,1 3.5,-3.5zM42,55v7h-7v-7z" | ||
android:strokeAlpha="0.36" | ||
android:fillColor="#15141a" | ||
android:fillType="evenOdd" | ||
android:fillAlpha="0.36"/> | ||
<group> | ||
<clip-path | ||
android:pathData="M127,20a12,12 0,0 1,0 -24H8A12,12 0,0 0,-4 8v64A12,12 0,0 0,8 84h119a12,12 0,0 0,12 -12V8a12,12 0,0 1,-12 12z"/> | ||
<path | ||
android:pathData="M8,2L128,2A6,6 0,0 1,134 8L134,72A6,6 0,0 1,128 78L8,78A6,6 0,0 1,2 72L2,8A6,6 0,0 1,8 2z" | ||
android:strokeWidth="2" | ||
android:fillColor="#00000000" | ||
android:strokeColor="@color/onboarding_illustration_color"/> | ||
</group> | ||
</vector> |
82 changes: 82 additions & 0 deletions
82
app/src/main/res/drawable-ldrtl/onboarding_toolbar_top.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,82 @@ | ||
<!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
- License, v. 2.0. If a copy of the MPL was not distributed with this | ||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:width="136dp" | ||
android:height="80dp" | ||
android:viewportWidth="136" | ||
android:viewportHeight="80"> | ||
<group> | ||
<clip-path | ||
android:pathData="M127,20a12,12 0,0 1,0 -24H8A12,12 0,0 0,-4 8v64A12,12 0,0 0,8 84h119a12,12 0,0 0,12 -12V8a12,12 0,0 1,-12 12z"/> | ||
<path | ||
android:pathData="M8,4L128,4A4,4 0,0 1,132 8L132,72A4,4 0,0 1,128 76L8,76A4,4 0,0 1,4 72L4,8A4,4 0,0 1,8 4z"> | ||
<aapt:attr name="android:fillColor"> | ||
<gradient | ||
android:startY="16.32" | ||
android:startX="-60.4" | ||
android:endY="53.76" | ||
android:endX="143.12" | ||
android:type="linear"> | ||
<item android:offset="0" android:color="#FFFF9100"/> | ||
<item android:offset="0.41" android:color="#FFF10366"/> | ||
<item android:offset="1" android:color="#FF6173FF"/> | ||
</gradient> | ||
</aapt:attr> | ||
</path> | ||
</group> | ||
<group> | ||
<clip-path | ||
android:pathData="M127,20a12,12 0,0 1,0 -24H8A12,12 0,0 0,-4 8v64A12,12 0,0 0,8 84h119a12,12 0,0 0,12 -12V8a12,12 0,0 1,-12 12z"/> | ||
<path | ||
android:pathData="M122,12H14a2,2 0,0 0,-2 2v62h112V14a2,2 0,0 0,-2 -2z" | ||
android:fillColor="#f9f9fb" | ||
android:fillType="evenOdd"/> | ||
</group> | ||
<path | ||
android:pathData="M124,52H12v-1h112z" | ||
android:fillColor="#15141a" | ||
android:fillAlpha=".2"/> | ||
<path | ||
android:pathData="M114,26H22a1.93,1.93 0,0 0,-2 1.88v12.24A1.93,1.93 0,0 0,22 42h92a1.93,1.93 0,0 0,2 -1.88V27.88a1.93,1.93 0,0 0,-2 -1.88z" | ||
android:fillColor="#fff" | ||
android:fillType="evenOdd"/> | ||
<path | ||
android:pathData="M22,26a1.93,1.93 0,0 0,-2 1.88v12.24A1.93,1.93 0,0 0,22 42h92a1.93,1.93 0,0 0,2 -1.88V27.88a1.93,1.93 0,0 0,-2 -1.88H22m0,-1h92a2.94,2.94 0,0 1,3 2.88v12.24a2.94,2.94 0,0 1,-3 2.88H22a2.94,2.94 0,0 1,-3 -2.88V27.88A2.94,2.94 0,0 1,22 25z" | ||
android:fillColor="#15141a" | ||
android:fillAlpha=".2"/> | ||
<path | ||
android:pathData="M112.86,38.14l-3,-3a3.81,3.81 0,1 0,-0.72 0.72l3,3a0.51,0.51 0,0 0,0.72 -0.72zM106.86,35.6a2.78,2.78 0,1 1,2.78 -2.78,2.78 2.78,0 0,1 -2.82,2.78z" | ||
android:fillColor="#20123a" | ||
android:fillType="evenOdd"/> | ||
<path | ||
android:pathData="M25,15a2,2 0,1 0,2 2,2 2,0 0,0 -2,-2zM16,15l2.5,4 2.5,-4zM30,15v4h4v-4z" | ||
android:strokeAlpha="0.36" | ||
android:fillColor="#15141a" | ||
android:fillType="evenOdd" | ||
android:fillAlpha="0.36"/> | ||
<path | ||
android:pathData="M114.35,5A13,13 0,0 0,127 21a12.88,12.88 0,0 0,4 -0.63V72a3,3 0,0 1,-3 3H8a3,3 0,0 1,-3 -3V8a3,3 0,0 1,3 -3z" | ||
android:strokeAlpha=".08" | ||
android:strokeWidth="2" | ||
android:fillColor="#00000000" | ||
android:strokeColor="#20123a"/> | ||
<path | ||
android:pathData="M116.5,61L25.5,61A1.5,1.5 0,0 1,24 59.5L24,59.5A1.5,1.5 0,0 1,25.5 58L116.5,58A1.5,1.5 0,0 1,118 59.5L118,59.5A1.5,1.5 0,0 1,116.5 61z" | ||
android:fillColor="#15141a" | ||
android:fillAlpha=".16"/> | ||
<path | ||
android:pathData="M116.5,69L42.5,69A1.5,1.5 0,0 1,41 67.5L41,67.5A1.5,1.5 0,0 1,42.5 66L116.5,66A1.5,1.5 0,0 1,118 67.5L118,67.5A1.5,1.5 0,0 1,116.5 69z" | ||
android:fillColor="#15141a" | ||
android:fillAlpha=".16"/> | ||
<group> | ||
<clip-path | ||
android:pathData="M127,20a12,12 0,0 1,0 -24H8A12,12 0,0 0,-4 8v64A12,12 0,0 0,8 84h119a12,12 0,0 0,12 -12V8a12,12 0,0 1,-12 12z"/> | ||
<path | ||
android:pathData="M8,2L128,2A6,6 0,0 1,134 8L134,72A6,6 0,0 1,128 78L8,78A6,6 0,0 1,2 72L2,8A6,6 0,0 1,8 2z" | ||
android:strokeWidth="2" | ||
android:fillColor="#00000000" | ||
android:strokeColor="@color/onboarding_illustration_color"/> | ||
</group> | ||
</vector> |
Large diffs are not rendered by default.
Oops, something went wrong.
103 changes: 0 additions & 103 deletions
103
app/src/main/res/drawable/onboarding_dark_toolbar_bottom_selected.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.