Browse Source

Initial changes for Material Design

master
Anthony Restaino 9 years ago
parent
commit
ced119f311
  1. BIN
      lib/android-support-v7-appcompat.jar
  2. BIN
      lib/android-support-v7-palette.jar
  3. BIN
      res/drawable-hdpi/ic_action_back.png
  4. BIN
      res/drawable-hdpi/ic_action_back_dark.png
  5. BIN
      res/drawable-hdpi/ic_action_collapse.png
  6. BIN
      res/drawable-hdpi/ic_action_copy.png
  7. BIN
      res/drawable-hdpi/ic_action_delete.png
  8. BIN
      res/drawable-hdpi/ic_action_expand.png
  9. BIN
      res/drawable-hdpi/ic_action_forward.png
  10. BIN
      res/drawable-hdpi/ic_action_forward_dark.png
  11. BIN
      res/drawable-hdpi/ic_action_menu.png
  12. BIN
      res/drawable-hdpi/ic_action_plus.png
  13. BIN
      res/drawable-hdpi/ic_action_refresh.png
  14. BIN
      res/drawable-hdpi/ic_action_star.png
  15. BIN
      res/drawable-hdpi/ic_bookmark.png
  16. BIN
      res/drawable-hdpi/ic_bookmark_dark.png
  17. BIN
      res/drawable-hdpi/ic_history.png
  18. BIN
      res/drawable-hdpi/ic_history_dark.png
  19. BIN
      res/drawable-hdpi/ic_launcher.png
  20. BIN
      res/drawable-hdpi/ic_search.png
  21. BIN
      res/drawable-hdpi/ic_search_dark.png
  22. BIN
      res/drawable-hdpi/ic_webpage.png
  23. BIN
      res/drawable-mdpi/ic_action_back.png
  24. BIN
      res/drawable-mdpi/ic_action_back_dark.png
  25. BIN
      res/drawable-mdpi/ic_action_collapse.png
  26. BIN
      res/drawable-mdpi/ic_action_copy.png
  27. BIN
      res/drawable-mdpi/ic_action_delete.png
  28. BIN
      res/drawable-mdpi/ic_action_expand.png
  29. BIN
      res/drawable-mdpi/ic_action_forward.png
  30. BIN
      res/drawable-mdpi/ic_action_forward_dark.png
  31. BIN
      res/drawable-mdpi/ic_action_menu.png
  32. BIN
      res/drawable-mdpi/ic_action_plus.png
  33. BIN
      res/drawable-mdpi/ic_action_refresh.png
  34. BIN
      res/drawable-mdpi/ic_action_star.png
  35. BIN
      res/drawable-mdpi/ic_bookmark.png
  36. BIN
      res/drawable-mdpi/ic_bookmark_dark.png
  37. BIN
      res/drawable-mdpi/ic_history.png
  38. BIN
      res/drawable-mdpi/ic_history_dark.png
  39. BIN
      res/drawable-mdpi/ic_search.png
  40. BIN
      res/drawable-mdpi/ic_search_dark.png
  41. BIN
      res/drawable-mdpi/ic_webpage.png
  42. BIN
      res/drawable-xhdpi/ic_action_back.png
  43. BIN
      res/drawable-xhdpi/ic_action_back_dark.png
  44. BIN
      res/drawable-xhdpi/ic_action_collapse.png
  45. BIN
      res/drawable-xhdpi/ic_action_copy.png
  46. BIN
      res/drawable-xhdpi/ic_action_delete.png
  47. BIN
      res/drawable-xhdpi/ic_action_expand.png
  48. BIN
      res/drawable-xhdpi/ic_action_forward.png
  49. BIN
      res/drawable-xhdpi/ic_action_forward_dark.png
  50. BIN
      res/drawable-xhdpi/ic_action_menu.png
  51. BIN
      res/drawable-xhdpi/ic_action_plus.png
  52. BIN
      res/drawable-xhdpi/ic_action_refresh.png
  53. BIN
      res/drawable-xhdpi/ic_action_star.png
  54. BIN
      res/drawable-xhdpi/ic_bookmark.png
  55. BIN
      res/drawable-xhdpi/ic_bookmark_dark.png
  56. BIN
      res/drawable-xhdpi/ic_history.png
  57. BIN
      res/drawable-xhdpi/ic_history_dark.png
  58. BIN
      res/drawable-xhdpi/ic_launcher.png
  59. BIN
      res/drawable-xhdpi/ic_search.png
  60. BIN
      res/drawable-xhdpi/ic_search_dark.png
  61. BIN
      res/drawable-xhdpi/ic_webpage.png
  62. BIN
      res/drawable-xxhdpi/ic_action_back.png
  63. BIN
      res/drawable-xxhdpi/ic_action_back_dark.png
  64. BIN
      res/drawable-xxhdpi/ic_action_collapse.png
  65. BIN
      res/drawable-xxhdpi/ic_action_copy.png
  66. BIN
      res/drawable-xxhdpi/ic_action_delete.png
  67. BIN
      res/drawable-xxhdpi/ic_action_expand.png
  68. BIN
      res/drawable-xxhdpi/ic_action_forward.png
  69. BIN
      res/drawable-xxhdpi/ic_action_forward_dark.png
  70. BIN
      res/drawable-xxhdpi/ic_action_menu.png
  71. BIN
      res/drawable-xxhdpi/ic_action_plus.png
  72. BIN
      res/drawable-xxhdpi/ic_action_refresh.png
  73. BIN
      res/drawable-xxhdpi/ic_action_star.png
  74. BIN
      res/drawable-xxhdpi/ic_bookmark.png
  75. BIN
      res/drawable-xxhdpi/ic_bookmark_dark.png
  76. BIN
      res/drawable-xxhdpi/ic_history.png
  77. BIN
      res/drawable-xxhdpi/ic_history_dark.png
  78. BIN
      res/drawable-xxhdpi/ic_launcher.png
  79. BIN
      res/drawable-xxhdpi/ic_search.png
  80. BIN
      res/drawable-xxhdpi/ic_search_dark.png
  81. BIN
      res/drawable-xxhdpi/ic_webpage.png
  82. BIN
      res/drawable-xxxhdpi/ic_launcher.png
  83. 23
      res/drawable/card_bg_elevate.xml
  84. 60
      res/layout/activity_main.xml
  85. 13
      res/layout/animated_progress_bar.xml
  86. 22
      res/layout/bookmark_list_item.xml
  87. 11
      res/layout/search.xml
  88. 4
      res/layout/settings.xml
  89. 15
      res/layout/tab_list_item.xml
  90. 26
      res/layout/toolbar.xml
  91. 26
      res/layout/toolbar_content.xml
  92. BIN
      res/mipmap-hdpi/ic_launcher.png
  93. BIN
      res/mipmap-mdpi/ic_launcher.png
  94. BIN
      res/mipmap-xhdpi/ic_launcher.png
  95. BIN
      res/mipmap-xxhdpi/ic_launcher.png
  96. BIN
      res/mipmap-xxxhdpi/ic_launcher.png
  97. 70
      res/values-v21/styles.xml
  98. 16
      res/values/attr.xml
  99. 11
      res/values/colors.xml
  100. 2
      res/values/dimens.xml
  101. Some files were not shown because too many files have changed in this diff Show More

