Posted on Leave a comment

ActionBarActivity, AppCompat

Android Support Library: Consistent Design with AppCompat

What should we do with ActionBarActivity

1. AndroidManifest.xml

[code language=”html”]
<application android:theme="@style/Theme.AppCompat">
[/code]

2. MainActivity.java

[code language=”java”]
public class MainActivity extends AppCompatActivity
[/code]

Since the version 22.1.0 ActionBarActivity is deprecated. Use AppCompatActivity instead.
url1, url2

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.