0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00

Remove 600dp tablet content limit

This commit is contained in:
timrae 2015-10-07 10:38:24 +09:00
parent 0c6a4303ec
commit ad8f6290c5
11 changed files with 9 additions and 13 deletions

View File

@ -13,7 +13,7 @@
<include layout="@layout/toolbar"/>
<ScrollView
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:layout_gravity="center_horizontal"
android:layout_height="0dp"
android:fillViewport="true"

View File

@ -13,7 +13,7 @@
android:orientation="vertical" >
<include layout="@layout/toolbar" />
<LinearLayout
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:gravity="center_horizontal"
android:layout_height="match_parent"
android:orientation="vertical">

View File

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_layout"
android:layout_height="fill_parent"
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:layout_gravity="center_horizontal"
android:orientation="vertical"
android:paddingTop="12dp" >

View File

@ -12,7 +12,7 @@
<include layout="@layout/toolbar" />
<ListView
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:gravity="center"
android:layout_height="wrap_content"
android:id="@+id/note_type_editor_fields"/>

View File

@ -13,7 +13,7 @@
<LinearLayout
android:id="@+id/LinearLayoutForSpareMenuFieldEdit"
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:gravity="center"
android:layout_height="wrap_content"
android:orientation="horizontal" >

View File

@ -11,7 +11,7 @@
android:orientation="vertical">
<include layout="@layout/toolbar"/>
<ScrollView
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:fillViewport="true"

View File

@ -15,7 +15,7 @@
<LinearLayout
android:id="@+id/logged_text"
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:gravity="center_horizontal"

View File

@ -13,7 +13,7 @@
<include layout="@layout/toolbar"/>
<ScrollView
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:fillViewport="true"

View File

@ -15,7 +15,7 @@
<ScrollView
android:id="@+id/CardEditorScroll"
android:layout_width="@dimen/match_parent_or_600dp"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_gravity="center_horizontal"
android:padding="5dp" >

View File

@ -6,5 +6,4 @@
<dimen name="deck_picker_left_padding_small">12dp</dimen>
<dimen name="deck_picker_left_padding">24dp</dimen>
<dimen name="deck_picker_right_padding">12dp</dimen>
<dimen name="match_parent_or_600dp">600dp</dimen>
</resources>

View File

@ -5,9 +5,6 @@
<dimen name="keyline_1">16dp</dimen>
<dimen name="study_options_padding">8dp</dimen>
<!-- match_parent or max 600dp -->
<dimen name="match_parent_or_600dp">-1px</dimen>
<!-- Top margin for action bar subtitles -->
<dimen name="action_bar_subtitle_top_margin">-3dp</dimen>