File tree 1 file changed +4
-3
lines changed
helpstack/src/com/tenmiles/helpstack/activities
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 32
32
import android .net .Uri ;
33
33
import android .os .Bundle ;
34
34
import android .provider .MediaStore ;
35
+ import android .support .v7 .app .ActionBarActivity ;
35
36
import android .view .Menu ;
36
37
import android .view .MenuInflater ;
37
38
import android .view .MenuItem ;
46
47
import java .io .FileNotFoundException ;
47
48
import java .util .UUID ;
48
49
49
- public class EditAttachmentActivity extends Activity {
50
+ public class EditAttachmentActivity extends ActionBarActivity {
50
51
51
52
private final int REQUEST_CODE_PHOTO_PICKER = 100 ;
52
53
@@ -62,8 +63,8 @@ protected void onCreate(Bundle savedInstanceState) {
62
63
super .onCreate (savedInstanceState );
63
64
setContentView (R .layout .hs_activity_edit_attachment );
64
65
65
- getActionBar ().setDisplayHomeAsUpEnabled (true );
66
- getActionBar ().setTitle (R .string .hs_attachment_edit );
66
+ getSupportActionBar ().setDisplayHomeAsUpEnabled (true );
67
+ getSupportActionBar ().setTitle (R .string .hs_attachment_edit );
67
68
68
69
drawView = (DrawingView )findViewById (R .id .drawing );
69
70
drawView .setObserver (new DrawingView .ObserverInterface () {
You can’t perform that action at this time.
0 commit comments