Change service icons for now
- Use place holders while the legal discussion is happening
This commit is contained in:
parent
989ce126f1
commit
cdde61a460
|
@ -106,7 +106,7 @@ public class MainActivity extends AppCompatActivity implements HistoryListener {
|
|||
final DrawerLayout drawer = findViewById(R.id.drawer_layout);
|
||||
final NavigationView drawerItems = findViewById(R.id.navigation);
|
||||
|
||||
drawerItems.setItemIconTintList(null);
|
||||
//drawerItems.setItemIconTintList(null); // Set null to use the original icon
|
||||
drawerItems.getMenu().getItem(ServiceHelper.getSelectedServiceId(this)).setChecked(true);
|
||||
|
||||
if (!BuildConfig.BUILD_TYPE.equals("release")) {
|
||||
|
|
|
@ -18,9 +18,9 @@ public class ServiceHelper {
|
|||
public static int getIcon(int serviceId) {
|
||||
switch (serviceId) {
|
||||
case 0:
|
||||
return R.drawable.youtube;
|
||||
return R.drawable.place_holder_youtube;
|
||||
case 1:
|
||||
return R.drawable.soundcloud;
|
||||
return R.drawable.place_holder_circle;
|
||||
default:
|
||||
return R.drawable.service;
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
|
@ -4,11 +4,11 @@
|
|||
android:id="@+id/menu_services_group">
|
||||
<item
|
||||
android:id="@+id/menu_service_youtube"
|
||||
android:icon="@drawable/youtube"
|
||||
android:icon="@drawable/place_holder_youtube"
|
||||
android:title="@string/youtube"/>
|
||||
<item
|
||||
android:id="@+id/menu_service_soundcloud"
|
||||
android:icon="@drawable/soundcloud"
|
||||
android:icon="@drawable/place_holder_circle"
|
||||
android:title="@string/soundcloud"/>
|
||||
</group>
|
||||
</menu>
|
Loading…
Reference in New Issue