mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-02 22:35:14 -04:00
Fixed Buttons on home page. Began changes to UI. Updated strings values
in lot view.
This commit is contained in:
18
res/values/attrs_gamedaytheme.xml
Normal file
18
res/values/attrs_gamedaytheme.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="TabWidget">
|
||||
|
||||
<!-- Drawable used to draw the divider between tabs. -->
|
||||
<attr name="divider" format="reference"/>
|
||||
<!-- Determines whether the strip under the tab indicators is drawn or not. -->
|
||||
<attr name="tabStripEnabled" format="boolean"/>
|
||||
<!-- Drawable used to draw the left part of the strip underneath the tabs. -->
|
||||
<attr name="tabStripLeft" format="reference"/>
|
||||
<!-- Drawable used to draw the right part of the strip underneath the tabs. -->
|
||||
<attr name="tabStripRight" format="reference"/>
|
||||
<!-- Layout used to organize each tab's content. -->
|
||||
<attr name="tabLayout" format="reference"/>
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- File created by the Android Action Bar Style Generator
|
||||
|
||||
Copyright (C) 2011 The Android Open Source Project
|
||||
Copyright (C) 2012 readyState Software Ltd
|
||||
|
||||
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>
|
||||
<color name="pressed_unccgameday">#b8860b</color>
|
||||
</resources>
|
4
res/values/dimens_gamedaytheme.xml
Normal file
4
res/values/dimens_gamedaytheme.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="tab_host_default_height">48dp</dimen>
|
||||
</resources>
|
@ -54,9 +54,13 @@
|
||||
<string name="button_register">Register</string>
|
||||
<string name="registration_comments">Comments:</string>
|
||||
<string name="parking_map">Parking Map</string>
|
||||
<string name="zoom_map">Parking Map</string>
|
||||
<string name="search_hint">Enter and Organization/Person:</string>
|
||||
<string name="search_text">Find who else is attending the UNCC football game! \n \nEnter the name of a person or organization into the search bar above.</string>
|
||||
<string name="button_refresh_alerts">Refresh Alerts</string>
|
||||
<string name="title_activity_search_rsvp">RSVP Search</string>
|
||||
<string name="internet_down_error">Internet access is currently unavailable.</string>
|
||||
<string name="rate_lot">Rate Lot:</string>
|
||||
<string name="empty_lot">Empty</string>
|
||||
<string name="full_lot">Full </string>
|
||||
<string name="submit_rating">Submit Rating</string>
|
||||
<string name="filled_status">Filled Status</string>
|
||||
</resources>
|
||||
|
119
res/values/styles_gamedaytheme.xml
Normal file
119
res/values/styles_gamedaytheme.xml
Normal file
@ -0,0 +1,119 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- Generated with http://android-holo-colors.com -->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="EditTextGameDayTheme" parent="android:Widget.EditText">
|
||||
<item name="android:background">@drawable/gamedaytheme_edit_text_holo_dark</item>
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
</style>
|
||||
|
||||
<style name="AutoCompleteTextViewGameDayTheme" parent="android:Widget.AutoCompleteTextView">
|
||||
<item name="android:dropDownSelector">@drawable/gamedaytheme_list_selector_holo_dark</item>
|
||||
<item name="android:background">@drawable/gamedaytheme_edit_text_holo_dark</item>
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
</style>
|
||||
|
||||
<style name="CheckBoxGameDayTheme" parent="android:Widget.CompoundButton.CheckBox">
|
||||
<item name="android:button">@drawable/gamedaytheme_btn_check_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="RadioButtonGameDayTheme" parent="android:Widget.CompoundButton.RadioButton">
|
||||
<item name="android:button">@drawable/gamedaytheme_btn_radio_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonGameDayTheme" parent="android:Widget.Button">
|
||||
<item name="android:background">@drawable/gamedaytheme_btn_default_holo_dark</item>
|
||||
<item name="android:minHeight">48dip</item>
|
||||
<item name="android:minWidth">64dip</item>
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
</style>
|
||||
|
||||
<style name="ImageButtonGameDayTheme" parent="android:Widget.ImageButton">
|
||||
<item name="android:background">@drawable/gamedaytheme_btn_default_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="SpinnerGameDayTheme" parent="android:Widget.Spinner">
|
||||
<item name="android:background">@drawable/gamedaytheme_spinner_background_holo_dark</item>
|
||||
<item name="android:dropDownSelector">@drawable/gamedaytheme_list_selector_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="SpinnerDropDownItemGameDayTheme" parent="android:Widget.DropDownItem.Spinner">
|
||||
<item name="android:checkMark">@drawable/gamedaytheme_btn_radio_holo_dark</item>
|
||||
</style>
|
||||
<style name="TabGameDayTheme">
|
||||
<item name="android:gravity">center_horizontal</item>
|
||||
<item name="android:paddingLeft">16dip</item>
|
||||
<item name="android:paddingRight">16dip</item>
|
||||
<item name="android:background">@drawable/gamedaytheme_tab_indicator_holo</item>
|
||||
<item name="android:layout_width">0dip</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:minWidth">80dip</item>
|
||||
</style>
|
||||
|
||||
<style name="TabTextGameDayTheme">
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
<item name="android:textSize">12sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<!-- v14 <item name="android:textAllCaps">true</item> -->
|
||||
<item name="android:ellipsize">marquee</item>
|
||||
<item name="android:maxLines">2</item>
|
||||
<item name="android:maxWidth">180dip</item>
|
||||
</style>
|
||||
|
||||
<style name="ProgressBarGameDayTheme" parent="android:Widget.ProgressBar.Horizontal">
|
||||
<item name="android:progressDrawable">@drawable/gamedaytheme_progress_horizontal_holo_dark</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/gamedaytheme_progress_indeterminate_horizontal_holo_dark</item>
|
||||
<item name="android:minHeight">16dip</item>
|
||||
<item name="android:maxHeight">16dip</item>
|
||||
</style>
|
||||
|
||||
<style name="SeekBarGameDayTheme" parent="android:Widget.SeekBar">
|
||||
<item name="android:progressDrawable">@drawable/gamedaytheme_scrubber_progress_horizontal_holo_dark</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/gamedaytheme_scrubber_progress_horizontal_holo_dark</item>
|
||||
<item name="android:minHeight">13dip</item>
|
||||
<item name="android:maxHeight">13dip</item>
|
||||
<item name="android:thumb">@drawable/gamedaytheme_scrubber_control_selector_holo_dark</item>
|
||||
<item name="android:thumbOffset">16dip</item>
|
||||
<item name="android:paddingLeft">16dip</item>
|
||||
<item name="android:paddingRight">16dip</item>
|
||||
</style>
|
||||
|
||||
<style name="RatingBarGameDayTheme" parent="android:Widget.RatingBar">
|
||||
<item name="android:progressDrawable">@drawable/gamedaytheme_ratingbar_full_holo_dark</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/gamedaytheme_ratingbar_full_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="RatingBarBigGameDayTheme">
|
||||
<item name="android:progressDrawable">@drawable/gamedaytheme_ratingbar_holo_dark</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/gamedaytheme_ratingbar_holo_dark</item>
|
||||
<item name="android:minHeight">35dip</item>
|
||||
<item name="android:maxHeight">35dip</item>
|
||||
</style>
|
||||
|
||||
<style name="RatingBarSmallGameDayTheme">
|
||||
<item name="android:progressDrawable">@drawable/gamedaytheme_ratingbar_small_holo_dark</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/gamedaytheme_ratingbar_small_holo_dark</item>
|
||||
<item name="android:minHeight">16dip</item>
|
||||
<item name="android:maxHeight">16dip</item>
|
||||
</style>
|
||||
|
||||
<style name="ToggleGameDayTheme" parent="android:Widget.Button.Toggle">
|
||||
<item name="android:background">@drawable/gamedaytheme_btn_toggle_holo_dark</item>
|
||||
<item name="android:minHeight">48dip</item>
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
</style>
|
||||
|
||||
<style name="ListViewGameDayTheme" parent="android:Widget.ListView">
|
||||
<item name="android:listSelector">@drawable/gamedaytheme_list_selector_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="ListViewGameDayTheme.White" parent="android:Widget.ListView.White">
|
||||
<item name="android:listSelector">@drawable/gamedaytheme_list_selector_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="SpinnerItemGameDayTheme" parent="android:TextAppearance.Widget.TextView.SpinnerItem">
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- File created by the Android Action Bar Style Generator
|
||||
|
||||
Copyright (C) 2011 The Android Open Source Project
|
||||
Copyright (C) 2012 readyState Software Ltd
|
||||
|
||||
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="Theme.Unccgameday" parent="@android:style/Theme.Holo">
|
||||
<item name="android:actionBarItemBackground">@drawable/selectable_background_unccgameday</item>
|
||||
<item name="android:popupMenuStyle">@style/PopupMenu.Unccgameday</item>
|
||||
<item name="android:dropDownListViewStyle">@style/DropDownListView.Unccgameday</item>
|
||||
<item name="android:actionBarTabStyle">@style/ActionBarTabStyle.Unccgameday</item>
|
||||
<item name="android:actionDropDownStyle">@style/DropDownNav.Unccgameday</item>
|
||||
<item name="android:actionBarStyle">@style/ActionBar.Solid.Unccgameday</item>
|
||||
<item name="android:actionModeBackground">@drawable/cab_background_top_unccgameday</item>
|
||||
<item name="android:actionModeSplitBackground">@drawable/cab_background_bottom_unccgameday</item>
|
||||
<item name="android:actionModeCloseButtonStyle">@style/ActionButton.CloseMode.Unccgameday</item>
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<style name="ActionBar.Solid.Unccgameday" parent="@android:style/Widget.Holo.ActionBar.Solid">
|
||||
<item name="android:background">@drawable/ab_solid_unccgameday</item>
|
||||
<item name="android:backgroundStacked">@drawable/ab_stacked_solid_unccgameday</item>
|
||||
<item name="android:backgroundSplit">@drawable/ab_bottom_solid_unccgameday</item>
|
||||
<item name="android:progressBarStyle">@style/ProgressBar.Unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="ActionBar.Transparent.Unccgameday" parent="@android:style/Widget.Holo.ActionBar">
|
||||
<item name="android:background">@drawable/ab_transparent_unccgameday</item>
|
||||
<item name="android:progressBarStyle">@style/ProgressBar.Unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="PopupMenu.Unccgameday" parent="@android:style/Widget.Holo.ListPopupWindow">
|
||||
<item name="android:popupBackground">@drawable/menu_dropdown_panel_unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="DropDownListView.Unccgameday" parent="@android:style/Widget.Holo.ListView.DropDown">
|
||||
<item name="android:listSelector">@drawable/selectable_background_unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="ActionBarTabStyle.Unccgameday" parent="@android:style/Widget.Holo.ActionBar.TabView">
|
||||
<item name="android:background">@drawable/tab_indicator_ab_unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="DropDownNav.Unccgameday" parent="@android:style/Widget.Holo.Spinner">
|
||||
<item name="android:background">@drawable/spinner_background_ab_unccgameday</item>
|
||||
<item name="android:popupBackground">@drawable/menu_dropdown_panel_unccgameday</item>
|
||||
<item name="android:dropDownSelector">@drawable/selectable_background_unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="ProgressBar.Unccgameday" parent="@android:style/Widget.Holo.ProgressBar.Horizontal">
|
||||
<item name="android:progressDrawable">@drawable/progress_horizontal_unccgameday</item>
|
||||
</style>
|
||||
|
||||
<style name="ActionButton.CloseMode.Unccgameday" parent="@android:style/Widget.Holo.ActionButton.CloseMode">
|
||||
<item name="android:background">@drawable/btn_cab_done_unccgameday</item>
|
||||
</style>
|
||||
|
||||
<!-- this style is only referenced in a Light.DarkActionBar based theme -->
|
||||
<style name="Theme.Unccgameday.Widget" parent="@android:style/Theme.Holo">
|
||||
<item name="android:popupMenuStyle">@style/PopupMenu.Unccgameday</item>
|
||||
<item name="android:dropDownListViewStyle">@style/DropDownListView.Unccgameday</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
46
res/values/themes_gamedaytheme.xml
Normal file
46
res/values/themes_gamedaytheme.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- Generated with http://android-holo-colors.com -->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="GameDayTheme" parent="android:Theme.Black">
|
||||
|
||||
<item name="android:editTextStyle">@style/EditTextGameDayTheme</item>
|
||||
|
||||
<item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewGameDayTheme</item>
|
||||
|
||||
<item name="android:checkboxStyle">@style/CheckBoxGameDayTheme</item>
|
||||
|
||||
<item name="android:radioButtonStyle">@style/RadioButtonGameDayTheme</item>
|
||||
|
||||
<item name="android:buttonStyle">@style/ButtonGameDayTheme</item>
|
||||
|
||||
<item name="android:imageButtonStyle">@style/ImageButtonGameDayTheme</item>
|
||||
|
||||
<item name="android:spinnerStyle">@style/SpinnerGameDayTheme</item>
|
||||
|
||||
<item name="android:spinnerDropDownItemStyle">@style/SpinnerDropDownItemGameDayTheme</item>
|
||||
|
||||
<item name="android:tabWidgetStyle">@style/TabWidgetGameDayTheme</item>
|
||||
|
||||
<item name="android:progressBarStyleHorizontal">@style/ProgressBarGameDayTheme</item>
|
||||
|
||||
<item name="android:seekBarStyle">@style/SeekBarGameDayTheme</item>
|
||||
|
||||
<item name="android:ratingBarStyle">@style/RatingBarGameDayTheme</item>
|
||||
|
||||
<item name="android:ratingBarStyleIndicator">@style/RatingBarBigGameDayTheme</item>
|
||||
|
||||
<item name="android:ratingBarStyleSmall">@style/RatingBarSmallGameDayTheme</item>
|
||||
|
||||
<item name="android:buttonStyleToggle">@style/ToggleGameDayTheme</item>
|
||||
|
||||
<item name="android:listViewStyle">@style/ListViewGameDayTheme</item>
|
||||
|
||||
<item name="android:listViewWhiteStyle">@style/ListViewGameDayTheme.White</item>
|
||||
|
||||
<item name="android:spinnerItemStyle">@style/SpinnerItemGameDayTheme</item>
|
||||
|
||||
</style>
|
||||
|
||||
</resources>
|
Reference in New Issue
Block a user