BIN
lib/android-support-v7-appcompat.jar

Binary file not shown.

BIN
lib/android-support-v7-palette.jar

Binary file not shown.

BIN
res/drawable-hdpi/ic_action_back.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 297 B

BIN
res/drawable-hdpi/ic_action_back_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 262 B

BIN
res/drawable-hdpi/ic_action_collapse.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 509 B

BIN
res/drawable-hdpi/ic_action_copy.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 353 B

BIN
res/drawable-hdpi/ic_action_delete.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 371 B

BIN
res/drawable-hdpi/ic_action_expand.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 B

After

Width:  |  Height:  |  Size: 546 B

BIN
res/drawable-hdpi/ic_action_forward.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 292 B

BIN
res/drawable-hdpi/ic_action_forward_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 268 B

BIN
res/drawable-hdpi/ic_action_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

BIN
res/drawable-hdpi/ic_action_plus.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 B

After

Width:  |  Height:  |  Size: 181 B

BIN
res/drawable-hdpi/ic_action_refresh.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 753 B

BIN
res/drawable-hdpi/ic_action_star.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 884 B

After

Width:  |  Height:  |  Size: 820 B

BIN
res/drawable-hdpi/ic_bookmark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 617 B

BIN
res/drawable-hdpi/ic_bookmark_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

