mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 22:03:04 +00:00
b5b7b584f3
On 5.0 the ActionBar method of doing tabs are deprecated. So we use the PagerTabStrip instead. Should get rid of deprecation warnings when building for Android 5.0.
15 lines
529 B
XML
15 lines
529 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.v4.view.PagerTabStrip
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:paddingBottom="10dp"
|
|
android:paddingTop="10dp" />
|
|
|
|
</android.support.v4.view.ViewPager>
|