diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/actionbar_translucent.9.png | bin | 0 -> 155 bytes | |||
-rw-r--r-- | res/drawable-mdpi/actionbar_translucent.9.png | bin | 0 -> 153 bytes | |||
-rw-r--r-- | res/layout/photo_activity_view.xml | 16 | ||||
-rw-r--r-- | res/values/constants.xml | 21 | ||||
-rw-r--r-- | res/values/themes.xml | 7 |
5 files changed, 28 insertions, 16 deletions
diff --git a/res/drawable-hdpi/actionbar_translucent.9.png b/res/drawable-hdpi/actionbar_translucent.9.png Binary files differnew file mode 100644 index 0000000..f18761f --- /dev/null +++ b/res/drawable-hdpi/actionbar_translucent.9.png diff --git a/res/drawable-mdpi/actionbar_translucent.9.png b/res/drawable-mdpi/actionbar_translucent.9.png Binary files differnew file mode 100644 index 0000000..f78fb8a --- /dev/null +++ b/res/drawable-mdpi/actionbar_translucent.9.png diff --git a/res/layout/photo_activity_view.xml b/res/layout/photo_activity_view.xml index b7ffdfd..e273140 100644 --- a/res/layout/photo_activity_view.xml +++ b/res/layout/photo_activity_view.xml @@ -18,25 +18,11 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/photo_activity_root_view" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/solid_black" > + android:layout_height="match_parent" > <com.android.ex.photo.PhotoViewPager android:id="@+id/photo_view_pager" android:layout_width="match_parent" android:layout_height="match_parent" /> - <LinearLayout - android:id="@+id/empty_view" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" > - - <ProgressBar - style="?android:attr/progressBarStyleLarge" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:indeterminate="true" /> - </LinearLayout> - </FrameLayout> diff --git a/res/values/constants.xml b/res/values/constants.xml new file mode 100644 index 0000000..ae480ce --- /dev/null +++ b/res/values/constants.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 Google Inc. + Licensed to The Android Open Source Project. + + 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> + <integer name="action_bar_delay_time_in_millis">5000</integer> +</resources> diff --git a/res/values/themes.xml b/res/values/themes.xml index 0945056..04bec53 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -17,9 +17,14 @@ --> <resources> - <style name="PhotoViewTheme" parent="android:Theme.Holo.Light.DarkActionBar"> + <style name="PhotoViewTheme" parent="android:Theme.Holo"> <item name="android:windowNoTitle">false</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowActionBarOverlay">true</item> + <item name="android:windowBackground">@color/solid_black</item> + <item name="android:actionBarStyle">@style/Holo.ActionBar</item> + </style> + <style name="Holo.ActionBar" parent="android:Widget.Holo.ActionBar"> + <item name="android:background">@drawable/actionbar_translucent</item> </style> </resources> |