Commit 55163619 authored by Shakti Sahu's avatar Shakti Sahu Committed by Commit Bot

Download home tab style refresh

This CL tries to update the tab style used in download home to match
with rest of chrome.

Bug: 951819
Change-Id: Id9eab9209ae12e47fe5d5a4808a0f55c9c9cbaa8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1573094
Commit-Queue: Shakti Sahu <shaktisahu@chromium.org>
Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652280}
parent 3cad68fa
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@color/hairline_stroke_color" />
</shape>
</item>
<item android:bottom="1dp">
<shape android:shape="rectangle">
<solid android:color="@color/modern_primary_color" />
</shape>
</item>
</layer-list>
......@@ -10,37 +10,40 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="40dp"
app:tabMinWidth="150dp"
app:tabMaxWidth="2000dp"
app:tabMaxWidth="0dp"
app:tabMode="fixed"
app:tabGravity="center"
app:tabTextAppearance="@style/TextAppearance.BlackLink"
app:tabIndicatorColor="@color/light_active_color"
app:tabGravity="fill"
app:tabTextColor="@color/default_text_color_tertiary"
app:tabSelectedTextColor="@color/tab_layout_selected_tab_color"
android:background="@drawable/download_home_tabs_bg">
android:background="@color/modern_primary_color">
<android.support.design.widget.TabItem
android:id="@+id/files_tab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/download_manager_files_tab" />
android:text="@string/download_manager_files_tab"/>
<android.support.design.widget.TabItem
android:id="@+id/prefetch_tab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/ntp_article_suggestions_section_header" />
android:text="@string/ntp_article_suggestions_section_header"/>
</android.support.design.widget.TabLayout>
</android.support.design.widget.AppBarLayout>
<FrameLayout
android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp" />
android:paddingTop="16dp"/>
</LinearLayout>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment