Added titles to all activities
This commit is contained in:
parent
13cb72c34e
commit
745838457d
|
@ -13,7 +13,7 @@
|
|||
<application
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.Sherlock"
|
||||
android:theme="@style/Theme.Sherlock.Light"
|
||||
android:name=".PodcastApp">
|
||||
<activity
|
||||
android:label="@string/app_name"
|
||||
|
@ -23,8 +23,10 @@
|
|||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="de.podfetcher.activity.FeedlistActivity"/>
|
||||
<activity android:name="de.podfetcher.activity.AddFeedActivity"/>
|
||||
<activity android:name="de.podfetcher.activity.FeedlistActivity"
|
||||
android:label="@string/feeds_label"/>
|
||||
<activity android:name="de.podfetcher.activity.AddFeedActivity"
|
||||
android:label="@string/add_new_feed_label"/>
|
||||
<activity android:name="de.podfetcher.activity.FeedItemlistActivity"/>
|
||||
|
||||
<service android:enabled="true" android:name="de.podfetcher.service.DownloadService" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<string name="app_name">Podfetcher</string>
|
||||
<string name="feeds_label">Feeds</string>
|
||||
<string name="settings_label">Settings</string>
|
||||
<string name="add_new_feed_label">Add a new Feed</string>
|
||||
|
||||
<!-- -->
|
||||
<string name="confirm_label">Confirm</string>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package de.podfetcher.activity;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.widget.Button;
|
||||
import android.widget.EditText;
|
||||
|
@ -8,9 +7,13 @@ import android.view.View;
|
|||
import de.podfetcher.R;
|
||||
import de.podfetcher.feed.Feed;
|
||||
import de.podfetcher.storage.DownloadRequester;
|
||||
import com.actionbarsherlock.app.SherlockActivity;
|
||||
import com.actionbarsherlock.view.Menu;
|
||||
import com.actionbarsherlock.view.MenuInflater;
|
||||
import com.actionbarsherlock.view.MenuItem;
|
||||
|
||||
/** Activity for adding/editing a Feed */
|
||||
public class AddFeedActivity extends Activity {
|
||||
public class AddFeedActivity extends SherlockActivity {
|
||||
private static final String TAG = "AddFeedActivity";
|
||||
|
||||
private EditText etxtFeedurl;
|
||||
|
|
|
@ -26,9 +26,11 @@ public class FeedItemlistActivity extends SherlockListActivity {
|
|||
if(feedId == -1) Log.e(TAG, "Received invalid feed selection.");
|
||||
|
||||
feed = manager.getFeed(feedId);
|
||||
|
||||
|
||||
fila = new FeedItemlistAdapter(this, 0, feed.getItems());
|
||||
setListAdapter(fila);
|
||||
|
||||
setTitle(feed.getTitle());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue