我想知道是否有任何方法可以使用ActionBarSherlock支持库中的新DrawerLayout?我找到了ICS +的解决方法,但我需要的是对Android 2.2+的支持问题是ABS仅在ICS +时保留对原始android.view.MenuItem的引用,但对于旧版本,内部实现不能保存原始实现的引用.
我想知道是否可以在本机TabWidget上应用ActionBarSherlock(v4.2.0)TabWidget主题?因此它会在ICS前机器人上看起来像Holo.如果你知道如何 - 请分享.
我发现的只有:https://gist.github.com/1126843但它似乎不再起作用了.
标准xml布局:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TabHost
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</TabWidget>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
</LinearLayout>
</TabHost>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)