Skip to content

Commit

Permalink
[core] Move resources to drawable-default
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBRDeveloper committed Aug 4, 2024
1 parent d7029ac commit 2cb1b95
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions core/res/ex-layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@
width="50dp"
height="100dp"
background="#C00"
src="@drawable/default_window_icon"
src="@drawable-default/default_window_icon"
scaleType="fill"
margin="10dp"/>

<ImageView
width="50dp"
height="100dp"
background="#C00"
src="@drawable/default_window_icon"
src="@drawable-default/default_window_icon"
scaleType="crop"
margin="10dp"/>

<ImageView
width="50dp"
height="100dp"
background="#C00"
src="@drawable/default_window_icon"
src="@drawable-default/default_window_icon"
margin="10dp"/>

</LinearLayout>
Expand All @@ -66,7 +66,7 @@
width="100dp"
height="72dp"
background="#C00"
src="@drawable/default_window_icon"
src="@drawable-default/default_window_icon"
scaleType="fill"
rotation="45"
margin="10dp"/>
Expand All @@ -75,15 +75,15 @@
width="100dp"
height="72dp"
background="#C00"
src="@drawable/default_window_icon"
src="@drawable-default/default_window_icon"
scaleType="wrap"
margin="10dp"/>

<ImageView
width="100dp"
height="72dp"
background="#C00"
src="@drawable/default_window_icon"
src="@drawable-default/default_window_icon"
margin="10dp"/>

</LinearLayout>
Expand Down
12 changes: 6 additions & 6 deletions core/res/style/defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</style>

<style name="Widget.ScrollView">
<item name="scrollbar">@drawable/scrollbar_thumb</item>
<item name="scrollbar">@drawable-default/scrollbar_thumb</item>
</style>

<style name="Widget.SeekBar">
Expand All @@ -29,7 +29,7 @@
</style>

<style name="Widget.MenuLayout">
<style name="background">@drawable/menu_background</style>
<style name="background">@drawable-default/menu_background</style>
<style name="paddingTop">10dp</style>
<style name="paddingBottom">10dp</style>
</style>
Expand All @@ -43,18 +43,18 @@
<item name="pointerIcon">textSelection</item>
<item name="padding">8dp</item>
<item name="selectionColor">?colorPrimary</item>
<item name="background">@drawable/textarea_background</item>
<item name="background">@drawable-default/textarea_background</item>
</style>

<style name="Widget.Window">
<item name="icon">@drawable/default_window_icon</item>
<item name="icon">@drawable-default/default_window_icon</item>
<item name="title">MasterUi - Project</item>
<item name="width">800dp</item>
<item name="height">500dp</item>
</style>

<style name="Widget.Button">
<item name="background">@drawable/button_background</item>
<item name="background">@drawable-default/button_background</item>
<item name="gravity">center</item>
<item name="padding">10dp</item>
<item name="paddingLeft">15dp</item>
Expand All @@ -66,7 +66,7 @@
<style name="Widget.Switch">
<item name="width">42dp</item>
<item name="height">26dp</item>
<item name="background">@drawable/switch_background</item>
<item name="background">@drawable-default/switch_background</item>
</style>

<style name="Widget.ImageView">
Expand Down

0 comments on commit 2cb1b95

Please sign in to comment.