Add some icons to settings
This commit is contained in:
parent
4c36785461
commit
ac7c3405da
5 changed files with 58 additions and 8 deletions
|
@ -2,7 +2,8 @@
|
|||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:pathData="M19,4L5,4c-1.11,0 -2,0.9 -2,2v12c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,6c0,-1.1 -0.9,-2 -2,-2zM19,18L5,18L5,6h14v12zM7,15h3c0.55,0 1,-0.45 1,-1v-1L9.5,13v0.5h-2v-3h2v0.5L11,11v-1c0,-0.55 -0.45,-1 -1,-1L7,9c-0.55,0 -1,0.45 -1,1v4c0,0.55 0.45,1 1,1zM14,15h3c0.55,0 1,-0.45 1,-1v-1h-1.5v0.5h-2v-3h2v0.5L18,11v-1c0,-0.55 -0.45,-1 -1,-1h-3c-0.55,0 -1,0.45 -1,1v4c0,0.55 0.45,1 1,1z"
|
||||
android:fillColor="@color/white"/>
|
||||
|
|
42
app/src/main/res/drawable/ic_palette.xml
Normal file
42
app/src/main/res/drawable/ic_palette.xml
Normal file
|
@ -0,0 +1,42 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:pathData="M13.5,6.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="@color/white"
|
||||
android:strokeLineCap="round"/>
|
||||
<path
|
||||
android:pathData="M17.5,10.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="@color/white"
|
||||
android:strokeLineCap="round"/>
|
||||
<path
|
||||
android:pathData="M8.5,7.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="@color/white"
|
||||
android:strokeLineCap="round"/>
|
||||
<path
|
||||
android:pathData="M6.5,12.5m-0.5,0a0.5,0.5 0,1 1,1 0a0.5,0.5 0,1 1,-1 0"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="@color/white"
|
||||
android:strokeLineCap="round"/>
|
||||
<path
|
||||
android:pathData="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10c0.926,0 1.648,-0.746 1.648,-1.688 0,-0.437 -0.18,-0.835 -0.437,-1.125 -0.29,-0.289 -0.438,-0.652 -0.438,-1.125a1.64,1.64 0,0 1,1.668 -1.668h1.996c3.051,0 5.555,-2.503 5.555,-5.554C21.965,6.012 17.461,2 12,2z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="@color/white"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
|
@ -2,7 +2,8 @@
|
|||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:pathData="M6,2L18,2A2,2 0,0 1,20 4L20,20A2,2 0,0 1,18 22L6,22A2,2 0,0 1,4 20L4,4A2,2 0,0 1,6 2z"
|
||||
android:strokeLineJoin="round"
|
||||
|
|
|
@ -62,7 +62,8 @@
|
|||
android:layout_gravity="end"
|
||||
android:background="@drawable/transparent_circle_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/ic_speaker" />
|
||||
android:src="@drawable/ic_speaker"
|
||||
app:tint="@color/white" />
|
||||
|
||||
<Space
|
||||
android:layout_width="16dp"
|
||||
|
@ -75,7 +76,8 @@
|
|||
android:layout_gravity="end"
|
||||
android:background="@drawable/transparent_circle_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/ic_closed_caption" />
|
||||
android:src="@drawable/ic_closed_caption"
|
||||
app:tint="@color/white" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
app:entryValues="@array/languages_values"
|
||||
app:key="audio_language"
|
||||
app:title="@string/settings_preferred_audio_language"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
app:useSimpleSummaryProvider="true"
|
||||
app:icon="@drawable/ic_speaker"/>
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="null"
|
||||
|
@ -17,7 +18,8 @@
|
|||
app:entryValues="@array/languages_values"
|
||||
app:key="subtitle_language"
|
||||
app:title="@string/settings_preferred_subtitle_language"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
app:useSimpleSummaryProvider="true"
|
||||
app:icon="@drawable/ic_closed_caption"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
@ -25,7 +27,8 @@
|
|||
|
||||
<Preference
|
||||
app:key="switchServer"
|
||||
app:title="@string/manage_servers" />
|
||||
app:title="@string/manage_servers"
|
||||
app:icon="@drawable/ic_server"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
@ -36,7 +39,8 @@
|
|||
app:entryValues="@array/themes_value"
|
||||
app:key="theme"
|
||||
app:title="@string/theme"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
app:useSimpleSummaryProvider="true"
|
||||
app:icon="@drawable/ic_palette"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory app:title="Player">
|
||||
|
|
Loading…
Reference in a new issue