mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 12:34:24 +00:00
[android] Simplify some views to improve performance
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
@@ -22,12 +22,9 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:clipChildren="false"
|
android:clipChildren="false"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:orientation="vertical"
|
android:baselineAligned="false"
|
||||||
|
android:orientation="horizontal"
|
||||||
tools:ignore="ScrollViewSize">
|
tools:ignore="ScrollViewSize">
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
@@ -111,6 +108,5 @@
|
|||||||
android:text="@string/register_at_openstreetmap" />
|
android:text="@string/register_at_openstreetmap" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -146,16 +146,13 @@
|
|||||||
android:foreground="@drawable/shadow_top"
|
android:foreground="@drawable/shadow_top"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:visibility="visible">
|
tools:visibility="visible">
|
||||||
<RelativeLayout
|
<LinearLayout
|
||||||
android:id="@+id/driving_options_btn"
|
android:id="@+id/driving_options_btn"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minHeight="@dimen/height_block_base">
|
android:minHeight="@dimen/height_block_base">
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
android:id="@+id/driving_options_btn_img"
|
android:id="@+id/driving_options_btn_img"
|
||||||
android:layout_width="@dimen/margin_base_plus"
|
android:layout_width="@dimen/margin_base_plus"
|
||||||
@@ -174,8 +171,7 @@
|
|||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textColor="@color/text_light"
|
android:textColor="@color/text_light"
|
||||||
tools:text="test" />
|
tools:text="test" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
style="@style/MwmWidget.FrameLayout.Elevation"
|
style="@style/MwmWidget.FrameLayout.Elevation"
|
||||||
|
|||||||
Reference in New Issue
Block a user