TrackListActivity: fixed landscape layout.

This commit is contained in:
Dennis Guse
2019-12-11 23:03:49 +01:00
parent 36fcb44af5
commit 1094827fac
2 changed files with 65 additions and 60 deletions
+1 -3
View File
@@ -83,9 +83,7 @@ limitations under the License.
<activity android:name=".TrackEditActivity" /> <activity android:name=".TrackEditActivity" />
<activity <activity android:name=".TrackListActivity">
android:name=".TrackListActivity"
android:screenOrientation="userPortrait">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
+8 -1
View File
@@ -17,10 +17,16 @@ limitations under the License.
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:baselineAligned="false" android:baselineAligned="false"
android:orientation="horizontal"> android:orientation="vertical">
<include layout="@layout/toolbar" /> <include layout="@layout/toolbar" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:baselineAligned="false"
android:orientation="horizontal">
<include layout="@layout/track_controller" /> <include layout="@layout/track_controller" />
<ListView <ListView
@@ -94,3 +100,4 @@ limitations under the License.
</LinearLayout> </LinearLayout>
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>
</LinearLayout>