File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
helpstack/src/com/tenmiles/helpstack/activities Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3232import android .net .Uri ;
3333import android .os .Bundle ;
3434import android .provider .MediaStore ;
35+ import android .support .v7 .app .ActionBarActivity ;
3536import android .view .Menu ;
3637import android .view .MenuInflater ;
3738import android .view .MenuItem ;
4647import java .io .FileNotFoundException ;
4748import java .util .UUID ;
4849
49- public class EditAttachmentActivity extends Activity {
50+ public class EditAttachmentActivity extends ActionBarActivity {
5051
5152 private final int REQUEST_CODE_PHOTO_PICKER = 100 ;
5253
@@ -62,8 +63,8 @@ protected void onCreate(Bundle savedInstanceState) {
6263 super .onCreate (savedInstanceState );
6364 setContentView (R .layout .hs_activity_edit_attachment );
6465
65- getActionBar ().setDisplayHomeAsUpEnabled (true );
66- getActionBar ().setTitle (R .string .hs_attachment_edit );
66+ getSupportActionBar ().setDisplayHomeAsUpEnabled (true );
67+ getSupportActionBar ().setTitle (R .string .hs_attachment_edit );
6768
6869 drawView = (DrawingView )findViewById (R .id .drawing );
6970 drawView .setObserver (new DrawingView .ObserverInterface () {
You can’t perform that action at this time.
0 commit comments