After

Width:  |  Height:  |  Size: 516 B

BIN
res/drawable-hdpi/ic_history.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 756 B

BIN
res/drawable-hdpi/ic_history_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 696 B

BIN
res/drawable-hdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

BIN
res/drawable-hdpi/ic_search.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 748 B

BIN
res/drawable-hdpi/ic_search_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 618 B

After

Width:  |  Height:  |  Size: 640 B

BIN
res/drawable-hdpi/ic_webpage.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 805 B

BIN
res/drawable-mdpi/ic_action_back.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

BIN
res/drawable-mdpi/ic_action_back_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

BIN
res/drawable-mdpi/ic_action_collapse.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

BIN
res/drawable-mdpi/ic_action_copy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
res/drawable-mdpi/ic_action_delete.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

BIN
res/drawable-mdpi/ic_action_expand.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

BIN
res/drawable-mdpi/ic_action_forward.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

BIN
res/drawable-mdpi/ic_action_forward_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

BIN
res/drawable-mdpi/ic_action_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

BIN
res/drawable-mdpi/ic_action_plus.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

BIN
res/drawable-mdpi/ic_action_refresh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

BIN
res/drawable-mdpi/ic_action_star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

BIN
res/drawable-mdpi/ic_bookmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
res/drawable-mdpi/ic_bookmark_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

BIN
res/drawable-mdpi/ic_history.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

BIN
res/drawable-mdpi/ic_history_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
res/drawable-mdpi/ic_search.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

BIN
res/drawable-mdpi/ic_search_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

BIN
res/drawable-mdpi/ic_webpage.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

BIN
res/drawable-xhdpi/ic_action_back.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 391 B

BIN
res/drawable-xhdpi/ic_action_back_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 339 B

BIN
res/drawable-xhdpi/ic_action_collapse.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 659 B

BIN
res/drawable-xhdpi/ic_action_copy.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

After

Width:  |  Height:  |  Size: 417 B

BIN
res/drawable-xhdpi/ic_action_delete.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 529 B

BIN
res/drawable-xhdpi/ic_action_expand.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

After

Width:  |  Height:  |  Size: 691 B

BIN
res/drawable-xhdpi/ic_action_forward.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

After

Width:  |  Height:  |  Size: 365 B

BIN
res/drawable-xhdpi/ic_action_forward_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

After

Width:  |  Height:  |  Size: 332 B

BIN
res/drawable-xhdpi/ic_action_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

BIN
res/drawable-xhdpi/ic_action_plus.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 206 B

BIN
res/drawable-xhdpi/ic_action_refresh.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/drawable-xhdpi/ic_action_star.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/drawable-xhdpi/ic_bookmark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 804 B

BIN
res/drawable-xhdpi/ic_bookmark_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

After

Width:  |  Height:  |  Size: 703 B

BIN
res/drawable-xhdpi/ic_history.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 943 B

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
res/drawable-xhdpi/ic_history_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 836 B

After

Width:  |  Height:  |  Size: 998 B

BIN
res/drawable-xhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

BIN
res/drawable-xhdpi/ic_search.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 902 B

After

Width:  |  Height:  |  Size: 992 B

BIN
res/drawable-xhdpi/ic_search_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 782 B

After

Width:  |  Height:  |  Size: 886 B

BIN
res/drawable-xhdpi/ic_webpage.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/drawable-xxhdpi/ic_action_back.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

BIN
res/drawable-xxhdpi/ic_action_back_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

BIN
res/drawable-xxhdpi/ic_action_collapse.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 B

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
res/drawable-xxhdpi/ic_action_copy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

BIN
res/drawable-xxhdpi/ic_action_delete.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

BIN
res/drawable-xxhdpi/ic_action_expand.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/drawable-xxhdpi/ic_action_forward.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

BIN
res/drawable-xxhdpi/ic_action_forward_dark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

BIN
res/drawable-xxhdpi/ic_action_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

BIN
res/drawable-xxhdpi/ic_action_plus.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 267 B

