Update location picker and purchase text styles

pull/848/head
Alex Baker 5 years ago
parent f206e4f54b
commit f834d46dc6

@ -144,7 +144,8 @@
android:gravity="start|center_vertical" android:gravity="start|center_vertical"
android:text="@string/pick_this_location" android:text="@string/pick_this_location"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textAppearance="@style/TextAppearance"/> android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
android:textColor="@color/text_primary"/>
<TextView <TextView
android:id="@+id/choose_recent_location" android:id="@+id/choose_recent_location"
@ -158,9 +159,8 @@
android:gravity="start" android:gravity="start"
android:text="@string/or_choose_a_location" android:text="@string/or_choose_a_location"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textAppearance="@style/TextAppearance" android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
android:textColor="?android:textColorSecondary" android:textColor="@color/text_primary"/>
android:textSize="14sp"/>
</RelativeLayout> </RelativeLayout>
@ -208,7 +208,8 @@
android:gravity="start" android:gravity="start"
android:text="@android:string/search_go" android:text="@android:string/search_go"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textAppearance="@style/TextAppearance"/> android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
android:textColor="@color/text_primary"/>
</com.google.android.material.card.MaterialCardView> </com.google.android.material.card.MaterialCardView>

@ -10,23 +10,23 @@
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
style="@style/TextAppearance.AppCompat.Body1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/pro_description"/> android:text="@string/pro_description"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"/>
<TextView <TextView
style="@style/TextAppearance.AppCompat.Body1"
android:paddingTop="@dimen/keyline_first"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/pro_subscribe_now"/> android:paddingTop="@dimen/keyline_first"
android:text="@string/pro_subscribe_now"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"/>
<TextView <TextView
android:id="@+id/feature_list" android:id="@+id/feature_list"
style="@style/TextAppearance.AppCompat.Body1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"/>
</LinearLayout> </LinearLayout>

@ -31,9 +31,9 @@
android:paddingEnd="@dimen/keyline_first" android:paddingEnd="@dimen/keyline_first"
android:paddingLeft="@dimen/keyline_first" android:paddingLeft="@dimen/keyline_first"
android:paddingRight="@dimen/keyline_first" android:paddingRight="@dimen/keyline_first"
android:visibility="gone"
android:src="@drawable/ic_outline_delete_24px" android:src="@drawable/ic_outline_delete_24px"
android:tint="@color/icon_tint"/> android:tint="@color/icon_tint"
android:visibility="gone"/>
<TextView <TextView
android:id="@+id/name" android:id="@+id/name"
@ -51,7 +51,7 @@
android:gravity="start|top" android:gravity="start|top"
android:maxLines="2" android:maxLines="2"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textSize="16sp"/> android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"/>
<TextView <TextView
android:id="@+id/address" android:id="@+id/address"
@ -68,8 +68,8 @@
android:paddingRight="@dimen/keyline_first" android:paddingRight="@dimen/keyline_first"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="2" android:maxLines="2"
android:textColor="?android:textColorSecondary" android:visibility="gone"
android:visibility="gone"/> android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"/>
</RelativeLayout> </RelativeLayout>

@ -67,7 +67,9 @@
<!--================================================== General == --> <!--================================================== General == -->
<style name="TextAppearance" parent="android:TextAppearance"/> <style name="TextAppearance" parent="android:TextAppearance">
<item name="android:textColor">@color/text_primary</item>
</style>
<!--=============================================== MainActivity == --> <!--=============================================== MainActivity == -->

Loading…
Cancel
Save