Merge "Update Recents Searches and Search Results padding" into lmp-preview-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9b9c97e750
@@ -18,8 +18,8 @@
|
||||
android:id="@+id/dashboard"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="@*android:dimen/preference_fragment_padding_side"
|
||||
android:paddingEnd="@*android:dimen/preference_fragment_padding_side"
|
||||
android:paddingStart="@dimen/search_results_padding_start"
|
||||
android:paddingEnd="@dimen/search_results_padding_end"
|
||||
android:background="@color/dashboard_background_color">
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
@@ -35,10 +35,11 @@
|
||||
|
||||
<TextView android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dashboard_category_title_height"
|
||||
android:paddingStart="@dimen/search_title_padding_start"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="center_vertical"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textAppearance="@style/TextAppearance.RecentsTitle"
|
||||
android:textAlignment="viewStart"
|
||||
android:text="@string/search_recents_queries_label"
|
||||
/>
|
||||
@@ -59,10 +60,11 @@
|
||||
|
||||
<TextView android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dashboard_category_title_height"
|
||||
android:paddingStart="@dimen/search_title_padding_start"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="center_vertical"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textAppearance="@style/TextAppearance.ResultTitle"
|
||||
android:textAlignment="viewStart"
|
||||
android:text="@string/search_results_label"
|
||||
/>
|
||||
|
@@ -108,4 +108,11 @@
|
||||
<!-- ActionBar contentInsetStart -->
|
||||
<dimen name="actionbar_contentInsetStart">68dp</dimen>
|
||||
|
||||
<!-- Search Results padding in its container -->
|
||||
<dimen name="search_results_padding_start">1dp</dimen>
|
||||
<dimen name="search_results_padding_end">1dp</dimen>
|
||||
|
||||
<!-- Search title (recent / results) padding start -->
|
||||
<dimen name="search_title_padding_start">12dp</dimen>
|
||||
|
||||
</resources>
|
||||
|
@@ -274,4 +274,11 @@
|
||||
<style name="TextAppearance.TileSubTitle" parent="@android:style/TextAppearance.Quantum.Small">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.RecentsTitle" parent="TextAppearance.CategoryTitle">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle">
|
||||
</style>
|
||||
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user