diff --git a/app/src/main/java/com/github/vase4kin/teamcityapp/app_navigation/BottomNavigationView.kt b/app/src/main/java/com/github/vase4kin/teamcityapp/app_navigation/BottomNavigationView.kt
index ae7088cc..b9f54ac2 100644
--- a/app/src/main/java/com/github/vase4kin/teamcityapp/app_navigation/BottomNavigationView.kt
+++ b/app/src/main/java/com/github/vase4kin/teamcityapp/app_navigation/BottomNavigationView.kt
@@ -101,7 +101,7 @@ class BottomNavigationViewImpl(
}
val elevation =
- activity.resources.getDimension(R.dimen.elevation_bottom_navigation)
+ activity.resources.getDimension(R.dimen.dp_8)
val backgroundColor = ElevationOverlayProvider(activity).compositeOverlayIfNeeded(
activity.getThemeColor(R.attr.colorPrimarySurface), elevation
)
diff --git a/app/src/main/java/com/github/vase4kin/teamcityapp/buildlist/view/BuildListViewImpl.kt b/app/src/main/java/com/github/vase4kin/teamcityapp/buildlist/view/BuildListViewImpl.kt
index 535571c2..ed03e5c3 100644
--- a/app/src/main/java/com/github/vase4kin/teamcityapp/buildlist/view/BuildListViewImpl.kt
+++ b/app/src/main/java/com/github/vase4kin/teamcityapp/buildlist/view/BuildListViewImpl.kt
@@ -312,8 +312,8 @@ open class BuildListViewImpl(
.setCaptureTouchEventOutsidePrompt(true)
.setPromptFocal(
RectanglePromptFocal().setCornerRadius(
- activity.resources.getDimension(R.dimen.default_prompt_fab_radius),
- activity.resources.getDimension(R.dimen.default_prompt_fab_radius)
+ activity.resources.getDimension(R.dimen.dp_38),
+ activity.resources.getDimension(R.dimen.dp_38)
)
)
.setPromptStateChangeListener { _, state ->
@@ -390,7 +390,7 @@ open class BuildListViewImpl(
private fun getBackgroundColor(): Int {
val elevation =
- activity.resources.getDimension(R.dimen.default_elevation)
+ activity.resources.getDimension(R.dimen.dp_4)
return ElevationOverlayProvider(activity).compositeOverlayIfNeeded(
activity.getThemeColor(R.attr.colorPrimarySurface), elevation
)
diff --git a/app/src/main/java/com/github/vase4kin/teamcityapp/home/view/HomeViewImpl.kt b/app/src/main/java/com/github/vase4kin/teamcityapp/home/view/HomeViewImpl.kt
index 72947ce7..088040b3 100644
--- a/app/src/main/java/com/github/vase4kin/teamcityapp/home/view/HomeViewImpl.kt
+++ b/app/src/main/java/com/github/vase4kin/teamcityapp/home/view/HomeViewImpl.kt
@@ -228,7 +228,7 @@ class HomeViewImpl(private val activity: AppCompatActivity) : HomeView {
private fun getBackgroundColor(): Int {
val elevation =
- activity.resources.getDimension(R.dimen.default_elevation)
+ activity.resources.getDimension(R.dimen.dp_4)
return ElevationOverlayProvider(activity).compositeOverlayIfNeeded(
activity.getThemeColor(R.attr.colorPrimarySurface), elevation
)
diff --git a/app/src/main/java/com/github/vase4kin/teamcityapp/overview/view/OverviewViewImpl.kt b/app/src/main/java/com/github/vase4kin/teamcityapp/overview/view/OverviewViewImpl.kt
index 8b453752..0319e28e 100644
--- a/app/src/main/java/com/github/vase4kin/teamcityapp/overview/view/OverviewViewImpl.kt
+++ b/app/src/main/java/com/github/vase4kin/teamcityapp/overview/view/OverviewViewImpl.kt
@@ -460,7 +460,7 @@ class OverviewViewImpl(
private fun getBackgroundColor(): Int {
val elevation =
- activity.resources.getDimension(R.dimen.default_elevation)
+ activity.resources.getDimension(R.dimen.dp_4)
return ElevationOverlayProvider(activity).compositeOverlayIfNeeded(
activity.getThemeColor(R.attr.colorPrimarySurface), elevation
)
diff --git a/app/src/main/res/layout/activity_build.xml b/app/src/main/res/layout/activity_build.xml
index 12fe10be..d634af86 100644
--- a/app/src/main/res/layout/activity_build.xml
+++ b/app/src/main/res/layout/activity_build.xml
@@ -45,8 +45,12 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_build_list.xml b/app/src/main/res/layout/activity_build_list.xml
index ee810656..f489e57d 100644
--- a/app/src/main/res/layout/activity_build_list.xml
+++ b/app/src/main/res/layout/activity_build_list.xml
@@ -70,7 +70,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:text="@string/title_run_build"
android:visibility="invisible"
app:icon="@drawable/ic_directions_run_white_24px"
diff --git a/app/src/main/res/layout/activity_create_account.xml b/app/src/main/res/layout/activity_create_account.xml
index c0fbe9b0..91284440 100644
--- a/app/src/main/res/layout/activity_create_account.xml
+++ b/app/src/main/res/layout/activity_create_account.xml
@@ -47,9 +47,9 @@
android:id="@+id/teamcity_url_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/default_margin"
- android:layout_marginTop="@dimen/default_margin"
- android:layout_marginRight="@dimen/default_margin"
+ android:layout_marginLeft="@dimen/dp_16"
+ android:layout_marginTop="@dimen/dp_16"
+ android:layout_marginRight="@dimen/dp_16"
android:hint="@string/server_field_hint">
diff --git a/app/src/main/res/layout/activity_filter_builds.xml b/app/src/main/res/layout/activity_filter_builds.xml
index db997efe..c662291f 100644
--- a/app/src/main/res/layout/activity_filter_builds.xml
+++ b/app/src/main/res/layout/activity_filter_builds.xml
@@ -39,7 +39,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:text="@string/text_apply_filters_button"
app:icon="@drawable/ic_done_24px" />
@@ -71,23 +71,23 @@
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:orientation="vertical"
- android:paddingLeft="@dimen/default_margin"
- android:paddingTop="@dimen/padding_switch"
- android:paddingRight="@dimen/default_margin"
- android:paddingBottom="@dimen/padding_switch">
+ android:paddingLeft="@dimen/dp_16"
+ android:paddingTop="@dimen/dp_12"
+ android:paddingRight="@dimen/dp_16"
+ android:paddingBottom="@dimen/dp_12">
+ android:textAppearance="?textAppearanceBody1" />
@@ -116,9 +116,9 @@
+ android:layout_height="@dimen/dp_96"
+ android:background="?android:attr/colorBackground" />
diff --git a/app/src/main/res/layout/activity_home.xml b/app/src/main/res/layout/activity_home.xml
index 6aa56015..f1c75c9c 100644
--- a/app/src/main/res/layout/activity_home.xml
+++ b/app/src/main/res/layout/activity_home.xml
@@ -57,7 +57,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
- android:layout_marginEnd="@dimen/default_margin"
+ android:layout_marginEnd="@dimen/dp_16"
android:layout_marginBottom="74dp"
android:visibility="gone"
tools:src="@drawable/ic_favorite_white_24dp"
diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml
index acdfc849..44fdec6d 100644
--- a/app/src/main/res/layout/activity_login.xml
+++ b/app/src/main/res/layout/activity_login.xml
@@ -27,7 +27,7 @@
android:layout_height="wrap_content"
android:fillViewport="true"
android:orientation="vertical"
- android:paddingTop="48dp">
+ android:paddingTop="@dimen/dp_48">
@@ -47,20 +47,19 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:layout_marginTop="@dimen/small_margin"
+ android:layout_marginTop="@dimen/dp_8"
android:gravity="center"
android:text="@string/text_app_description"
- android:textAppearance="?attr/textAppearanceSubtitle1"
- android:textColor="@color/material_on_background_emphasis_medium"
- android:textSize="20sp" />
+ android:textAppearance="?attr/textAppearanceHeadline6"
+ android:textColor="@color/material_on_background_emphasis_medium" />
@@ -144,9 +143,9 @@
android:id="@+id/give_it_a_try_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/login_screen_margin"
- android:layout_marginRight="@dimen/login_screen_margin"
- android:layout_marginBottom="@dimen/login_screen_margin"
+ android:layout_marginLeft="@dimen/dp_24"
+ android:layout_marginRight="@dimen/dp_24"
+ android:layout_marginBottom="@dimen/dp_24"
android:visibility="gone"
tools:visibility="visible">
@@ -156,9 +155,9 @@
diff --git a/app/src/main/res/layout/activity_run_build.xml b/app/src/main/res/layout/activity_run_build.xml
index b28c85c7..72a98854 100644
--- a/app/src/main/res/layout/activity_run_build.xml
+++ b/app/src/main/res/layout/activity_run_build.xml
@@ -38,7 +38,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:text="@string/title_run_build"
app:icon="@drawable/ic_directions_run_white_24px" />
@@ -66,22 +66,22 @@
+ android:paddingLeft="@dimen/dp_16"
+ android:paddingTop="@dimen/dp_12"
+ android:paddingRight="@dimen/dp_16"
+ android:paddingBottom="@dimen/dp_12">
+ android:textAppearance="?attr/textAppearanceBody1" />
@@ -102,9 +102,10 @@
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="@string/text_no_agents_available"
+ android:textAppearance="?attr/textAppearanceBody2"
android:textColor="@color/material_on_background_emphasis_medium"
- android:textSize="16sp"
- android:visibility="gone" />
+ android:visibility="gone"
+ tools:visibility="visible" />
+ tools:visibility="visible">
+ android:textAppearance="?attr/textAppearanceBody2"
+ android:textColor="@color/material_on_background_emphasis_medium" />
+ android:paddingLeft="@dimen/dp_16"
+ android:paddingTop="@dimen/dp_12"
+ android:paddingRight="@dimen/dp_16"
+ android:paddingBottom="@dimen/dp_12">
+ android:textAppearance="?attr/textAppearanceBody1" />
+ android:textAppearance="?attr/textAppearanceBody2"
+ android:textColor="@color/material_on_background_emphasis_medium" />
@@ -237,9 +237,9 @@
+ android:layout_height="@dimen/dp_96"
+ android:background="?android:attr/colorBackground" />
diff --git a/app/src/main/res/layout/dialog_bottom_sheet.xml b/app/src/main/res/layout/dialog_bottom_sheet.xml
index 26014477..b7f0c1ea 100644
--- a/app/src/main/res/layout/dialog_bottom_sheet.xml
+++ b/app/src/main/res/layout/dialog_bottom_sheet.xml
@@ -23,18 +23,18 @@
android:orientation="vertical">
diff --git a/app/src/main/res/layout/dialog_bottom_sheet_filter.xml b/app/src/main/res/layout/dialog_bottom_sheet_filter.xml
index 67876652..aef15a93 100644
--- a/app/src/main/res/layout/dialog_bottom_sheet_filter.xml
+++ b/app/src/main/res/layout/dialog_bottom_sheet_filter.xml
@@ -55,7 +55,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:layout_marginStart="@dimen/default_margin"
+ android:layout_marginStart="@dimen/dp_16"
app:srcCompat="@drawable/ic_done_24px"
app:tint="?attr/colorOnBackground" />
diff --git a/app/src/main/res/layout/fragment_build_list.xml b/app/src/main/res/layout/fragment_build_list.xml
index e8807143..1ba3434e 100644
--- a/app/src/main/res/layout/fragment_build_list.xml
+++ b/app/src/main/res/layout/fragment_build_list.xml
@@ -58,7 +58,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:text="@string/title_run_build"
android:visibility="invisible"
app:icon="@drawable/ic_directions_run_white_24px"
diff --git a/app/src/main/res/layout/fragment_build_log.xml b/app/src/main/res/layout/fragment_build_log.xml
index a82ee060..3355acf3 100644
--- a/app/src/main/res/layout/fragment_build_log.xml
+++ b/app/src/main/res/layout/fragment_build_log.xml
@@ -36,7 +36,7 @@
android:id="@+id/auth_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone"
@@ -45,18 +45,18 @@
+ android:textAppearance="?attr/textAppearanceBody1"
+ android:textColor="@color/material_on_background_emphasis_medium" />
+ android:textAppearance="?attr/textAppearanceBody1"
+ android:textColor="@color/material_on_background_emphasis_high_type" />
+ android:paddingTop="@dimen/dp_8"
+ android:paddingBottom="@dimen/dp_8" />
diff --git a/app/src/main/res/layout/fragment_snapshot_dependencies.xml b/app/src/main/res/layout/fragment_snapshot_dependencies.xml
index 9a1a5090..ad3a1213 100644
--- a/app/src/main/res/layout/fragment_snapshot_dependencies.xml
+++ b/app/src/main/res/layout/fragment_snapshot_dependencies.xml
@@ -55,7 +55,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:text="@string/title_run_build"
android:visibility="invisible"
app:icon="@drawable/ic_directions_run_white_24px"
diff --git a/app/src/main/res/layout/header_default.xml b/app/src/main/res/layout/header_default.xml
index dcfe831d..ccc5110a 100644
--- a/app/src/main/res/layout/header_default.xml
+++ b/app/src/main/res/layout/header_default.xml
@@ -1,13 +1,13 @@
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_agent_list.xml b/app/src/main/res/layout/item_agent_list.xml
index 669a15a6..3c2854b5 100644
--- a/app/src/main/res/layout/item_agent_list.xml
+++ b/app/src/main/res/layout/item_agent_list.xml
@@ -25,7 +25,7 @@
android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -35,11 +35,11 @@
@@ -38,8 +38,8 @@
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="64dp"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
+ android:paddingLeft="@dimen/dp_16"
+ android:paddingRight="@dimen/dp_16"
android:singleLine="true"
app:tint="@color/material_on_surface_emphasis_high_type"
android:textAppearance="?attr/textAppearanceBody1"
diff --git a/app/src/main/res/layout/item_build_list.xml b/app/src/main/res/layout/item_build_list.xml
index 446a7588..6edd1d30 100644
--- a/app/src/main/res/layout/item_build_list.xml
+++ b/app/src/main/res/layout/item_build_list.xml
@@ -25,7 +25,7 @@
android:id="@+id/buildStatusContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
@@ -39,8 +39,8 @@
@@ -50,11 +50,11 @@
@@ -47,8 +47,8 @@
@@ -58,11 +58,11 @@
+ android:padding="@dimen/dp_16">
+ android:textAppearance="?attr/textAppearanceBody1" />
+ android:textAppearance="?attr/textAppearanceBody2"
+ android:textColor="@color/material_on_background_emphasis_medium" />
+ app:srcCompat="@drawable/ic_format_list_bulleted_black_24dp"
+ app:tint="@color/material_on_background_emphasis_medium" />
\ No newline at end of file
diff --git a/app/src/main/res/layout/layout_error_view.xml b/app/src/main/res/layout/layout_error_view.xml
index fd8672f0..3ae1b085 100644
--- a/app/src/main/res/layout/layout_error_view.xml
+++ b/app/src/main/res/layout/layout_error_view.xml
@@ -19,7 +19,7 @@
android:id="@+id/error_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:gravity="center"
android:visibility="gone"
app:ev_retryColor="@color/material_on_background_emphasis_medium"
diff --git a/app/src/main/res/layout/layout_float_button.xml b/app/src/main/res/layout/layout_float_button.xml
deleted file mode 100644
index 157cfbcf..00000000
--- a/app/src/main/res/layout/layout_float_button.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/layout_parameter_view.xml b/app/src/main/res/layout/layout_parameter_view.xml
index f7f95832..c2897b22 100644
--- a/app/src/main/res/layout/layout_parameter_view.xml
+++ b/app/src/main/res/layout/layout_parameter_view.xml
@@ -14,36 +14,36 @@
~ limitations under the License.
-->
-
+ android:layout_margin="@dimen/dp_2"
+ android:orientation="vertical">
-
+ android:layout_height="@dimen/dp_1" />
\ No newline at end of file
diff --git a/app/src/main/res/layout/layout_skeleton_agent_item.xml b/app/src/main/res/layout/layout_skeleton_agent_item.xml
index ecb1ee73..523aeb72 100644
--- a/app/src/main/res/layout/layout_skeleton_agent_item.xml
+++ b/app/src/main/res/layout/layout_skeleton_agent_item.xml
@@ -24,7 +24,7 @@
android:id="@+id/image"
android:layout_width="44dp"
android:layout_height="44dp"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:background="@drawable/skeleton_image_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -32,10 +32,10 @@
diff --git a/app/src/main/res/layout/layout_skeleton_build_list_item.xml b/app/src/main/res/layout/layout_skeleton_build_list_item.xml
index d0f9c0df..980e5439 100644
--- a/app/src/main/res/layout/layout_skeleton_build_list_item.xml
+++ b/app/src/main/res/layout/layout_skeleton_build_list_item.xml
@@ -24,7 +24,7 @@
android:id="@+id/image"
android:layout_width="44dp"
android:layout_height="44dp"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:background="@drawable/skeleton_image_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -34,8 +34,8 @@
android:id="@+id/block1"
android:layout_width="64dp"
android:layout_height="18dp"
- android:layout_marginStart="@dimen/default_margin"
- android:layout_marginTop="@dimen/default_margin"
+ android:layout_marginStart="@dimen/dp_16"
+ android:layout_marginTop="@dimen/dp_16"
android:background="?attr/colorControlHighlight"
app:layout_constraintStart_toEndOf="@+id/image"
app:layout_constraintTop_toTopOf="parent" />
@@ -54,7 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="16dp"
android:layout_marginTop="8dp"
- android:layout_marginEnd="@dimen/default_margin"
+ android:layout_marginEnd="@dimen/dp_16"
android:background="?attr/colorControlHighlight"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
@@ -63,9 +63,9 @@
@@ -63,7 +63,7 @@
android:layout_width="wrap_content"
android:layout_height="16dp"
android:layout_marginTop="8dp"
- android:layout_marginEnd="@dimen/default_margin"
+ android:layout_marginEnd="@dimen/dp_16"
android:background="?attr/colorControlHighlight"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
@@ -72,9 +72,9 @@
@@ -45,7 +45,7 @@
android:layout_width="wrap_content"
android:layout_height="16dp"
android:layout_marginTop="8dp"
- android:layout_marginEnd="@dimen/default_margin"
+ android:layout_marginEnd="@dimen/dp_16"
android:background="?attr/colorControlHighlight"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
@@ -54,9 +54,9 @@
@@ -52,7 +52,7 @@
android:layout_width="wrap_content"
android:layout_height="16dp"
android:layout_marginTop="8dp"
- android:layout_marginEnd="@dimen/default_margin"
+ android:layout_marginEnd="@dimen/dp_16"
android:background="?attr/colorControlHighlight"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
@@ -61,9 +61,9 @@
-
-
- 8dp
- 24dp
- 12dp
- 32dp
- 38dp
- 1000
-
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index b7f296b4..784377a9 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -16,25 +16,21 @@
-
-
-
+
\ No newline at end of file
diff --git a/features/about/feature/src/main/java/teamcityapp/features/about/AboutFragment.kt b/features/about/feature/src/main/java/teamcityapp/features/about/AboutFragment.kt
index 0a044258..e1bbdcb5 100644
--- a/features/about/feature/src/main/java/teamcityapp/features/about/AboutFragment.kt
+++ b/features/about/feature/src/main/java/teamcityapp/features/about/AboutFragment.kt
@@ -285,7 +285,7 @@ class AboutFragment : MaterialAboutFragment() {
private fun getBackgroundColor(activity: Activity): Int {
val elevation =
- activity.resources.getDimension(R.dimen.default_elevation)
+ activity.resources.getDimension(R.dimen.dp_4)
return ElevationOverlayProvider(activity).compositeOverlayIfNeeded(
activity.getThemeColor(R.attr.colorSurface), elevation
)
diff --git a/features/drawer/src/main/res/layout/item_drawer_bottom.xml b/features/drawer/src/main/res/layout/item_drawer_bottom.xml
index a0942759..abde7f33 100644
--- a/features/drawer/src/main/res/layout/item_drawer_bottom.xml
+++ b/features/drawer/src/main/res/layout/item_drawer_bottom.xml
@@ -18,8 +18,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="@dimen/default_margin">
+ android:layout_marginTop="@dimen/dp_12"
+ android:layout_marginBottom="@dimen/dp_16">
diff --git a/features/manage-accounts/src/main/res/layout/activity_manage_accounts.xml b/features/manage-accounts/src/main/res/layout/activity_manage_accounts.xml
index f70e6a19..c8cefbe0 100644
--- a/features/manage-accounts/src/main/res/layout/activity_manage_accounts.xml
+++ b/features/manage-accounts/src/main/res/layout/activity_manage_accounts.xml
@@ -58,7 +58,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
android:onClick="@{() -> viewmodel.onFabClick()}"
app:srcCompat="@drawable/ic_add_black_24dp" />
diff --git a/features/manage-accounts/src/main/res/layout/item_user_account_list.xml b/features/manage-accounts/src/main/res/layout/item_user_account_list.xml
index fdc57df9..c94f3a44 100644
--- a/features/manage-accounts/src/main/res/layout/item_user_account_list.xml
+++ b/features/manage-accounts/src/main/res/layout/item_user_account_list.xml
@@ -27,7 +27,7 @@
android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="@dimen/default_margin"
+ android:layout_margin="@dimen/dp_16"
app:tint="@color/material_on_surface_emphasis_high_type"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -37,11 +37,11 @@
- 64dp
+ 64dp
diff --git a/libraries/resources/src/main/res/values-xlarge-xhdpi/dimens.xml b/libraries/resources/src/main/res/values-xlarge-xhdpi/dimens.xml
index 1861a9db..f02f0984 100644
--- a/libraries/resources/src/main/res/values-xlarge-xhdpi/dimens.xml
+++ b/libraries/resources/src/main/res/values-xlarge-xhdpi/dimens.xml
@@ -1,5 +1,5 @@
- 64dp
+ 64dp
diff --git a/libraries/resources/src/main/res/values/dimens.xml b/libraries/resources/src/main/res/values/dimens.xml
index 8adcfa59..d31dfc7a 100644
--- a/libraries/resources/src/main/res/values/dimens.xml
+++ b/libraries/resources/src/main/res/values/dimens.xml
@@ -15,11 +15,21 @@
-->
- 4dp
- 8dp
- 16dp
- 0dp
- 0dp
- 8dp
- 96dp
+ 0dp
+ 1dp
+ 2dp
+ 4dp
+ 8dp
+ 12dp
+ 16dp
+ 24dp
+ 32dp
+ 38dp
+ 48dp
+ 96dp
+
+ @dimen/dp_0
+
+ 1000
+
diff --git a/libraries/theme/src/main/res/drawable/bottom_sheet_view.xml b/libraries/theme/src/main/res/drawable/bottom_sheet_view.xml
index 0fa0eb3b..20762c48 100644
--- a/libraries/theme/src/main/res/drawable/bottom_sheet_view.xml
+++ b/libraries/theme/src/main/res/drawable/bottom_sheet_view.xml
@@ -15,6 +15,6 @@
-->
-
+
\ No newline at end of file
diff --git a/libraries/theme/src/main/res/drawable/tabs_rounded_line_indicator.xml b/libraries/theme/src/main/res/drawable/tabs_rounded_line_indicator.xml
index ab76126f..5da67afc 100644
--- a/libraries/theme/src/main/res/drawable/tabs_rounded_line_indicator.xml
+++ b/libraries/theme/src/main/res/drawable/tabs_rounded_line_indicator.xml
@@ -21,8 +21,8 @@
diff --git a/libraries/theme/src/main/res/layout/layout_divider.xml b/libraries/theme/src/main/res/layout/layout_divider.xml
index 8f1f460f..ce91ceb1 100644
--- a/libraries/theme/src/main/res/layout/layout_divider.xml
+++ b/libraries/theme/src/main/res/layout/layout_divider.xml
@@ -16,6 +16,6 @@
\ No newline at end of file
diff --git a/libraries/theme/src/main/res/values/styles.xml b/libraries/theme/src/main/res/values/styles.xml
index 335815c7..0041979a 100644
--- a/libraries/theme/src/main/res/values/styles.xml
+++ b/libraries/theme/src/main/res/values/styles.xml
@@ -35,7 +35,7 @@
-
-