mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-03 20:17:39 +01:00
Added titles to all activities
This commit is contained in:
parent
13cb72c34e
commit
745838457d
@ -13,7 +13,7 @@
|
|||||||
<application
|
<application
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/Theme.Sherlock"
|
android:theme="@style/Theme.Sherlock.Light"
|
||||||
android:name=".PodcastApp">
|
android:name=".PodcastApp">
|
||||||
<activity
|
<activity
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
@ -23,8 +23,10 @@
|
|||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity android:name="de.podfetcher.activity.FeedlistActivity"/>
|
<activity android:name="de.podfetcher.activity.FeedlistActivity"
|
||||||
<activity android:name="de.podfetcher.activity.AddFeedActivity"/>
|
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"/>
|
<activity android:name="de.podfetcher.activity.FeedItemlistActivity"/>
|
||||||
|
|
||||||
<service android:enabled="true" android:name="de.podfetcher.service.DownloadService" />
|
<service android:enabled="true" android:name="de.podfetcher.service.DownloadService" />
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<string name="app_name">Podfetcher</string>
|
<string name="app_name">Podfetcher</string>
|
||||||
<string name="feeds_label">Feeds</string>
|
<string name="feeds_label">Feeds</string>
|
||||||
<string name="settings_label">Settings</string>
|
<string name="settings_label">Settings</string>
|
||||||
|
<string name="add_new_feed_label">Add a new Feed</string>
|
||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<string name="confirm_label">Confirm</string>
|
<string name="confirm_label">Confirm</string>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package de.podfetcher.activity;
|
package de.podfetcher.activity;
|
||||||
|
|
||||||
import android.app.Activity;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
@ -8,9 +7,13 @@ import android.view.View;
|
|||||||
import de.podfetcher.R;
|
import de.podfetcher.R;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.podfetcher.feed.Feed;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
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 */
|
/** Activity for adding/editing a Feed */
|
||||||
public class AddFeedActivity extends Activity {
|
public class AddFeedActivity extends SherlockActivity {
|
||||||
private static final String TAG = "AddFeedActivity";
|
private static final String TAG = "AddFeedActivity";
|
||||||
|
|
||||||
private EditText etxtFeedurl;
|
private EditText etxtFeedurl;
|
||||||
|
@ -29,6 +29,8 @@ public class FeedItemlistActivity extends SherlockListActivity {
|
|||||||
|
|
||||||
fila = new FeedItemlistAdapter(this, 0, feed.getItems());
|
fila = new FeedItemlistAdapter(this, 0, feed.getItems());
|
||||||
setListAdapter(fila);
|
setListAdapter(fila);
|
||||||
|
|
||||||
|
setTitle(feed.getTitle());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user