some theming for android

This commit is contained in:
Kyle Spearrin 2016-08-16 00:37:18 -04:00
parent db36f618db
commit 83bcd39791
22 changed files with 59 additions and 51 deletions

View file

@ -347,7 +347,7 @@
<AndroidResource Include="Resources\xml\accessibilityservice.xml" /> <AndroidResource Include="Resources\xml\accessibilityservice.xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\logo.png" /> <AndroidResource Include="Resources\drawable\logo.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xxhdpi\logo.png" /> <AndroidResource Include="Resources\drawable-xxhdpi\logo.png" />
@ -359,7 +359,7 @@
<AndroidResource Include="Resources\drawable-hdpi\more.png" /> <AndroidResource Include="Resources\drawable-hdpi\more.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\more.png" /> <AndroidResource Include="Resources\drawable\more.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\more.png" /> <AndroidResource Include="Resources\drawable-xhdpi\more.png" />
@ -371,7 +371,7 @@
<AndroidResource Include="Resources\drawable-hdpi\icon.png" /> <AndroidResource Include="Resources\drawable-hdpi\icon.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\icon.png" /> <AndroidResource Include="Resources\drawable\icon.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\icon.png" /> <AndroidResource Include="Resources\drawable-xhdpi\icon.png" />
@ -398,7 +398,7 @@
<AndroidResource Include="Resources\drawable-hdpi\plus.png" /> <AndroidResource Include="Resources\drawable-hdpi\plus.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\plus.png" /> <AndroidResource Include="Resources\drawable\plus.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xxxhdpi\folder.png" /> <AndroidResource Include="Resources\drawable-xxxhdpi\folder.png" />
@ -413,7 +413,7 @@
<AndroidResource Include="Resources\drawable-hdpi\folder.png" /> <AndroidResource Include="Resources\drawable-hdpi\folder.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\folder.png" /> <AndroidResource Include="Resources\drawable\folder.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xxxhdpi\eye_slash.png" /> <AndroidResource Include="Resources\drawable-xxxhdpi\eye_slash.png" />
@ -425,7 +425,7 @@
<AndroidResource Include="Resources\drawable-xhdpi\eye_slash.png" /> <AndroidResource Include="Resources\drawable-xhdpi\eye_slash.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\eye_slash.png" /> <AndroidResource Include="Resources\drawable\eye_slash.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\eye_slash.png" /> <AndroidResource Include="Resources\drawable-hdpi\eye_slash.png" />
@ -443,7 +443,7 @@
<AndroidResource Include="Resources\drawable-xhdpi\eye.png" /> <AndroidResource Include="Resources\drawable-xhdpi\eye.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\eye.png" /> <AndroidResource Include="Resources\drawable\eye.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xxxhdpi\user.png" /> <AndroidResource Include="Resources\drawable-xxxhdpi\user.png" />
@ -455,7 +455,7 @@
<AndroidResource Include="Resources\drawable-xhdpi\user.png" /> <AndroidResource Include="Resources\drawable-xhdpi\user.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\user.png" /> <AndroidResource Include="Resources\drawable\user.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\user.png" /> <AndroidResource Include="Resources\drawable-hdpi\user.png" />
@ -464,7 +464,7 @@
<AndroidResource Include="Resources\drawable-hdpi\lightbulb.png" /> <AndroidResource Include="Resources\drawable-hdpi\lightbulb.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\lightbulb.png" /> <AndroidResource Include="Resources\drawable\lightbulb.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\lightbulb.png" /> <AndroidResource Include="Resources\drawable-xhdpi\lightbulb.png" />
@ -485,7 +485,7 @@
<AndroidResource Include="Resources\drawable-xhdpi\envelope.png" /> <AndroidResource Include="Resources\drawable-xhdpi\envelope.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\envelope.png" /> <AndroidResource Include="Resources\drawable\envelope.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\envelope.png" /> <AndroidResource Include="Resources\drawable-hdpi\envelope.png" />
@ -503,28 +503,28 @@
<AndroidResource Include="Resources\drawable-xhdpi\lock.png" /> <AndroidResource Include="Resources\drawable-xhdpi\lock.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\lock.png" /> <AndroidResource Include="Resources\drawable\lock.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-xxxhdpi\more.png" /> <AndroidResource Include="Resources\drawable-xxxhdpi\more.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\refresh.png" /> <AndroidResource Include="Resources\drawable\refresh.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\upload.png" /> <AndroidResource Include="Resources\drawable\upload.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\globe.png" /> <AndroidResource Include="Resources\drawable\globe.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\cloudup.png" /> <AndroidResource Include="Resources\drawable\cloudup.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\fingerprint.png" /> <AndroidResource Include="Resources\drawable\fingerprint.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\ion_chevron_right.png" /> <AndroidResource Include="Resources\drawable\ion_chevron_right.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\ion_chevron_right.png" /> <AndroidResource Include="Resources\drawable-hdpi\ion_chevron_right.png" />