BIN
res/drawable-xxhdpi/ic_action_refresh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
res/drawable-xxhdpi/ic_action_star.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
res/drawable-xxhdpi/ic_bookmark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/drawable-xxhdpi/ic_bookmark_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/drawable-xxhdpi/ic_history.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
res/drawable-xxhdpi/ic_history_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
res/drawable-xxhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
res/drawable-xxhdpi/ic_search.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
res/drawable-xxhdpi/ic_search_dark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
res/drawable-xxhdpi/ic_webpage.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
res/drawable-xxxhdpi/ic_launcher.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

23
res/drawable/card_bg_elevate.xml

@ -0,0 +1,23 @@ @@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape
android:dither="true"
android:shape="rectangle" >
<corners android:radius="2dp" />
<solid android:color="@color/secondary_color" />
</shape>
</item>
<item android:bottom="1dp">
<shape
android:dither="true"
android:shape="rectangle" >
<corners android:radius="2dp" />
<solid android:color="@android:color/white" />
</shape>
</item>
</layer-list>

60
res/layout/activity_main.xml

@ -1,44 +1,31 @@ @@ -1,44 +1,31 @@
<!-- Copyright 2014 ACR Development -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/progressWrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?progressColor"
android:orientation="vertical" >
<ProgressBar
android:id="@+id/activity_bar"
android:layout_width="match_parent"
android:layout_height="2dp"
android:indeterminate="false"
android:indeterminateOnly="false"
android:maxHeight="2dp"
android:minHeight="2dp"
android:progressDrawable="@drawable/progress" />
</LinearLayout>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent"
android:fitsSystemWindows="true" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical" >
<include layout="@layout/toolbar" />
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
android:layout_height="0dp"
android:background="@color/primary_color"
android:layout_weight="1"/>
<include layout="@layout/search_interface" />
</LinearLayout>
@ -50,21 +37,22 @@ @@ -50,21 +37,22 @@
android:layout_gravity="start"
android:background="@color/drawer_background"
android:clickable="true"
android:fitsSystemWindows="true"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/new_tab_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="?attr/actionBarSize"
android:layout_alignParentTop="true"
android:background="@drawable/list_bg"
android:background="?attr/listBackground"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/plusIcon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
@ -103,7 +91,7 @@ @@ -103,7 +91,7 @@
android:layout_below="@+id/view"
android:choiceMode="singleChoice"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_bg" />
android:listSelector="?attr/listBackground" />
<View
android:id="@+id/lineView"
@ -126,7 +114,7 @@ @@ -126,7 +114,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/list_bg"
android:background="?attr/listBackground"
android:clickable="true" >
<ImageView
@ -146,7 +134,7 @@ @@ -146,7 +134,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/list_bg"
android:background="?attr/listBackground"
android:clickable="true" >
<ImageView
@ -170,20 +158,22 @@ @@ -170,20 +158,22 @@
android:layout_gravity="end"
android:background="@color/drawer_background"
android:clickable="true"
android:fitsSystemWindows="true"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/bookmark_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bg"
android:layout_height="?attr/actionBarSize"
android:background="?attr/listBackground"
android:clickable="true"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/starIcon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
@ -218,7 +208,7 @@ @@ -218,7 +208,7 @@
android:layout_height="match_parent"
android:divider="#bababa"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_bg" />
android:listSelector="?attr/listBackground" />
</LinearLayout>
</android.support.v4.widget.DrawerLayout>

13
res/layout/animated_progress_bar.xml

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/progress_background"
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_height="5dp">
<View
android:id="@android:id/progress"
android:layout_width="0dp"
android:layout_height="match_parent"/>
</LinearLayout>

22
res/layout/bookmark_list_item.xml

@ -2,31 +2,31 @@ @@ -2,31 +2,31 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="56dp"
android:gravity="center_vertical"
android:background="@drawable/list_bg"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/favicon1"
android:layout_width="20dp"
android:layout_height="20dp"
android:contentDescription="Favicon"
android:gravity="center_vertical"
android:id="@+id/faviconBookmark"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp" >
android:layout_marginRight="16dp"
android:contentDescription="Favicon"
android:gravity="center_vertical" >
</ImageView>
<TextView
android:id="@+id/text1"
android:id="@+id/textBookmark"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:ellipsize="end"
android:fontFamily="sans-serif-light"
android:gravity="center_vertical"
android:maxLines="1"
android:singleLine="true"
android:ellipsize="end"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingRight="16dp"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:textColor="@color/dark_text" />

