mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3219 App | Design | Minor design fixes 2 (#2039)
This commit is contained in:
parent
7a3eb31f4a
commit
28062decb5
10 changed files with 27 additions and 20 deletions
|
@ -108,7 +108,7 @@ fun HomeScreenToolbar(
|
|||
)
|
||||
|
||||
Image(
|
||||
painter = painterResource(id = com.anytypeio.anytype.R.drawable.ic_vault_settings),
|
||||
painter = painterResource(id = R.drawable.ic_vault_settings),
|
||||
contentDescription = "Settings icon",
|
||||
modifier = Modifier
|
||||
.align(Alignment.CenterEnd)
|
||||
|
|
|
@ -275,7 +275,6 @@ private fun MenuItem(
|
|||
}
|
||||
|
||||
private enum class BottomNavigationItem(@DrawableRes val res: Int) {
|
||||
BACK(R.drawable.ic_nav_panel_back),
|
||||
MEMBERS(R.drawable.ic_nav_panel_members),
|
||||
ADD_MEMBERS(R.drawable.ic_nav_panel_add_member),
|
||||
SEARCH(R.drawable.ic_nav_panel_search),
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<path
|
||||
android:pathData="M15,20L7,12L15,4"
|
||||
android:strokeWidth="2"
|
||||
android:strokeColor="@color/glyph_active"
|
||||
android:strokeColor="@color/transparent_active_full_alpha"
|
||||
android:strokeAlpha="0.4"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
||||
|
|
|
@ -5,13 +5,16 @@
|
|||
android:viewportHeight="33">
|
||||
<path
|
||||
android:pathData="M10.25,10.813a3.75,4 0,1 0,7.5 0a3.75,4 0,1 0,-7.5 0z"
|
||||
android:fillColor="@color/glyph_active" />
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4" />
|
||||
<path
|
||||
android:pathData="M16.826,24.313C16.605,23.687 16.484,23.014 16.484,22.313C16.484,20.482 17.304,18.843 18.597,17.742C17.293,16.841 15.709,16.313 14,16.313C10.064,16.313 6.788,19.115 6.084,22.821C5.93,23.635 6.616,24.313 7.445,24.313H16.826Z"
|
||||
android:fillColor="@color/glyph_active"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M22.484,26.813C24.978,26.813 27,24.791 27,22.297C27,19.803 24.978,17.781 22.484,17.781C19.99,17.781 17.969,19.803 17.969,22.297C17.969,24.791 19.99,26.813 22.484,26.813ZM21.984,20.047C21.984,19.771 22.208,19.547 22.484,19.547C22.76,19.547 22.984,19.771 22.984,20.047V21.797H24.734C25.01,21.797 25.234,22.021 25.234,22.297C25.234,22.573 25.01,22.797 24.734,22.797H22.984V24.547C22.984,24.823 22.76,25.047 22.484,25.047C22.208,25.047 21.984,24.823 21.984,24.547V22.797H20.234C19.958,22.797 19.734,22.573 19.734,22.297C19.734,22.021 19.958,21.797 20.234,21.797H21.984V20.047Z"
|
||||
android:fillColor="@color/glyph_active"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
|
|
|
@ -8,17 +8,21 @@
|
|||
android:pathData="M4,4h24v24h-24z"/>
|
||||
<path
|
||||
android:pathData="M7.75,12.75a3.25,3.75 0,1 0,6.5 0a3.25,3.75 0,1 0,-6.5 0z"
|
||||
android:fillColor="@color/glyph_active" />
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4" />
|
||||
<path
|
||||
android:pathData="M17.063,25C17.615,25 18.07,24.55 17.992,24.003C17.503,20.609 14.559,18 11,18C7.441,18 4.497,20.609 4.009,24.003C3.93,24.55 4.385,25 4.938,25H17.063Z"
|
||||
android:fillColor="@color/glyph_active"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M17.75,9.75a3.25,3.75 0,1 0,6.5 0a3.25,3.75 0,1 0,-6.5 0z"
|
||||
android:fillColor="@color/glyph_active"/>
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"/>
|
||||
<path
|
||||
android:pathData="M27.99,21.003C28.069,21.55 27.614,22 27.061,22H19.015C18.331,20.2 17.05,18.693 15.414,17.715C16.706,16.063 18.727,15 20.999,15C24.558,15 27.502,17.609 27.99,21.003Z"
|
||||
android:fillColor="@color/glyph_active"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</vector>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M16,5C9.925,5 5,9.925 5,16C5,22.075 9.925,27 16,27C22.075,27 27,22.075 27,16C27,9.925 22.075,5 16,5ZM16,22C15.586,22 15.25,21.664 15.25,21.25V16.75H10.75C10.336,16.75 10,16.414 10,16C10,15.586 10.336,15.25 10.75,15.25H15.25V10.75C15.25,10.336 15.586,10 16,10C16.414,10 16.75,10.336 16.75,10.75V15.25H21.25C21.664,15.25 22,15.586 22,16C22,16.414 21.664,16.75 21.25,16.75H16.75V21.25C16.75,21.664 16.414,22 16,22Z"
|
||||
android:fillColor="@color/glyph_active"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
|
|
|
@ -4,12 +4,8 @@
|
|||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M15,13.998m-7.25,0a7.25,7.25 0,1 1,14.5 0a7.25,7.25 0,1 1,-14.5 0"
|
||||
android:strokeWidth="1.5"
|
||||
android:strokeColor="@color/glyph_active"/>
|
||||
<path
|
||||
android:pathData="M26,24.998L20.5,19.5"
|
||||
android:strokeWidth="1.5"
|
||||
android:strokeColor="@color/glyph_active"
|
||||
android:strokeLineCap="round"/>
|
||||
android:pathData="M20.496,13.998C20.496,17.587 17.586,20.498 13.996,20.498C10.406,20.498 7.496,17.587 7.496,13.998C7.496,10.408 10.406,7.498 13.996,7.498C17.586,7.498 20.496,10.408 20.496,13.998ZM18.741,20.439C17.413,21.419 15.772,21.998 13.996,21.998C9.578,21.998 5.996,18.416 5.996,13.998C5.996,9.579 9.578,5.998 13.996,5.998C18.414,5.998 21.996,9.579 21.996,13.998C21.996,15.774 21.417,17.415 20.438,18.742L25.649,23.954C26.118,24.422 26.118,25.182 25.649,25.651C25.181,26.119 24.421,26.119 23.952,25.651L18.741,20.439Z"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
android:viewportHeight="22">
|
||||
<path
|
||||
android:pathData="M10.25,0.75C10.25,0.336 10.586,0 11,0C11.414,0 11.75,0.336 11.75,0.75V2.533C12.755,2.621 13.711,2.883 14.585,3.291L15.476,1.748C15.683,1.39 16.141,1.267 16.5,1.474C16.796,1.645 16.932,1.988 16.853,2.304C16.837,2.371 16.81,2.436 16.774,2.499L15.883,4.042C16.689,4.608 17.392,5.311 17.958,6.117L19.502,5.225C19.861,5.018 20.319,5.141 20.526,5.5C20.733,5.859 20.611,6.317 20.252,6.524L18.709,7.415C19.117,8.289 19.379,9.245 19.467,10.25H21.25C21.664,10.25 22,10.586 22,11C22,11.414 21.664,11.75 21.25,11.75H19.467C19.379,12.755 19.117,13.711 18.709,14.585L20.252,15.476C20.611,15.683 20.733,16.141 20.526,16.5C20.319,16.859 19.861,16.982 19.502,16.775L17.958,15.883C17.392,16.689 16.689,17.392 15.883,17.958L16.774,19.502C16.852,19.636 16.883,19.785 16.873,19.929C16.86,20.115 16.778,20.293 16.637,20.425C16.596,20.463 16.551,20.497 16.5,20.526C16.141,20.733 15.683,20.61 15.476,20.252L14.585,18.709C13.711,19.117 12.755,19.379 11.75,19.467V21.25C11.75,21.664 11.414,22 11,22C10.586,22 10.25,21.664 10.25,21.25V19.467C9.245,19.379 8.289,19.117 7.415,18.709L6.524,20.252C6.317,20.611 5.859,20.733 5.5,20.526C5.141,20.319 5.018,19.861 5.225,19.502L6.117,17.958C5.311,17.392 4.608,16.689 4.042,15.883L2.498,16.774C2.139,16.982 1.681,16.859 1.474,16.5C1.267,16.141 1.389,15.682 1.748,15.475L3.291,14.585C2.883,13.71 2.621,12.755 2.533,11.75H0.75C0.724,11.75 0.699,11.749 0.673,11.746C0.295,11.708 0,11.388 0,11C0,10.586 0.336,10.25 0.75,10.25H2.533C2.621,9.245 2.883,8.29 3.291,7.415L1.748,6.525C1.389,6.318 1.267,5.859 1.474,5.5C1.681,5.141 2.139,5.018 2.498,5.226L4.042,6.117C4.608,5.311 5.311,4.608 6.117,4.042L5.225,2.498C5.018,2.139 5.141,1.681 5.5,1.474C5.859,1.267 6.317,1.389 6.524,1.748L7.415,3.291C8.289,2.883 9.245,2.621 10.25,2.533V0.75ZM4.04,11.75C4.414,15.263 7.387,18 11,18C12.008,18 12.966,17.787 13.831,17.404L10.567,11.75H4.04ZM10.567,10.25H4.04C4.414,6.737 7.387,4 11,4C12.008,4 12.966,4.213 13.831,4.596L10.567,10.25ZM15.13,16.653L11.866,11L15.13,5.347C16.87,6.621 18,8.678 18,11C18,13.322 16.87,15.379 15.13,16.653Z"
|
||||
android:fillColor="@color/glyph_active"
|
||||
android:fillColor="@color/transparent_active_full_alpha"
|
||||
android:fillAlpha="0.4"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<color name="shape_transparent_secondary">#29FFFFFF</color>
|
||||
|
||||
<color name="transparent_active">#66FFFFFF</color>
|
||||
<color name="transparent_active_full_alpha">#FFFFFF</color>
|
||||
|
||||
<color name="glyph_active">#7B7B7B</color>
|
||||
<color name="glyph_selected">#F3F2EC</color>
|
||||
|
|
|
@ -179,6 +179,7 @@
|
|||
<color name="overlay_black_light_5">#0D000000</color>
|
||||
<color name="transparent_black">#00000000</color>
|
||||
<color name="transparent_active">#66000000</color>
|
||||
<color name="transparent_active_full_alpha">#000000</color>
|
||||
<color name="background_light_gray">#F3F2EC</color>
|
||||
<color name="background_soft_beige">#DFDDD0</color>
|
||||
<color name="gradient_soft_gray_end_transparent">#00ACA996</color>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue