initial commit of my exception report viewer
This commit is contained in:
9
ExceptionReportViewer/res/values/array.xml
Normal file
9
ExceptionReportViewer/res/values/array.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string-array name="titles">
|
||||
<item>Production</item>
|
||||
<item>Testing</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
43
ExceptionReportViewer/res/values/attrs.xml
Normal file
43
ExceptionReportViewer/res/values/attrs.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Copyright (C) 2011 Patrik Åkerfeldt
|
||||
Copyright (C) 2011 Jake Wharton
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<declare-styleable name="ViewPagerIndicator">
|
||||
<attr name="circlePageIndicatorStyle" format="reference" />
|
||||
<attr name="titlePageIndicatorStyle" format="reference" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="TitlePageIndicator">
|
||||
<attr name="clipPadding" format="dimension" />
|
||||
<attr name="footerColor" format="color" />
|
||||
<attr name="footerLineHeight" format="dimension" />
|
||||
<attr name="footerIndicatorStyle">
|
||||
<enum name="none" value="0" />
|
||||
<enum name="triangle" value="1" />
|
||||
<enum name="underline" value="2" />
|
||||
</attr>
|
||||
<attr name="footerIndicatorHeight" format="dimension" />
|
||||
<attr name="footerIndicatorPadding" format="dimension" />
|
||||
<attr name="footerIndicatorUnderlinePadding" format="dimension" />
|
||||
<attr name="selectedColor" format="color" />
|
||||
<attr name="selectedBold" format="boolean" />
|
||||
<attr name="textColor" format="color" />
|
||||
<attr name="textSize" format="dimension" />
|
||||
<attr name="titlePadding" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
41
ExceptionReportViewer/res/values/defaults.xml
Normal file
41
ExceptionReportViewer/res/values/defaults.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2011 Jake Wharton
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<dimen name="default_title_indicator_clip_padding">0dp</dimen>
|
||||
|
||||
<color name="default_title_indicator_footer_color">#FFFFFFFF</color>
|
||||
|
||||
<dimen name="default_title_indicator_footer_line_height">1px</dimen>
|
||||
|
||||
<integer name="default_title_indicator_footer_indicator_style">1</integer>
|
||||
|
||||
<dimen name="default_title_indicator_footer_indicator_height">7dp</dimen>
|
||||
<dimen name="default_title_indicator_footer_indicator_padding">5dp</dimen>
|
||||
<dimen name="default_title_indicator_footer_indicator_underline_padding">10dp</dimen>
|
||||
|
||||
<color name="default_title_indicator_selected_color">#FF99CC00</color>
|
||||
|
||||
<bool name="default_title_indicator_selected_bold">true</bool>
|
||||
|
||||
<color name="default_title_indicator_text_color">#FFFFFFFF</color>
|
||||
|
||||
<dimen name="default_title_indicator_text_size">18dp</dimen>
|
||||
<dimen name="default_title_indicator_title_padding">5dp</dimen>
|
||||
|
||||
</resources>
|
||||
7
ExceptionReportViewer/res/values/strings.xml
Normal file
7
ExceptionReportViewer/res/values/strings.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="hello">Hello World, Main!</string>
|
||||
<string name="app_name">ExceptionReportViewer</string>
|
||||
|
||||
</resources>
|
||||
62
ExceptionReportViewer/res/values/styles.xml
Normal file
62
ExceptionReportViewer/res/values/styles.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2011 Jake Wharton
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="StyledIndicators" parent="@android:style/Theme.Light">
|
||||
<item name="titlePageIndicatorStyle">@style/CustomTitlePageIndicator</item>
|
||||
</style>
|
||||
|
||||
<style name="CustomTitlePageIndicator">
|
||||
<item name="android:background">#FFDDDDDD</item>
|
||||
<item name="footerColor">#FFDDDDDD</item>
|
||||
<item name="footerLineHeight">2dp</item>
|
||||
<item name="footerIndicatorStyle">none</item>
|
||||
<item name="textColor">#FF999999</item>
|
||||
<item name="selectedColor">#00000000</item>
|
||||
<item name="selectedBold">false</item>
|
||||
</style>
|
||||
|
||||
<!-- Copyright (C) 2011 Jake Wharton Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->
|
||||
<style name="Theme.PageIndicatorDefaults" parent="@android:style/Theme">
|
||||
<item name="titlePageIndicatorStyle">@style/Widget.TitlePageIndicator</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TitlePageIndicator" parent="@android:style/Widget">
|
||||
<item name="clipPadding">@dimen/default_title_indicator_clip_padding</item>
|
||||
<item name="footerColor">@color/default_title_indicator_footer_color</item>
|
||||
<item name="footerLineHeight">@dimen/default_title_indicator_footer_line_height</item>
|
||||
<item name="footerIndicatorStyle">
|
||||
@integer/default_title_indicator_footer_indicator_style
|
||||
</item>
|
||||
<item name="footerIndicatorHeight">
|
||||
@dimen/default_title_indicator_footer_indicator_height
|
||||
</item>
|
||||
<item name="footerIndicatorPadding">
|
||||
@dimen/default_title_indicator_footer_indicator_padding
|
||||
</item>
|
||||
<item name="footerIndicatorUnderlinePadding">
|
||||
@dimen/default_title_indicator_footer_indicator_underline_padding
|
||||
</item>
|
||||
<item name="selectedColor">@color/default_title_indicator_selected_color</item>
|
||||
<item name="selectedBold">@bool/default_title_indicator_selected_bold</item>
|
||||
<item name="textColor">@color/default_title_indicator_text_color</item>
|
||||
<item name="textSize">@dimen/default_title_indicator_text_size</item>
|
||||
<item name="titlePadding">@dimen/default_title_indicator_title_padding</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user