mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-09 19:10:42 +00:00
For #150 - Adds wordmark, menu and private browsing buttons
This commit is contained in:
parent
c1500fe0bc
commit
c0e71bf719
2
.gitignore
vendored
2
.gitignore
vendored
@ -71,3 +71,5 @@ gen-external-apklibs
|
|||||||
# End of https://www.gitignore.io/api/android
|
# End of https://www.gitignore.io/api/android
|
||||||
|
|
||||||
|
|
||||||
|
# macOS
|
||||||
|
.DS_Store
|
||||||
|
BIN
app/src/main/res/drawable-hdpi/ic_logo_wordmark.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_logo_wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_logo_wordmark.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_logo_wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_logo_wordmark.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_logo_wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_logo_wordmark.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_logo_wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_logo_wordmark.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_logo_wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
11
app/src/main/res/drawable/ic_menu.xml
Normal file
11
app/src/main/res/drawable/ic_menu.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:pathData="M14,6a2,2 0,1 1,-4 0,2 2,0 0,1 4,0zM14,12a2,2 0,1 1,-4 0,2 2,0 0,1 4,0zM12,20a2,2 0,1 0,0 -4,2 2,0 0,0 0,4z"
|
||||||
|
android:fillColor="#0C0C0D"
|
||||||
|
android:fillAlpha=".8"
|
||||||
|
android:fillType="evenOdd"/>
|
||||||
|
</vector>
|
10
app/src/main/res/drawable/ic_private_browsing.xml
Normal file
10
app/src/main/res/drawable/ic_private_browsing.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:pathData="M17.5,17c-2.1,0 -3.5,-2.5 -5.5,-2.5S8.4,17 6.5,17C3.9,17 2,14.6 2,10.4 2,7.8 2.8,7 6.1,7s4.3,1.4 5.9,1.4c1.6,0 2.6,-1.4 5.9,-1.4 3.3,0 4.1,0.8 4.1,3.4 0,4.2 -1.9,6.6 -4.5,6.6zM7.7,10.2c-2,0.1 -2.9,1.3 -2.9,1.6 0,0.3 1.3,1.1 2.7,1.1 1.3,0 2.9,-0.5 2.9,-0.9 0,-0.5 -0.8,-1.9 -2.7,-1.8zM16.3,10.2c-1.9,-0.1 -2.7,1.3 -2.7,1.8 0,0.4 1.5,0.9 2.9,0.9s2.7,-0.8 2.7,-1.1c-0.1,-0.3 -0.9,-1.5 -2.9,-1.6z"
|
||||||
|
android:fillColor="#0C0C0D"
|
||||||
|
android:fillAlpha=".8"/>
|
||||||
|
</vector>
|
@ -2,16 +2,39 @@
|
|||||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
<!-- 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
|
- 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/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".home.HomeFragment">
|
tools:context=".home.HomeFragment">
|
||||||
|
|
||||||
<!-- TODO: Update blank fragment layout -->
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:text="@string/hello_blank_fragment"/>
|
|
||||||
|
|
||||||
</FrameLayout>
|
<ImageButton
|
||||||
|
android:id="@+id/menuButton"
|
||||||
|
android:src="@drawable/ic_menu"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||||
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/privateBrowsingButton"
|
||||||
|
android:src="@drawable/ic_private_browsing"
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||||
|
app:layout_constraintRight_toLeftOf="@id/menuButton"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/menuButton" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageView"
|
||||||
|
android:src="@drawable/ic_logo_wordmark"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_marginTop="42dp"
|
||||||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/menuButton" />
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue
Block a user