View file

@ -1310,32 +1310,32 @@ namespace Bit.Android
public partial class Color public partial class Color
{ {
// aapt resource value: 0x7f0a006a
public const int abc_background_cache_hint_selector_material_dark = 2131361898;
// aapt resource value: 0x7f0a006b // aapt resource value: 0x7f0a006b
public const int abc_background_cache_hint_selector_material_light = 2131361899; public const int abc_background_cache_hint_selector_material_dark = 2131361899;
// aapt resource value: 0x7f0a006c // aapt resource value: 0x7f0a006c
public const int abc_color_highlight_material = 2131361900; public const int abc_background_cache_hint_selector_material_light = 2131361900;
// aapt resource value: 0x7f0a006d
public const int abc_color_highlight_material = 2131361901;
// aapt resource value: 0x7f0a0015 // aapt resource value: 0x7f0a0015
public const int abc_input_method_navigation_guard = 2131361813; public const int abc_input_method_navigation_guard = 2131361813;
// aapt resource value: 0x7f0a006d
public const int abc_primary_text_disable_only_material_dark = 2131361901;
// aapt resource value: 0x7f0a006e // aapt resource value: 0x7f0a006e
public const int abc_primary_text_disable_only_material_light = 2131361902; public const int abc_primary_text_disable_only_material_dark = 2131361902;
// aapt resource value: 0x7f0a006f // aapt resource value: 0x7f0a006f
public const int abc_primary_text_material_dark = 2131361903; public const int abc_primary_text_disable_only_material_light = 2131361903;
// aapt resource value: 0x7f0a0070 // aapt resource value: 0x7f0a0070
public const int abc_primary_text_material_light = 2131361904; public const int abc_primary_text_material_dark = 2131361904;
// aapt resource value: 0x7f0a0071 // aapt resource value: 0x7f0a0071
public const int abc_search_url_text = 2131361905; public const int abc_primary_text_material_light = 2131361905;
// aapt resource value: 0x7f0a0072
public const int abc_search_url_text = 2131361906;
// aapt resource value: 0x7f0a0016 // aapt resource value: 0x7f0a0016
public const int abc_search_url_text_normal = 2131361814; public const int abc_search_url_text_normal = 2131361814;
@ -1346,14 +1346,14 @@ namespace Bit.Android
// aapt resource value: 0x7f0a0018 // aapt resource value: 0x7f0a0018
public const int abc_search_url_text_selected = 2131361816; public const int abc_search_url_text_selected = 2131361816;
// aapt resource value: 0x7f0a0072
public const int abc_secondary_text_material_dark = 2131361906;
// aapt resource value: 0x7f0a0073 // aapt resource value: 0x7f0a0073
public const int abc_secondary_text_material_light = 2131361907; public const int abc_secondary_text_material_dark = 2131361907;
// aapt resource value: 0x7f0a0069 // aapt resource value: 0x7f0a0074
public const int accent = 2131361897; public const int abc_secondary_text_material_light = 2131361908;
// aapt resource value: 0x7f0a006a
public const int accent = 2131361898;
// aapt resource value: 0x7f0a0019 // aapt resource value: 0x7f0a0019
public const int accent_material_dark = 2131361817; public const int accent_material_dark = 2131361817;
@ -1415,8 +1415,8 @@ namespace Bit.Android
// aapt resource value: 0x7f0a0008 // aapt resource value: 0x7f0a0008
public const int common_action_bar_splitter = 2131361800; public const int common_action_bar_splitter = 2131361800;
// aapt resource value: 0x7f0a0074 // aapt resource value: 0x7f0a0075
public const int common_google_signin_btn_text_dark = 2131361908; public const int common_google_signin_btn_text_dark = 2131361909;
// aapt resource value: 0x7f0a0009 // aapt resource value: 0x7f0a0009
public const int common_google_signin_btn_text_dark_default = 2131361801; public const int common_google_signin_btn_text_dark_default = 2131361801;
@ -1430,8 +1430,8 @@ namespace Bit.Android
// aapt resource value: 0x7f0a000a // aapt resource value: 0x7f0a000a
public const int common_google_signin_btn_text_dark_pressed = 2131361802; public const int common_google_signin_btn_text_dark_pressed = 2131361802;
// aapt resource value: 0x7f0a0075 // aapt resource value: 0x7f0a0076
public const int common_google_signin_btn_text_light = 2131361909; public const int common_google_signin_btn_text_light = 2131361910;
// aapt resource value: 0x7f0a000d // aapt resource value: 0x7f0a000d
public const int common_google_signin_btn_text_light_default = 2131361805; public const int common_google_signin_btn_text_light_default = 2131361805;
@ -1445,8 +1445,8 @@ namespace Bit.Android
// aapt resource value: 0x7f0a000e // aapt resource value: 0x7f0a000e
public const int common_google_signin_btn_text_light_pressed = 2131361806; public const int common_google_signin_btn_text_light_pressed = 2131361806;
// aapt resource value: 0x7f0a0076 // aapt resource value: 0x7f0a0077
public const int common_plus_signin_btn_text_dark = 2131361910; public const int common_plus_signin_btn_text_dark = 2131361911;
// aapt resource value: 0x7f0a0000 // aapt resource value: 0x7f0a0000
public const int common_plus_signin_btn_text_dark_default = 2131361792; public const int common_plus_signin_btn_text_dark_default = 2131361792;
@ -1460,8 +1460,8 @@ namespace Bit.Android
// aapt resource value: 0x7f0a0001 // aapt resource value: 0x7f0a0001
public const int common_plus_signin_btn_text_dark_pressed = 2131361793; public const int common_plus_signin_btn_text_dark_pressed = 2131361793;
// aapt resource value: 0x7f0a0077 // aapt resource value: 0x7f0a0078
public const int common_plus_signin_btn_text_light = 2131361911; public const int common_plus_signin_btn_text_light = 2131361912;
// aapt resource value: 0x7f0a0004 // aapt resource value: 0x7f0a0004
public const int common_plus_signin_btn_text_light_default = 2131361796; public const int common_plus_signin_btn_text_light_default = 2131361796;
@ -1475,6 +1475,9 @@ namespace Bit.Android
// aapt resource value: 0x7f0a0005 // aapt resource value: 0x7f0a0005
public const int common_plus_signin_btn_text_light_pressed = 2131361797; public const int common_plus_signin_btn_text_light_pressed = 2131361797;
// aapt resource value: 0x7f0a0069
public const int darkaccent = 2131361897;
// aapt resource value: 0x7f0a0065 // aapt resource value: 0x7f0a0065
public const int darkgray = 2131361893; public const int darkgray = 2131361893;
@ -1661,11 +1664,11 @@ namespace Bit.Android
// aapt resource value: 0x7f0a004c // aapt resource value: 0x7f0a004c
public const int switch_thumb_disabled_material_light = 2131361868; public const int switch_thumb_disabled_material_light = 2131361868;
// aapt resource value: 0x7f0a0078
public const int switch_thumb_material_dark = 2131361912;
// aapt resource value: 0x7f0a0079 // aapt resource value: 0x7f0a0079
public const int switch_thumb_material_light = 2131361913; public const int switch_thumb_material_dark = 2131361913;
// aapt resource value: 0x7f0a007a
public const int switch_thumb_material_light = 2131361914;
// aapt resource value: 0x7f0a004d // aapt resource value: 0x7f0a004d
public const int switch_thumb_normal_material_dark = 2131361869; public const int switch_thumb_normal_material_dark = 2131361869;

View file

Before

Width:  |  Height:  |  Size: 779 B

After

Width:  |  Height:  |  Size: 779 B

View file

Before

Width:  |  Height:  |  Size: 374 B

After

Width:  |  Height:  |  Size: 374 B

View file

Before

Width:  |  Height:  |  Size: 607 B

After

Width:  |  Height:  |  Size: 607 B

View file

Before

Width:  |  Height:  |  Size: 659 B

After

Width:  |  Height:  |  Size: 659 B

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 976 B

After

Width:  |  Height:  |  Size: 976 B

View file

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 340 B

View file

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 468 B

View file

Before

Width:  |  Height:  |  Size: 359 B

After

Width:  |  Height:  |  Size: 359 B

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

View file

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View file

Before

Width:  |  Height:  |  Size: 1,017 B

After

Width:  |  Height:  |  Size: 1,017 B

View file

Before

Width:  |  Height:  |  Size: 533 B

After

Width:  |  Height:  |  Size: 533 B

View file

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 425 B

View file

@ -2,8 +2,10 @@
<resources> <resources>
<style name="BitwardenTheme" parent="android:Theme.Material.Light.DarkActionBar"> <style name="BitwardenTheme" parent="android:Theme.Material.Light.DarkActionBar">
<item name="android:colorPrimary">@color/primary</item> <item name="android:colorPrimary">@color/primary</item>
<item name="android:statusBarColor">@color/accent</item>
<item name="android:textColorPrimary">@color/black</item> <item name="android:textColorPrimary">@color/black</item>
<item name="android:colorAccent">@color/accent</item> <item name="android:colorAccent">@color/primary</item>
<item name="android:windowBackground">@color/lightgray</item> <item name="android:windowBackground">@color/lightgray</item>
<item name="android:navigationBarColor">@color/darkaccent</item>
</style> </style>
</resources> </resources>

View file

@ -5,6 +5,7 @@
<color name="darkgray">#333333</color> <color name="darkgray">#333333</color>
<color name="gray">#738182</color> <color name="gray">#738182</color>
<color name="lightgray">#efeff4</color> <color name="lightgray">#efeff4</color>
<color name="primary">#222d32</color> <color name="primary">#3c8dbc</color>
<color name="accent">#3c8dbc</color> <color name="darkaccent">#222d32</color>
<color name="accent">#286090</color>
</resources> </resources>

View file

@ -2,8 +2,10 @@
<resources> <resources>
<style name="BitwardenTheme" parent="android:Theme.Holo.Light.DarkActionBar"> <style name="BitwardenTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<item name="android:colorPrimary">@color/primary</item> <item name="android:colorPrimary">@color/primary</item>
<item name="android:statusBarColor">@color/accent</item>
<item name="android:textColorPrimary">@color/black</item> <item name="android:textColorPrimary">@color/black</item>
<item name="android:colorAccent">@color/accent</item> <item name="android:colorAccent">@color/primary</item>
<item name="android:windowBackground">@color/lightgray</item> <item name="android:windowBackground">@color/lightgray</item>
<item name="android:navigationBarColor">@color/darkaccent</item>
</style> </style>
</resources> </resources>