mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-27 08:57:44 +01:00
Optimize now playing screen layouts
This commit is contained in:
parent
900e009ed6
commit
c1740b5291
@ -2,53 +2,13 @@
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="0dip"
|
||||
a:layout_weight="1"
|
||||
a:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
a:id="@+id/download_control_layout"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_alignParentRight="true" >
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/linearLayout2"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_alignParentTop="true"
|
||||
a:layout_centerHorizontal="true"
|
||||
a:orientation="vertical"
|
||||
a:paddingBottom="8dip"
|
||||
a:paddingTop="8dip" >
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/linearLayout1"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_alignParentBottom="true"
|
||||
a:layout_alignParentLeft="true"
|
||||
a:orientation="vertical"
|
||||
a:paddingBottom="8dip"
|
||||
a:paddingTop="8dip" >
|
||||
|
||||
<include layout="@layout/media_buttons" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
a:orientation="horizontal">
|
||||
|
||||
<com.thejoshwa.ultrasonic.androidapp.util.MyViewFlipper
|
||||
a:id="@+id/download_playlist_flipper"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_alignParentLeft="true"
|
||||
a:layout_toLeftOf="@+id/download_control_layout" >
|
||||
a:layout_weight="1">
|
||||
|
||||
<FrameLayout
|
||||
a:id="@+id/download_album_art_layout"
|
||||
@ -56,13 +16,14 @@
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_weight="1"
|
||||
a:gravity="left"
|
||||
a:orientation="horizontal" >
|
||||
a:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
a:id="@+id/download_album_art_image"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:scaleType="fitCenter" />
|
||||
a:scaleType="center"
|
||||
a:contentDescription="@string/albumArt"/>
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/download_visualizer_view_layout"
|
||||
@ -72,15 +33,47 @@
|
||||
a:layout_marginLeft="60dip"
|
||||
a:layout_marginRight="60dip"
|
||||
a:background="@color/translucent"
|
||||
a:orientation="vertical" />
|
||||
a:orientation="vertical"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<include layout="@layout/download_playlist" />
|
||||
<include layout="@layout/download_playlist"/>
|
||||
</com.thejoshwa.ultrasonic.androidapp.util.MyViewFlipper>
|
||||
|
||||
<RelativeLayout
|
||||
a:id="@+id/download_control_layout"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_weight="1"
|
||||
a:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="fill_parent"
|
||||
a:id="@+id/buttons"
|
||||
a:layout_above="@+id/slider">
|
||||
|
||||
<include layout="@layout/media_buttons"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="fill_parent"
|
||||
a:id="@+id/slider"
|
||||
a:layout_above="@+id/playback_text">
|
||||
|
||||
<include layout="@layout/download_slider"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_alignParentBottom="true"
|
||||
a:id="@+id/playback_text">
|
||||
|
||||
<include layout="@layout/download_button_bar_flipper"/>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<include layout="@layout/download_slider" />
|
||||
|
||||
<include layout="@layout/download_button_bar_flipper" />
|
||||
|
||||
</LinearLayout>
|
@ -21,10 +21,11 @@
|
||||
<ImageView
|
||||
a:id="@+id/download_album_art_image"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:scaleType="fitCenter"
|
||||
a:layout_height="fill_parent"
|
||||
a:scaleType="centerCrop"
|
||||
a:layout_alignParentTop="true"
|
||||
a:layout_centerInParent="true"/>
|
||||
a:layout_centerInParent="true"
|
||||
a:contentDescription="@string/albumArt"/>
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/download_visualizer_view_layout"
|
||||
@ -35,7 +36,8 @@
|
||||
a:background="@color/translucent"
|
||||
a:layout_marginLeft="80dip"
|
||||
a:layout_marginRight="80dip"
|
||||
a:orientation="vertical" />
|
||||
a:orientation="vertical"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<include layout="@layout/download_playlist" />
|
||||
|
@ -16,8 +16,7 @@
|
||||
a:gravity="center"
|
||||
a:ellipsize="end"
|
||||
a:singleLine="true"
|
||||
a:textAppearance="?android:attr/textAppearanceMedium"
|
||||
a:text="Title" />
|
||||
a:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<RelativeLayout
|
||||
a:id="@+id/download_items"
|
||||
|
@ -6,9 +6,10 @@
|
||||
a:paddingBottom="8dip"
|
||||
a:paddingTop="8dip"
|
||||
a:paddingLeft="4dip"
|
||||
a:paddingRight="4dip">
|
||||
a:paddingRight="4dip"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
<ImageView
|
||||
a:id="@+id/download_shuffle"
|
||||
a:layout_width="0dip"
|
||||
a:layout_height="wrap_content"
|
||||
|
@ -387,6 +387,7 @@
|
||||
<string name="settings.image_loader_concurrency_10">10</string>
|
||||
<string name="settings.image_loader_concurrency_11">11</string>
|
||||
<string name="settings.image_loader_concurrency_12">12</string>
|
||||
<string name="albumArt">albumArt</string>
|
||||
|
||||
<plurals name="select_album_n_songs">
|
||||
<item quantity="zero">Aucun titre</item>
|
||||
|
@ -387,6 +387,7 @@
|
||||
<string name="settings.image_loader_concurrency_10">10</string>
|
||||
<string name="settings.image_loader_concurrency_11">11</string>
|
||||
<string name="settings.image_loader_concurrency_12">12</string>
|
||||
<string name="albumArt">albumArt</string>
|
||||
|
||||
<plurals name="select_album_n_songs">
|
||||
<item quantity="zero">Nincsenek dalok</item>
|
||||
|
@ -387,6 +387,7 @@
|
||||
<string name="settings.image_loader_concurrency_10">10</string>
|
||||
<string name="settings.image_loader_concurrency_11">11</string>
|
||||
<string name="settings.image_loader_concurrency_12">12</string>
|
||||
<string name="albumArt">albumArt</string>
|
||||
|
||||
<plurals name="select_album_n_songs">
|
||||
<item quantity="zero">No songs</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user