Skip to content

Commit

Permalink
Updated Icons, implemented translucent status bar for KitKat.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaitoAnderson committed Feb 1, 2014
1 parent f422157 commit d9181a1
Show file tree
Hide file tree
Showing 25 changed files with 209 additions and 139 deletions.
9 changes: 0 additions & 9 deletions Skrumaz/libs/UserVoiceSDK/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,4 @@

<uses-permission android:name="android.permission.INTERNET"/>

<application>
<activity android:name="com.uservoice.uservoicesdk.activity.PortalActivity" />
<activity android:name="com.uservoice.uservoicesdk.activity.ForumActivity" />
<activity android:name="com.uservoice.uservoicesdk.activity.ArticleActivity" android:hardwareAccelerated="true" />
<activity android:name="com.uservoice.uservoicesdk.activity.TopicActivity" />
<activity android:name="com.uservoice.uservoicesdk.activity.ContactActivity" android:hardwareAccelerated="true" />
<activity android:name="com.uservoice.uservoicesdk.activity.PostIdeaActivity" android:hardwareAccelerated="true" />
</application>

</manifest>
21 changes: 11 additions & 10 deletions Skrumaz/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.skrumaz.app"
android:versionCode="034"
android:versionName="0.3.4" >
android:versionCode="035"
android:versionName="0.3.5" >

<uses-sdk
android:minSdkVersion="15"
Expand All @@ -25,16 +25,17 @@
</intent-filter>
</activity>
<activity android:name=".Welcome" android:theme="@android:style/Theme.Holo.Light.NoActionBar" android:screenOrientation="portrait" />
<activity android:name=".IterationList" />
<activity android:name=".Login" />
<activity android:name=".Settings" />
<activity android:name=".IterationList" />
<activity android:name=".CreateHierarchicalRequirement" android:screenOrientation="portrait" />
<activity android:name=".Settings" android:theme="@style/PreferencesTheme" />

<activity android:name="com.uservoice.uservoicesdk.activity.PortalActivity" />
<activity android:name="com.uservoice.uservoicesdk.activity.ForumActivity" />
<activity android:name="com.uservoice.uservoicesdk.activity.ArticleActivity" android:hardwareAccelerated="true" />
<activity android:name="com.uservoice.uservoicesdk.activity.TopicActivity" />
<activity android:name="com.uservoice.uservoicesdk.activity.ContactActivity" android:hardwareAccelerated="true" />
<activity android:name="com.uservoice.uservoicesdk.activity.PostIdeaActivity" android:hardwareAccelerated="true" />
<activity android:name="com.uservoice.uservoicesdk.activity.PortalActivity" android:theme="@style/HelpTheme" />
<activity android:name="com.uservoice.uservoicesdk.activity.ForumActivity" android:theme="@style/HelpTheme" />
<activity android:name="com.uservoice.uservoicesdk.activity.ArticleActivity" android:hardwareAccelerated="true" android:theme="@style/HelpTheme" />
<activity android:name="com.uservoice.uservoicesdk.activity.TopicActivity" android:theme="@style/HelpTheme" />
<activity android:name="com.uservoice.uservoicesdk.activity.ContactActivity" android:hardwareAccelerated="true" android:theme="@style/HelpTheme" />
<activity android:name="com.uservoice.uservoicesdk.activity.PostIdeaActivity" android:hardwareAccelerated="true" android:theme="@style/HelpTheme" />

</application>

Expand Down
Binary file modified Skrumaz/src/main/res/drawable-hdpi/ic_help.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-hdpi/ic_refresh.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-hdpi/ic_settings.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-hdpi/ic_sort.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-mdpi/ic_help.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-mdpi/ic_refresh.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-mdpi/ic_settings.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-mdpi/ic_sort.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-xhdpi/ic_help.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-xhdpi/ic_refresh.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Skrumaz/src/main/res/drawable-xhdpi/ic_save.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-xhdpi/ic_settings.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Skrumaz/src/main/res/drawable-xhdpi/ic_sort.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Skrumaz/src/main/res/drawable-xxhdpi/ic_help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Skrumaz/src/main/res/drawable-xxhdpi/ic_sort.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 34 additions & 31 deletions Skrumaz/src/main/res/layout/activity_artifact_list.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,42 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent"
android:background="@color/primary_color"
style="@style/FrameLayoutTheme">

<uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ptr_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light" >

<ExpandableListView
android:id="@+id/listContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="@android:color/transparent"
android:divider="#00000000"
android:dividerHeight="0dp"
android:fadingEdge="none"
android:persistentDrawingCache="scrolling"
android:smoothScrollbar="false"
android:padding="0dp"
android:layout_margin="0dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true">
</ExpandableListView>

</uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout>

<LinearLayout
android:id="@+id/processContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/background_light"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible" >
Expand All @@ -33,31 +63,4 @@

</LinearLayout>

<uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ptr_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">

<ExpandableListView
android:id="@+id/listContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="@android:color/transparent"
android:divider="#00000000"
android:dividerHeight="0dp"
android:fadingEdge="none"
android:persistentDrawingCache="scrolling"
android:smoothScrollbar="false"
android:padding="0dp"
android:layout_margin="0dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true">
</ExpandableListView>

</uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout>

</RelativeLayout>
</FrameLayout>
65 changes: 34 additions & 31 deletions Skrumaz/src/main/res/layout/activity_iteration_list.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,42 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent"
android:background="@color/primary_color"
style="@style/FrameLayoutTheme">

<uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ptr_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light">

