am 62bb2dcc: change the tab selector icons
Merge commit '62bb2dccdd9dcf223908c728e24460e8248a9e7a' into gingerbread-plus-aosp * commit '62bb2dccdd9dcf223908c728e24460e8248a9e7a': change the tab selector icons
This commit is contained in:
6
apps/Tag/res/drawable/desk_clock.xml
Normal file
6
apps/Tag/res/drawable/desk_clock.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:drawable="@drawable/ic_menu_desk_clock"
|
||||||
|
android:state_selected="true" />
|
||||||
|
<item android:drawable="@drawable/ic_menu_desk_clock48" />
|
||||||
|
</selector>
|
||||||
BIN
apps/Tag/res/drawable/ic_menu_desk_clock.png
Normal file
BIN
apps/Tag/res/drawable/ic_menu_desk_clock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
apps/Tag/res/drawable/ic_menu_desk_clock48.png
Normal file
BIN
apps/Tag/res/drawable/ic_menu_desk_clock48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<!-- When selected, use grey -->
|
|
||||||
<item android:drawable="@drawable/ic_tab_artists_grey"
|
|
||||||
android:state_selected="true" />
|
|
||||||
<!-- When not selected, use white-->
|
|
||||||
<item android:drawable="@drawable/ic_tab_artists_white" />
|
|
||||||
</selector>
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 791 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -47,12 +47,12 @@ public class Tags extends TabActivity {
|
|||||||
|
|
||||||
|
|
||||||
TabHost.TabSpec spec1 = tabHost.newTabSpec("1")
|
TabHost.TabSpec spec1 = tabHost.newTabSpec("1")
|
||||||
.setIndicator("Saved", res.getDrawable(R.drawable.ic_tab_artists))
|
.setIndicator("Saved", res.getDrawable(R.drawable.ic_launcher_nfc))
|
||||||
.setContent(iSavedList);
|
.setContent(iSavedList);
|
||||||
tabHost.addTab(spec1);
|
tabHost.addTab(spec1);
|
||||||
|
|
||||||
TabHost.TabSpec spec2 = tabHost.newTabSpec("2")
|
TabHost.TabSpec spec2 = tabHost.newTabSpec("2")
|
||||||
.setIndicator("Recent", res.getDrawable(R.drawable.ic_tab_artists))
|
.setIndicator("Recent", res.getDrawable(R.drawable.desk_clock))
|
||||||
.setContent(iRecentList);
|
.setContent(iRecentList);
|
||||||
tabHost.addTab(spec2);
|
tabHost.addTab(spec2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user