OSDN Git Service

Migrate to AndroidX
[android-x86/packages-apps-Eleven.git] / res / layout / fragment_music_browser_phone.xml
index 3801078..a508c8b 100644 (file)
@@ -6,9 +6,9 @@
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
+
        http://www.apache.org/licenses/LICENSE-2.0
+
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         android:layout_width="match_parent"
         android:layout_height="match_parent" >
 
-        <com.viewpagerindicator.TabPageIndicator
+        <org.lineageos.eleven.widgets.ViewPagerTabs
             android:id="@+id/fragment_home_phone_pager_titles"
-            android:background="@color/tpi_background_color"
-            android:layout_width="wrap_content"
-            android:layout_height="@dimen/tpi_height" />
+            android:layout_width="match_parent"
+            android:layout_height="@dimen/tpi_height"
+            android:elevation="@dimen/action_bar_elevation"
+            style="@style/HeaderTabTextStyle" />
 
-        <android.support.v4.view.ViewPager
+        <androidx.viewpager.widget.ViewPager
             android:id="@+id/fragment_home_phone_pager"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:layout_below="@+id/fragment_home_phone_pager_titles" />
     </RelativeLayout>
 
-</FrameLayout>
\ No newline at end of file
+</FrameLayout>