mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-20 01:43:53 +00:00
[android] Update place page colors
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/margin_base"
|
||||
android:paddingBottom="@dimen/margin_base"
|
||||
android:background="?cardBackground"
|
||||
android:background="?appBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:fillViewport="true"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/elevation_profile_content_height"
|
||||
android:background="?cardBackground"
|
||||
android:background="?appBackground"
|
||||
android:orientation="vertical">
|
||||
<app.organicmaps.widget.placepage.ElevationProfileChart
|
||||
android:id="@+id/elevation_profile_chart"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
android:id="@+id/elevation_profile"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?cardBackground"
|
||||
android:background="?appBackground"
|
||||
android:clickable="true"
|
||||
android:fillViewport="true"
|
||||
android:focusable="true"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:background="?cardBackground"
|
||||
android:background="?appBackground"
|
||||
android:orientation="vertical">
|
||||
<include
|
||||
android:id="@+id/pp__preview"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
style="@style/MwmWidget.M3.Button.Secondary"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
app:backgroundTint="?windowBackgroundForced"
|
||||
android:backgroundTint="?windowBackgroundForced"
|
||||
app:backgroundTint="?colorSurfaceContainerLow"
|
||||
android:backgroundTint="?colorSurfaceContainerLow"
|
||||
android:text="@string/placepage_add_place_button" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="center_horizontal|top"
|
||||
android:background="?ppBackground"
|
||||
android:background="?appBackground"
|
||||
android:visibility="gone" />
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/placepage"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?windowBackgroundForced"
|
||||
android:background="?attr/colorSurfaceContainerLow"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?ppBackground"
|
||||
android:background="?appBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
style="@style/MwmWidget.M3.Button.Secondary"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
app:backgroundTint="?windowBackgroundForced"
|
||||
android:backgroundTint="?windowBackgroundForced"
|
||||
app:backgroundTint="?colorSurfaceContainerLow"
|
||||
android:backgroundTint="?colorSurfaceContainerLow"
|
||||
android:text="@string/edit_place"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -9,7 +9,7 @@ android:layout_marginHorizontal="@dimen/margin_base"
|
||||
android:layout_marginTop="@dimen/margin_half"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="@color/base_accent"
|
||||
app:cardBackgroundColor="?cardBackground">
|
||||
app:cardBackgroundColor="?appBackground">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
android:id="@+id/rw__phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?cardBackground"
|
||||
android:background="?appBackground"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
||||
</LinearLayout>
|
||||
@@ -189,7 +189,7 @@
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?ppBackground"
|
||||
android:background="?appBackground"
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/item_icon"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?cardBackground"
|
||||
android:background="?appBackground"
|
||||
android:orientation="vertical">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
android:id="@+id/pp_buttons_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?windowBackgroundForced"
|
||||
android:background="?colorSurfaceContainerLow"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="bottom">
|
||||
<include layout="@layout/item_divider" />
|
||||
|
||||
Reference in New Issue
Block a user