Remove unused resources

This commit is contained in:
Benoit Marty 2020-08-04 17:29:37 +02:00
parent 188aec9fc4
commit 16f80f35dd
9 changed files with 0 additions and 95 deletions

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Non focused states -->
<item android:drawable="@drawable/vector_tabbar_unselected_background_group_light" android:state_focused="false" android:state_pressed="false" android:state_selected="false" />
<item android:drawable="@drawable/vector_tabbar_selected_background_group_light" android:state_focused="false" android:state_pressed="false" android:state_selected="true" />
<!-- Focused states -->
<item android:drawable="@drawable/vector_tabbar_unselected_background_group_light" android:state_focused="true" android:state_pressed="false" android:state_selected="false" />
<item android:drawable="@drawable/vector_tabbar_selected_background_group_light" android:state_focused="true" android:state_pressed="false" android:state_selected="true" />
<!-- Pressed -->
<!-- Non focused states -->
<item android:drawable="@drawable/vector_tabbar_unselected_background_group_light" android:state_focused="false" android:state_pressed="true" android:state_selected="false" />
<item android:drawable="@drawable/vector_tabbar_selected_background_group_light" android:state_focused="false" android:state_pressed="true" android:state_selected="true" />
<!-- Focused states -->
<item android:drawable="@drawable/vector_tabbar_unselected_background_group_light" android:state_focused="true" android:state_pressed="true" android:state_selected="false" />
<item android:drawable="@drawable/vector_tabbar_selected_background_group_light" android:state_focused="true" android:state_pressed="true" android:state_selected="true" />
</selector>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@color/list_divider_color_light" />
<padding android:bottom="1dp" />
</shape>
</item>
<item>
<shape android:shape="rectangle">
<solid android:color="@android:color/white" />
<padding android:bottom="2dp" />
</shape>
</item>
<item>
<shape android:shape="rectangle">
<solid android:color="@color/tab_groups" />
</shape>
</item>
</layer-list>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@color/tab_groups" />
</shape>
</item>
</layer-list>

View File

@ -8,9 +8,6 @@
<attr name="vctr_toolbar_secondary_text_color" format="color" />
<attr name="vctr_toolbar_link_text_color" format="color" />
<!-- application bar text hint color -->
<attr name="vctr_primary_hint_text_color" format="color" />
<!-- default text colors -->
<attr name="vctr_default_text_hint_color" format="color" />

View File

@ -12,23 +12,6 @@
<color name="vector_silver_color">#FFC7C7C7</color>
<color name="vector_dark_grey_color">#FF999999</color>
<!-- home activity tab bar color -->
<color name="tab_favourites">#BD79CC</color>
<color name="tab_favourites_secondary">#744C7F</color>
<color name="tab_people">#F8A15F</color>
<color name="tab_people_secondary">#D97051</color>
<color name="tab_rooms">@color/accent_color_light</color>
<color name="tab_rooms_secondary">#5EA584</color>
<color name="tab_groups">#a6d0e5</color>
<color name="tab_groups_secondary">#81bddb</color>
<!-- color of the direct chat avatar ring (it's 50% of color accent) -->
<color name="direct_chat_ring_color_light">#7F03b381</color>
<color name="direct_chat_ring_color_dark">#7F03b381</color>
<color name="direct_chat_ring_color_black">#7F03b381</color>
<color name="direct_chat_ring_color_status">#7F586C7B</color>
<!-- theses colours are requested a background cannot be set by an ?attr on android < 5 -->
<!-- dedicated drawables are created for each theme -->
<!-- Default/Background-->
@ -106,10 +89,6 @@
<color name="riot_secondary_text_color_status">#7F70808D</color>
<color name="riot_tertiary_text_color_status">@color/riot_primary_text_color_status</color>
<!-- Quote Colors -->
<color name="quote_strip_color">#FFDDDDDD</color>
<color name="quote_background_color">@android:color/transparent</color>
<!-- Notification view colors -->
<color name="soft_resource_limit_exceeded">#2f9edb</color>
<color name="hard_resource_limit_exceeded">@color/vector_fuchsia_color</color>

View File

@ -15,11 +15,6 @@
<item name="contentInsetStartWithNavigation">0dp</item>
</style>
<style name="VectorToolbarStyle.Group">
<item name="android:background">@color/tab_groups</item>
<item name="background">@color/tab_groups</item>
</style>
<style name="Vector.Toolbar.Title" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
<item name="android:textSize">20sp</item>
<item name="android:fontFamily">"sans-serif-medium"</item>
@ -283,11 +278,6 @@
<item name="android:background">@drawable/vector_background_fab_label_light</item>
</style>
<style name="Vector.TabView.Group" parent="Widget.AppCompat.ActionBar.TabView">
<item name="android:background">@drawable/vector_tabbar_background_group_light</item>
<item name="background">@drawable/vector_tabbar_background_group_light</item>
</style>
<!-- Linear Layout orientation, depending on screen size. Vertical by default -->
<style name="VectorLinearLayout">
<item name="android:gravity">end</item>

View File

@ -83,9 +83,6 @@
<item name="vctr_toolbar_secondary_text_color">@color/riot_secondary_text_color_dark</item>
<item name="vctr_toolbar_link_text_color">@color/link_color_dark</item>
<!-- application bar text hint color -->
<item name="vctr_primary_hint_text_color">@color/primary_hint_text_color_dark</item>
<!-- default text colors -->
<item name="vctr_default_text_hint_color">@color/default_text_hint_color_dark</item>

View File

@ -83,9 +83,6 @@
<item name="vctr_toolbar_secondary_text_color">@color/riotx_text_primary_light</item>
<item name="vctr_toolbar_link_text_color">@color/riotx_links</item>
<!-- application bar text hint color -->
<item name="vctr_primary_hint_text_color">@color/primary_hint_text_color_light</item>
<!-- default text colors -->
<item name="vctr_default_text_hint_color">@color/default_text_hint_color_light</item>

View File

@ -33,9 +33,6 @@
<item name="vctr_toolbar_secondary_text_color">@color/primary_color_dark_status</item>
<item name="vctr_toolbar_link_text_color">@color/primary_color_dark_status</item>
<!-- application bar text hint color -->
<item name="vctr_primary_hint_text_color">@color/primary_hint_text_color_light</item>
<!-- default text colors -->
<item name="vctr_default_text_hint_color">@color/default_text_hint_color_light</item>