<ListView
android:id="@+id/listContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="@android:color/transparent"
android:divider="#00000000"
android:dividerHeight="0dp"
android:fadingEdge="none"
android:persistentDrawingCache="scrolling"
android:smoothScrollbar="false"
android:padding="0dp"
android:layout_margin="0dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true">
</ListView>

</uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout>

<LinearLayout
android:id="@+id/processContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/background_light"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible" >
Expand All @@ -33,31 +63,4 @@

</LinearLayout>

<uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ptr_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">

<ListView
android:id="@+id/listContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="@android:color/transparent"
android:divider="#00000000"
android:dividerHeight="0dp"
android:fadingEdge="none"
android:persistentDrawingCache="scrolling"
android:smoothScrollbar="false"
android:padding="0dp"
android:layout_margin="0dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true">
</ListView>

</uk.co.senab.actionbarpulltorefresh.library.PullToRefreshLayout>

</RelativeLayout>
</FrameLayout>
91 changes: 48 additions & 43 deletions Skrumaz/src/main/res/layout/activity_login.xml
Original file line number Diff line number Diff line change
@@ -1,50 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:background="@color/background_color">
android:background="@color/primary_color"
style="@style/FrameLayoutTheme">

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:background="@android:color/background_light">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/app_name"
android:id="@+id/app_name"
android:layout_gravity="center"
android:textSize="60dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/app_name"
android:id="@+id/app_name"
android:layout_gravity="center"
android:textSize="60dp" />

<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textEmailAddress"
android:id="@+id/input_username"
android:layout_gravity="center"
android:layout_marginBottom="20dp" />
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textEmailAddress"
android:id="@+id/input_username"
android:layout_gravity="center"
android:layout_marginBottom="20dp" />

<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPassword"
android:id="@+id/input_password"
android:layout_gravity="center"
android:layout_marginBottom="20dp"
android:imeOptions="actionDone"
android:imeActionLabel="@string/button_login" />
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPassword"
android:id="@+id/input_password"
android:layout_gravity="center"
android:layout_marginBottom="20dp"
android:imeOptions="actionDone"
android:imeActionLabel="@string/button_login" />

<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_login"
android:textAllCaps="true"
android:id="@+id/login_button"
android:textStyle="bold" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_login"
android:textAllCaps="true"
android:id="@+id/login_button"
android:textStyle="bold" />

</LinearLayout>
</LinearLayout>
</FrameLayout>
53 changes: 42 additions & 11 deletions Skrumaz/src/main/res/layout/settings.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/pref_configuration">
<Preference android:title="@string/pref_title_username" android:key="@string/pref_key_username" />
<ListPreference android:title="@string/pref_title_sort" android:summary="@string/pref_summary_sort" android:key="@string/pref_key_sort" android:entries="@array/pref_value_sort" android:entryValues="@array/pref_value_sort" android:defaultValue="Rank"/>
<CheckBoxPreference android:title="@string/pref_title_ids" android:summary="@string/pref_summary_ids" android:key="@string/pref_key_ids" android:defaultValue="false" />
<CheckBoxPreference android:title="@string/pref_title_team" android:summary="@string/pref_summary_team" android:key="@string/pref_key_team" android:defaultValue="false" />
<Preference android:title="@string/pref_title_reset" android:summary="@string/pref_summary_reset" android:key="@string/pref_key_reset" />
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<PreferenceCategory android:title="@string/pref_configuration"
android:background="@android:color/background_light">

<Preference
android:title="@string/pref_title_username"
android:key="@string/pref_key_username" />

<ListPreference
android:title="@string/pref_title_sort"
android:summary="@string/pref_summary_sort"
android:key="@string/pref_key_sort"
android:entries="@array/pref_value_sort"
android:entryValues="@array/pref_value_sort"
android:defaultValue="Rank" />

<CheckBoxPreference
android:title="@string/pref_title_ids"
android:summary="@string/pref_summary_ids"
android:key="@string/pref_key_ids"
android:defaultValue="false" />

<CheckBoxPreference
android:title="@string/pref_title_team"
android:summary="@string/pref_summary_team"
android:key="@string/pref_key_team"
android:defaultValue="false" />

<Preference
android:title="@string/pref_title_reset"
android:summary="@string/pref_summary_reset"
android:key="@string/pref_key_reset" />
</PreferenceCategory>

<PreferenceCategory android:title="@string/pref_about">
<Preference android:title="@string/pref_title_app_version" android:selectable="false" android:summary="@string/pref_summary_app_version" android:key="@string/pref_key_app_version" />

<Preference
android:title="@string/pref_title_app_version"
android:selectable="false"
android:summary="@string/pref_summary_app_version"
android:key="@string/pref_key_app_version" />
</PreferenceCategory>
</PreferenceScreen>
</PreferenceScreen>
22 changes: 22 additions & 0 deletions Skrumaz/src/main/res/values-v19/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<resources>

<!-- All API v19 customizations can go here. -->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<item name="android:windowTranslucentStatus">true</item>
</style>

<style name="PreferencesTheme" parent="AppTheme">
<item name="android:windowBackground">@color/primary_color</item>
<item name="android:listViewStyle">@style/ListViewTheme</item>
<item name="android:fitsSystemWindows">true</item>
</style>

<style name="HelpTheme" parent="AppTheme">
<item name="android:windowTranslucentStatus">false</item>
</style>

<style name="FrameLayoutTheme">
<item name="android:fitsSystemWindows">true</item>
</style>

</resources>
Loading

0 comments on commit d9181a1

Please sign in to comment.