Code cleanup: add ic_launcher, ic_tab, ic_stat_notify prefix

This commit is contained in:
Jimmy Shih
2013-07-08 18:37:37 -07:00
parent d50d9b6ef2
commit 834b0465fe
20 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ limitations under the License.
android:allowBackup="true"
android:backupAgent="com.google.android.apps.mytracks.io.backup.MyTracksBackupAgent"
android:hardwareAccelerated="true"
android:icon="@drawable/my_tracks_icon"
android:icon="@drawable/ic_launcher_my_tracks"
android:label="@string/my_tracks_app_name"
android:theme="@style/MyTracks" >
<!-- For data backup -->

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 741 B

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

+1 -1
View File
@@ -22,7 +22,7 @@ limitations under the License.
android:orientation="vertical"
android:padding="8dp" >
<TextView
android:drawableLeft="@drawable/my_tracks_icon"
android:drawableLeft="@drawable/ic_launcher_my_tracks"
android:text="@string/about_copyright_notice"
style="@style/TextMedium.WithIcon" />
<TextView
+1 -1
View File
@@ -343,7 +343,7 @@ limitations under the License.
<item name="android:layout_width">24dp</item>
<item name="android:padding">4dp</item>
<item name="android:scaleType">fitXY</item>
<item name="android:src">@drawable/my_tracks_icon</item>
<item name="android:src">@drawable/ic_launcher_my_tracks</item>
</style>
<!-- track widget logo 4x4 -->
<style name="TrackWidgetLogo4x4" parent="@style/TrackWidgetLogo">
@@ -193,17 +193,18 @@ public class TrackDetailActivity extends AbstractSendToGoogleActivity implements
tabsAdapter = new TabsAdapter(this, tabHost, viewPager);
TabSpec mapTabSpec = tabHost.newTabSpec(MyTracksMapFragment.MAP_FRAGMENT_TAG).setIndicator(
getString(R.string.track_detail_map_tab), getResources().getDrawable(R.drawable.tab_map));
getString(R.string.track_detail_map_tab),
getResources().getDrawable(R.drawable.ic_tab_map));
tabsAdapter.addTab(mapTabSpec, MyTracksMapFragment.class, null);
TabSpec chartTabSpec = tabHost.newTabSpec(ChartFragment.CHART_FRAGMENT_TAG).setIndicator(
getString(R.string.track_detail_chart_tab),
getResources().getDrawable(R.drawable.tab_chart));
getResources().getDrawable(R.drawable.ic_tab_chart));
tabsAdapter.addTab(chartTabSpec, ChartFragment.class, null);
TabSpec statsTabSpec = tabHost.newTabSpec(StatsFragment.STATS_FRAGMENT_TAG).setIndicator(
getString(R.string.track_detail_stats_tab),
getResources().getDrawable(R.drawable.tab_stats));
getResources().getDrawable(R.drawable.ic_tab_stats));
tabsAdapter.addTab(statsTabSpec, StatsFragment.class, null);
if (savedInstanceState != null) {
@@ -510,7 +510,7 @@ public class TrackRecordingService extends Service {
NotificationCompat.Builder builder = new NotificationCompat.Builder(this).setContentIntent(
pendingIntent).setContentText(getString(messageId))
.setContentTitle(getString(R.string.my_tracks_app_name)).setOngoing(true)
.setSmallIcon(R.drawable.my_tracks_notification_icon).setWhen(System.currentTimeMillis());
.setSmallIcon(R.drawable.ic_stat_notify_recording).setWhen(System.currentTimeMillis());
startForeground(1, builder.build());
}
+1 -1
View File
@@ -29,7 +29,7 @@ limitations under the License.
android:targetSdkVersion="17" />
<application
android:icon="@drawable/my_tracks_icon"
android:icon="@drawable/ic_launcher_my_tracks"
android:label="@string/lib_name" >
</application>

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB