android:windowSoftInputMode="adjustPan"
android:launchMode="singleTask"
android:exported="true"
+ android:screenOrientation="portrait"
android:theme="@style/Eleven.Theme.ActionBar.Overlay">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<!-- Profile phone Activity -->
<activity
android:name=".ui.activities.ProfileActivity"
- android:excludeFromRecents="true" />
+ android:excludeFromRecents="true"
+ android:screenOrientation="portrait"/>
<!-- Shortcut launcher Activity -->
<activity
android:name=".ui.activities.ShortcutActivity"
android:excludeFromRecents="true"
android:exported="true"
- android:theme="@style/Theme.Transparent" >
+ android:theme="@style/Theme.Transparent"
+ android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
<!-- Search interface -->
<activity
android:name=".ui.activities.SearchActivity"
- android:exported="true" >
+ android:exported="true"
+ android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<action android:name="android.intent.action.MEDIA_SEARCH" />
<activity
android:name=".ui.activities.SettingsActivity"
android:label="@string/menu_settings"
- android:theme="@style/Eleven.Theme" />
- <!-- Themes Activity -->
- <activity
- android:name=".ui.activities.ThemesActivity"
- android:excludeFromRecents="true" />
+ android:theme="@style/Eleven.Theme"
+ android:screenOrientation="portrait"/>
<!-- 4x1 App Widget -->
<receiver
android:name="com.cyngn.eleven.appwidgets.AppWidgetSmall"
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2012 Andrew Neal
-
- 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.
--->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <RelativeLayout
- android:id="@+id/audio_player_large_album_frame"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true" >
-
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/audio_player_album_art"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:scaleType="fitXY" />
-
- <ImageView
- android:layout_width="@dimen/shadow_height"
- android:layout_height="match_parent"
- android:layout_alignRight="@+id/audio_player_album_art"
- android:contentDescription="@null"
- android:src="@drawable/right_shadow" />
- </RelativeLayout>
-
- <FrameLayout
- android:id="@+id/audio_player_pager_container"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignRight="@+id/audio_player_large_album_frame"
- android:visibility="invisible" >
-
- <android.support.v4.view.ViewPager
- android:id="@+id/audio_player_pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- <ImageView
- android:layout_width="@dimen/shadow_height"
- android:layout_height="match_parent"
- android:layout_gravity="right"
- android:contentDescription="@null"
- android:src="@drawable/right_shadow" />
- </FrameLayout>
-
- <View
- android:id="@+id/audio_player_footer"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/audio_player_large_album_frame" />
-
- <LinearLayout
- android:id="@+id/audio_player_header"
- android:layout_width="match_parent"
- android:layout_height="@dimen/audio_player_header_height"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:layout_toRightOf="@+id/audio_player_large_album_frame"
- android:baselineAligned="false"
- android:orientation="horizontal"
- android:padding="0dp" >
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:baselineAligned="false"
- android:orientation="vertical"
- android:paddingLeft="@dimen/audio_player_header_padding_left"
- android:paddingRight="@dimen/audio_player_header_padding_right" >
-
- <TextView
- android:id="@+id/audio_player_track_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:gravity="bottom"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/audio_player_artist_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:gravity="top"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
-
- <FrameLayout
- android:id="@+id/audio_player_switch"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:focusable="true"
- android:padding="@dimen/audio_player_switch_padding" >
-
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/audio_player_switch_queue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:contentDescription="@null" />
-
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/audio_player_switch_album_art"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:visibility="invisible" />
- </FrameLayout>
- </LinearLayout>
-
- <TextView
- android:id="@+id/audio_player_current_time"
- android:layout_width="@dimen/audio_player_time_width"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@android:id/progress"
- android:layout_alignTop="@android:id/progress"
- android:layout_toRightOf="@+id/audio_player_large_album_frame"
- android:gravity="center"
- android:textSize="@dimen/text_size_micro" />
-
- <TextView
- android:id="@+id/audio_player_total_time"
- android:layout_width="@dimen/audio_player_time_width"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@android:id/progress"
- android:layout_alignParentRight="true"
- android:layout_alignTop="@android:id/progress"
- android:gravity="center"
- android:textSize="@dimen/text_size_micro" />
-
- <SeekBar
- android:id="@android:id/progress"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_above="@+id/audio_player_controlss"
- android:layout_marginBottom="@dimen/audio_player_seek_bar_margin_bottom"
- android:layout_toLeftOf="@+id/audio_player_total_time"
- android:layout_toRightOf="@+id/audio_player_current_time"
- android:background="@null"
- android:max="1000"
- android:thumb="@null" />
-
- <LinearLayout
- android:id="@+id/audio_player_controlss"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/audio_player_large_album_frame"
- android:baselineAligned="false" >
-
- <include layout="@layout/audio_player_controls" />
- </LinearLayout>
- </RelativeLayout>
-
- <include layout="@layout/colorstrip" />
-
-</FrameLayout>
\ No newline at end of file