11
res/layout/search.xml

@ -2,11 +2,13 @@ @@ -2,11 +2,13 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="7dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginBottom="6dp"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:layout_weight="1"
android:layout_marginTop="8dp"
android:background="@drawable/card_bg"
android:elevation="2dp"
android:background="?attr/searchBackground"
android:clipChildren="false"
android:clipToPadding="false"
android:descendantFocusability="beforeDescendants"
@ -29,6 +31,7 @@ @@ -29,6 +31,7 @@
android:selectAllOnFocus="true"
android:singleLine="true"
android:textColor="@color/gray_dark"
android:textColorHint="@color/hint_text"
android:textCursorDrawable="@null" >
</AutoCompleteTextView>

4
res/layout/settings.xml

@ -3,12 +3,14 @@ @@ -3,12 +3,14 @@
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/layoutFlash"
android:layout_width="match_parent"

15
res/layout/tab_list_item.xml

@ -7,9 +7,9 @@ @@ -7,9 +7,9 @@
android:orientation="horizontal" >
<ImageView
android:id="@+id/favicon1"
android:layout_width="20dp"
android:layout_height="20dp"
android:id="@+id/faviconTab"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
@ -19,12 +19,12 @@ @@ -19,12 +19,12 @@
</ImageView>
<TextView
android:id="@+id/text1"
android:id="@+id/textTab"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/delete1"
android:layout_toRightOf="@+id/favicon1"
android:layout_toLeftOf="@+id/deleteButton"
android:layout_toRightOf="@+id/faviconTab"
android:ellipsize="end"
android:fontFamily="sans-serif-light"
android:gravity="center_vertical"
@ -35,12 +35,13 @@ @@ -35,12 +35,13 @@
android:textColor="@color/dark_text" />
<ImageView
android:id="@+id/delete1"
android:id="@+id/deleteButton"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="13dp"
android:background="?attr/actionBarItemBackground"
android:alpha="0.5"
android:contentDescription="Delete Tab"
android:gravity="center_vertical"

26
res/layout/toolbar.xml

@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:elevation="2dp"
android:orientation="vertical" >
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
custom:contentInsetEnd="0dp"
custom:contentInsetStart="0dp" />
<acr.browser.lightning.AnimatedProgressBar
android:id="@+id/progress_view"
android:layout_width="match_parent"
android:layout_height="2dp"
custom:bidirectionalAnimate="false"
custom:backgroundColor="?attr/progressBackgroundColor"
custom:progressColor="?attr/colorAccent" />
</LinearLayout>

26
res/layout/toolbar_content.xml

@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/arrow_button"
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:layout_marginLeft="2dp"
android:layout_marginTop="2dp"
android:background="?attr/actionBarItemBackground"
android:clickable="true"
android:gravity="center" >
<ImageView
android:id="@+id/arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<include layout="@layout/search" />
</LinearLayout>

BIN
res/mipmap-hdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
res/mipmap-mdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
res/mipmap-xhdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
res/mipmap-xxhdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
res/mipmap-xxxhdpi/ic_launcher.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

70
res/values-v21/styles.xml

@ -0,0 +1,70 @@ @@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="Theme.SettingsTheme" parent="android:Theme.Material.Light">
<!-- customize the color palette -->
<item name="listBackground">?attr/listChoiceBackgroundIndicator</item>
<item name="android:colorPrimary">@color/primary_color</item>
<item name="android:colorPrimaryDark">@color/secondary_color_settings</item>
<item name="android:colorAccent">@color/accent_color</item>
<item name="android:windowContentOverlay">@null</item>
<item name="progressColor">@color/gray_medium</item>
<item name="arrowBackDrawable">@drawable/ic_action_back</item>
<item name="numberColor">@color/gray_dark</item>
<item name="autoCompleteTitleColor">@color/black</item>
<item name="autoCompleteUrlColor">@color/gray_medium</item>
<item name="arrowForwardDrawable">@drawable/ic_action_forward</item>
<item name="actionOverflowButtonStyle">@style/overFlowButtonStyle</item>
</style>
<style name="Theme.LightTheme" parent="Theme.AppCompat.Light">
<!-- customize the color palette -->
<item name="searchBackground">@drawable/card_bg</item>
<item name="listBackground">?attr/listChoiceBackgroundIndicator</item>
<item name="colorPrimary">@color/primary_color</item>
<item name="colorPrimaryDark">@color/secondary_color</item>
<item name="colorAccent">@color/accent_color</item>
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="progressBackgroundColor">#00000000</item>
<item name="android:windowContentOverlay">@null</item>
<item name="progressColor">@color/gray_medium</item>
<item name="arrowBackDrawable">@drawable/ic_action_back</item>
<item name="numberColor">@color/gray_dark</item>
<item name="autoCompleteTitleColor">@color/black</item>
<item name="autoCompleteUrlColor">@color/gray_medium</item>
<item name="arrowForwardDrawable">@drawable/ic_action_forward</item>
<item name="android:actionBarStyle">@style/LightActionBar</item>
<item name="actionOverflowButtonStyle">@style/overFlowButtonStyle</item>
</style>
<style name="Theme.DarkTheme" parent="Theme.AppCompat">
<!-- customize the color palette -->
<item name="searchBackground">@drawable/card_bg</item>
<item name="listBackground">?attr/listChoiceBackgroundIndicator</item>
<item name="colorPrimary">@color/primary_color_dark</item>
<item name="colorPrimaryDark">@color/secondary_color</item>
<item name="colorAccent">@color/accent_color</item>
<item name="android:windowNoTitle">true</item>
<item name="progressBackgroundColor">#00000000</item>
<item name="windowActionBar">false</item>
<item name="android:windowContentOverlay">@null</item>
<item name="progressColor">@color/gray_medium</item>
<item name="arrowBackDrawable">@drawable/ic_action_back</item>
<item name="numberColor">@color/gray_dark</item>
<item name="autoCompleteTitleColor">@color/black</item>
<item name="autoCompleteUrlColor">@color/gray_medium</item>
<item name="arrowForwardDrawable">@drawable/ic_action_forward</item>
<item name="android:actionBarStyle">@style/LightActionBar</item>
<item name="actionOverflowButtonStyle">@style/overFlowButtonStyle</item>
</style>
<style name="overFlowButtonStyle" parent="@style/Widget.AppCompat.ActionButton.Overflow">
<item name="android:minWidth">48dp</item>
<item name="android:padding">0dp</item>
</style>
</resources>

16
res/values/attr.xml

@ -1,11 +1,19 @@ @@ -1,11 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="progressColor" format="reference|color" />
<attr name="arrowBackDrawable" format="integer" />
<attr name="arrowForwardDrawable" format="integer" />
<attr name="numberColor" format="reference|color"/>
<attr name="autoCompleteTitleColor" format="reference|color"/>
<attr name="autoCompleteUrlColor" format="reference|color"/>
<attr name="numberColor" format="reference|color" />
<attr name="autoCompleteTitleColor" format="reference|color" />
<attr name="autoCompleteUrlColor" format="reference|color" />
<attr name="listBackground" format="reference|color" />
<attr name="progressBackgroundColor" format="color" />
<attr name="searchBackground" format="reference|color" />
<declare-styleable name="AnimatedProgressBar">
<attr name="progressColor" format="color" />
<attr name="backgroundColor" format="color" />
<attr name="bidirectionalAnimate" format="boolean" />
</declare-styleable>
</resources>

11
res/values/colors.xml

@ -10,6 +10,15 @@ @@ -10,6 +10,15 @@
<color name="white">#ffffff</color>
<color name="gray_extra_dark">#1b1b1b</color>
<color name="gray_list_bg">#0d000000</color>
<color name="dark_text">#3f3f3f</color>
<color name="dark_text">#212121</color>
<color name="primary_color">#E0E0E0</color>
<color name="secondary_color">#4D000000</color>
<color name="accent_color">#0073EF</color>
<color name="secondary_color_settings">#9C9C9C</color>
<color name="hint_text">#BDBDBD</color>
<color name="primary_color_dark">#424242</color>
</resources>

2
res/values/dimens.xml

@ -5,5 +5,7 @@ @@ -5,5 +5,7 @@
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="navigation_width">260dp</dimen>
<dimen name="search_bar_height">48dp</dimen>
<dimen name="abc_action_button_min_width_overflow_material">48dp</dimen>
</resources>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save