1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-11-14 22:17:11 +00:00

Use drop down/up instead of expand icons in drawer

As per the material guidelines
This commit is contained in:
Stypox
2020-05-21 08:58:37 +02:00
parent bbd0df08d3
commit 927a1d58e2
4 changed files with 13 additions and 3 deletions

View File

@@ -342,7 +342,7 @@ public class MainActivity extends AppCompatActivity {
}
private void showServices() {
serviceArrow.setImageResource(R.drawable.ic_expand_less_white_24dp);
serviceArrow.setImageResource(R.drawable.ic_arrow_drop_up_white_24dp);
for (StreamingService s : NewPipe.getServices()) {
final String title = s.getServiceInfo().getName()
@@ -407,7 +407,7 @@ public class MainActivity extends AppCompatActivity {
}
private void showTabs() throws ExtractionException {
serviceArrow.setImageResource(R.drawable.ic_expand_more_white_24dp);
serviceArrow.setImageResource(R.drawable.ic_arrow_drop_down_white_24dp);
//Tabs
int currentServiceId = ServiceHelper.getSelectedServiceId(this);