mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
With minor UI enhancements (#2963)
This commit is contained in:
parent
64780259f0
commit
2b0fb3e0db
3 changed files with 11 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public enum NavTab implements EnumCode {
|
||||||
return ContributionsFragment.newInstance();
|
return ContributionsFragment.newInstance();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
NEARBY(R.string.nearby_fragment, R.drawable.round_icon_milestone){//TODO change this icon
|
NEARBY(R.string.nearby_fragment, R.drawable.ic_location_on_black_24dp){
|
||||||
@NonNull
|
@NonNull
|
||||||
@Override
|
@Override
|
||||||
public Fragment newInstance() {
|
public Fragment newInstance() {
|
||||||
|
|
|
||||||
9
app/src/main/res/drawable/ic_location_on_black_24dp.xml
Normal file
9
app/src/main/res/drawable/ic_location_on_black_24dp.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M12,2C8.13,2 5,5.13 5,9c0,5.25 7,13 7,13s7,-7.75 7,-13c0,-3.87 -3.13,-7 -7,-7zM12,11.5c-1.38,0 -2.5,-1.12 -2.5,-2.5s1.12,-2.5 2.5,-2.5 2.5,1.12 2.5,2.5 -1.12,2.5 -2.5,2.5z"/>
|
||||||
|
</vector>
|
||||||
|
|
@ -70,6 +70,7 @@
|
||||||
android:drawablePadding="12dp"
|
android:drawablePadding="12dp"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:text="@string/navigation_item_about"
|
android:text="@string/navigation_item_about"
|
||||||
|
android:drawableTint="@color/black"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue