Skip to content

Commit 7781839

Browse files
committed
Add Android 3.2.0 styles and colors
1 parent 15df5d5 commit 7781839

File tree

4 files changed

+93
-1
lines changed

4 files changed

+93
-1
lines changed

samples/Catalog/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
<activity
1919
android:name=".MainActivity"
2020
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
21-
android:label="@string/app_name">
21+
android:label="@string/app_name"
22+
android:theme="@style/PSPDFCatalog.Theme.Light">
2223
<intent-filter>
2324
<action android:name="android.intent.action.MAIN" />
2425
<category android:name="android.intent.category.LAUNCHER" />
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ colors.xml
4+
~
5+
~ PSPDFKit
6+
~
7+
~ Copyright © 2017 PSPDFKit GmbH. All rights reserved.
8+
~
9+
~ THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
10+
~ AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
11+
~ UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
12+
~ This notice may not be removed from this file.
13+
-->
14+
15+
<resources>
16+
<color name="pspdf_color">#3C97C9</color>
17+
<color name="pspdf_color_dark">#306F8B</color>
18+
19+
</resources>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ strings.xml
4+
~
5+
~ PSPDFKit
6+
~
7+
~ Copyright © 2017 PSPDFKit GmbH. All rights reserved.
8+
~
9+
~ THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
10+
~ AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
11+
~ UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
12+
~ This notice may not be removed from this file.
13+
-->
14+
115
<resources>
216
<string name="app_name">Catalog</string>
317
</resources>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ styles.xml
4+
~
5+
~ PSPDFKit
6+
~
7+
~ Copyright © 2017 PSPDFKit GmbH. All rights reserved.
8+
~
9+
~ THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
10+
~ AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
11+
~ UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
12+
~ This notice may not be removed from this file.
13+
-->
14+
15+
<resources>
16+
<style name="PSPDFCatalog.Theme" parent="Theme.AppCompat.Light.NoActionBar">
17+
<item name="colorPrimary">@color/pspdf_color</item>
18+
<item name="colorPrimaryDark">@color/pspdf_color_dark</item>
19+
<item name="colorAccent">@color/pspdf_color_dark</item>
20+
21+
<item name="windowActionBar">false</item>
22+
<item name="windowNoTitle">true</item>
23+
<item name="windowActionModeOverlay">true</item>
24+
25+
<item name="alertDialogTheme">@style/pspdf__AlertDialog</item>
26+
<item name="textColorError">@color/pspdf__color_error</item>
27+
28+
<item name="pspdf__backgroundColor">@color/pspdf__color_gray_light</item>
29+
<item name="pspdf__contextualToolbarBackground">@color/pspdf_color_dark</item>
30+
<item name="pspdf__contextualToolbarSubmenuBackground">@color/pspdf_color</item>
31+
<item name="pspdf__actionBarIconsStyle">@style/pspdf__ActionBarIcons</item>
32+
<item name="pspdf__outlineViewStyle">@style/pspdf__OutlineView</item>
33+
<item name="pspdf__inlineSearchStyle">@style/pspdf__SearchViewInline</item>
34+
<item name="pspdf__modularSearchStyle">@style/pspdf__SearchViewModular</item>
35+
<item name="pspdf__thumbnailBarStyle">@style/pspdf__ThumbnailBar</item>
36+
<item name="pspdf__thumbnailGridStyle">@style/pspdf__ThumbnailGrid</item>
37+
<item name="pspdf__searchResultHighlighterStyle">@style/pspdf__SearchResultHighlighter</item>
38+
<item name="pspdf__annotationStyle">@style/pspdf__Annotation</item>
39+
<item name="pspdf__annotationSelectionStyle">@style/pspdf__AnnotationSelection</item>
40+
<item name="pspdf__annotationCreationToolbarIconsStyle">@style/pspdf__AnnotationCreationToolbarIcons</item>
41+
<item name="pspdf__annotationEditingToolbarIconsStyle">@style/pspdf__AnnotationEditingToolbarIcons</item>
42+
<item name="pspdf__textSelectionToolbarIconsStyle">@style/pspdf__TextSelectionToolbarIcons</item>
43+
<item name="pspdf__documentEditingToolbarIconsStyle">@style/pspdf__DocumentEditingToolbarIcons</item>
44+
<item name="pspdf__toolbarCoordinatorLayoutStyle">@style/pspdf__ToolbarCoordinatorLayout</item>
45+
<item name="pspdf__signatureLayoutStyle">@style/pspdf__SignatureLayout</item>
46+
<item name="pspdf__passwordViewStyle">@style/pspdf__PasswordView</item>
47+
<item name="pspdf__propertyInspectorStyle">@style/pspdf__PropertyInspector</item>
48+
<item name="pspdf__actionMenuStyle">@style/pspdf__ActionMenu</item>
49+
<item name="pspdf__sharingDialogStyle">@style/pspdf__SharingDialog</item>
50+
<item name="pspdf__stampPickerStyle">@style/pspdf__StampPicker</item>
51+
<item name="pspdf__newPageDialogStyle">@style/pspdf__NewPageDialog</item>
52+
<item name="pspdf__modalDialogStyle">@style/pspdf__ModalDialog</item>
53+
<item name="pspdf__formSelectionStyle">@style/pspdf__FormSelection</item>
54+
<item name="pspdf__formEditingBarStyle">@style/pspdf__FormEditingBar</item>
55+
</style>
56+
57+
<style name="PSPDFCatalog.Theme.Light"/>
58+
</resources>

0 commit comments

Comments
 (0)