Fixed fonts and changed naming.
This commit is contained in:
parent
9f4ca0a9b0
commit
56b8c62b5b
4 changed files with 12 additions and 7 deletions
|
@ -4,8 +4,8 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="64dp"
|
android:layout_height="64dp"
|
||||||
android:orientation="vertical"
|
android:clickable="false"
|
||||||
android:clickable="false">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<include layout="@layout/card_bottom_divider"/>
|
<include layout="@layout/card_bottom_divider"/>
|
||||||
|
|
||||||
|
@ -26,12 +26,12 @@
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingRight="16dp">
|
android:paddingRight="16dp">
|
||||||
|
|
||||||
<TextView
|
<net.osmand.plus.widgets.TextViewEx
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
style="@style/TextAppearance.ListItemCategoryTitle"
|
||||||
tools:text="Live updates"/>
|
tools:text="Live updates"/>
|
||||||
|
|
||||||
<android.support.v7.widget.SwitchCompat
|
<android.support.v7.widget.SwitchCompat
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textAppearance="@style/TextAppearance.OsmandListItemTitle"
|
android:textAppearance="@style/TextAppearance.ListItemTitle"
|
||||||
android:textSize="@dimen/default_list_text_size"
|
android:textSize="@dimen/default_list_text_size"
|
||||||
tools:text="Some title text"/>
|
tools:text="Some title text"/>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
android:drawablePadding="24dp"
|
android:drawablePadding="24dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:textAppearance="@style/TextAppearance.OsmandListItemTitle"
|
android:textAppearance="@style/TextAppearance.ListItemTitle"
|
||||||
android:textStyle="normal"
|
android:textStyle="normal"
|
||||||
tools:drawableLeft="@drawable/ic_action_search_dark"
|
tools:drawableLeft="@drawable/ic_action_search_dark"
|
||||||
tools:text="@string/layer_poi"/>
|
tools:text="@string/layer_poi"/>
|
||||||
|
|
|
@ -365,7 +365,12 @@
|
||||||
<item name="android:windowIsTranslucent">true</item>
|
<item name="android:windowIsTranslucent">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextAppearance.OsmandListItemTitle" parent="TextAppearance.AppCompat.Subhead">
|
<style name="TextAppearance.ListItemTitle" parent="TextAppearance.AppCompat.Subhead">
|
||||||
<item name="android:textColor">?android:textColorPrimary</item>
|
<item name="android:textColor">?android:textColorPrimary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="TextAppearance.ListItemCategoryTitle" parent="TextAppearance.AppCompat.Subhead">
|
||||||
|
<item name="android:textColor">?android:textColorPrimary</item>
|
||||||
|
<item name="typeface">@string/font_roboto_medium</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue