Я пытаюсь это:
<RelativeLayout
android:id="@+id/alert_banner"
style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginBottom="2dip"
android:background="@color/holo_red_light"
android:orientation="horizontal"
android:padding="1dip" >
<Button
android:id="@+id/alert_banner_button"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:textColor="#EEEEEE"
android:text="@string/offline_warning_text"/>
</RelativeLayout>
и строки стиля дают мне эту ошибку:
?android:attr/buttonBarStyle требует уровня API 11 (текущий минимум 10)
Не уверен, почему это так, я использую библиотеку совместимости приложений. Могу ли я использовать стили совместимости приложений?