UI tweaks
|
@ -2,8 +2,10 @@ package org.schabi.newpipe.settings;
|
|||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
|
@ -120,6 +122,7 @@ public class ContentSettingsMain extends Fragment {
|
|||
contentSettingsMainDialog.setOnAddListener(ContentSettingsMain.this::addTab);
|
||||
contentSettingsMainDialog.show(getFragmentManager(), "select_channel");
|
||||
});
|
||||
fab.setBackgroundTintList(ColorStateList.valueOf(getResources().getColor(R.color.light_settings_accent_color)));
|
||||
}
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 349 B |
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24.0" android:viewportWidth="24.0"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||
</vector>
|
|
@ -12,7 +12,7 @@
|
|||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
app:cardCornerRadius="5dp"
|
||||
app:cardElevation="12dp">
|
||||
app:cardElevation="4dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/handle"
|
||||
|
|