mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 06:40:14 +00:00
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>
|