sdremote: show notes also in landscape orientation
since why should portrait and landscape behave differently? Change-Id: I06ca350bc14ca0f9163d58927636d70a9630f3f9
This commit is contained in:
committed by
Michael Meeks
parent
4be366de58
commit
0d0b4a911c
@@ -16,11 +16,60 @@
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
-->
|
||||
<android.support.v4.view.ViewPager
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/pager_slides"
|
||||
android:layout_gravity="center"
|
||||
android:paddingTop="@dimen/padding_slides_pager"
|
||||
android:paddingBottom="@dimen/padding_slides_pager"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/pager_slides"
|
||||
android:layout_weight="2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_notes"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/padding_slides_pager"
|
||||
android:paddingRight="@dimen/padding_slides_pager"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
style="@style/SectionHeader"
|
||||
android:text="@string/header_notes"
|
||||
android:paddingTop="@dimen/padding_header"/>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scroll_notes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextSwitcher
|
||||
android:id="@+id/text_switcher_notes"
|
||||
android:inAnimation="@android:anim/fade_in"
|
||||
android:outAnimation="@android:anim/fade_out"
|
||||
android:measureAllChildren="false"
|
||||
android:paddingTop="@dimen/padding_slide_notes"
|
||||
android:paddingLeft="@dimen/padding_slide_notes"
|
||||
android:paddingRight="@dimen/padding_slide_notes"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</TextSwitcher>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
Reference in New Issue
Block a user