Resolved warnings on main activity layout
This commit is contained in:
parent
ca2b7a7064
commit
a396406877
@ -84,7 +84,8 @@
|
|||||||
android:paddingEnd="@dimen/spacer_1x"
|
android:paddingEnd="@dimen/spacer_1x"
|
||||||
android:paddingBottom="@dimen/spacer_2x"
|
android:paddingBottom="@dimen/spacer_2x"
|
||||||
android:tint="@color/text_color"
|
android:tint="@color/text_color"
|
||||||
android:src="@drawable/ic_menu_grey"/>
|
android:src="@drawable/ic_menu_grey"
|
||||||
|
android:contentDescription="@string/menu"/>
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/search_text"
|
android:id="@+id/search_text"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@ -110,7 +111,8 @@
|
|||||||
android:id="@+id/fragment_container"
|
android:id="@+id/fragment_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:name="it.danieleverducci.nextcloudmaps.fragments.GeofavoriteListFragment" />
|
android:name="it.danieleverducci.nextcloudmaps.fragments.GeofavoriteListFragment"
|
||||||
|
tools:layout="@layout/fragment_geofavorite_list" />
|
||||||
|
|
||||||
|
|
||||||
<!-- Add from map FAB -->
|
<!-- Add from map FAB -->
|
||||||
@ -124,7 +126,8 @@
|
|||||||
app:backgroundTint="@color/defaultBrand"
|
app:backgroundTint="@color/defaultBrand"
|
||||||
app:fabSize="mini"
|
app:fabSize="mini"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="DuplicateClickableBoundsCheck" />
|
tools:ignore="DuplicateClickableBoundsCheck"
|
||||||
|
android:contentDescription="@string/add_from_map" />
|
||||||
|
|
||||||
<!-- Add from current position FAB -->
|
<!-- Add from current position FAB -->
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
@ -136,7 +139,8 @@
|
|||||||
app:fabSize="mini"
|
app:fabSize="mini"
|
||||||
android:src="@drawable/ic_add_gps"
|
android:src="@drawable/ic_add_gps"
|
||||||
app:backgroundTint="@color/defaultBrand"
|
app:backgroundTint="@color/defaultBrand"
|
||||||
app:tint="@color/white"/>
|
app:tint="@color/white"
|
||||||
|
android:contentDescription="@string/add_from_gps"/>
|
||||||
|
|
||||||
<!-- Main FAB -->
|
<!-- Main FAB -->
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
@ -147,6 +151,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:src="@drawable/ic_add"
|
android:src="@drawable/ic_add"
|
||||||
app:backgroundTint="@color/defaultBrand"
|
app:backgroundTint="@color/defaultBrand"
|
||||||
app:tint="@color/white"/>
|
app:tint="@color/white"
|
||||||
|
android:contentDescription="@string/open_fab"/>
|
||||||
|
|
||||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
@ -97,4 +97,9 @@
|
|||||||
<string name="new_geobookmark_gps">Crea dalla posizione corrente</string>
|
<string name="new_geobookmark_gps">Crea dalla posizione corrente</string>
|
||||||
<string name="new_geobookmark_map">Crea dalla mappa</string>
|
<string name="new_geobookmark_map">Crea dalla mappa</string>
|
||||||
|
|
||||||
|
<!-- Accessibility (content descriptions) -->
|
||||||
|
<string name="open_fab">Aggiungi</string>
|
||||||
|
<string name="add_from_gps">Crea dalla posizione corrente</string>
|
||||||
|
<string name="add_from_map">Crea dalla mappa</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -96,4 +96,9 @@
|
|||||||
<string name="new_geobookmark_gps">New from current position</string>
|
<string name="new_geobookmark_gps">New from current position</string>
|
||||||
<string name="new_geobookmark_map">New from map</string>
|
<string name="new_geobookmark_map">New from map</string>
|
||||||
|
|
||||||
|
<!-- Accessibility (content descriptions) -->
|
||||||
|
<string name="open_fab">Add geofavorite</string>
|
||||||
|
<string name="add_from_gps">Add geofavorite at current GPS position</string>
|
||||||
|
<string name="add_from_map">Add geofavorite from map</string>
|
||||||
|
<string name="menu">Open menu</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<!-- Base application theme. -->
|
<!-- Base application theme. -->
|
||||||
<!--<style name="BaseTheme" parent="Theme.AppCompat.DayNight.NoActionBar">-->
|
|
||||||
<style name="BaseTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
<style name="BaseTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||||
<item name="colorAccent">@color/defaultBrand</item>
|
<item name="colorAccent">@color/defaultBrand</item>
|
||||||
<item name="colorControlNormal">?attr/colorAccent</item>
|
<item name="colorControlNormal">?attr/colorAccent</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user