Commit 0055418a authored by Sébastien Toque's avatar Sébastien Toque

reindent with spaces only

parent 2f5bb8fc
......@@ -4,8 +4,7 @@
android:versionName="0.0-alpha"
package="org.videolan.vlc.android"
android:installLocation="auto">
<uses-sdk
android:minSdkVersion="8" />
<uses-sdk android:minSdkVersion="8" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name">
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#77000000"/>
<corners android:radius="3dip"/>
<solid android:color="#77000000" />
<corners android:radius="3dip" />
</shape>
......@@ -7,5 +7,5 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/about_text"/>
android:text="@string/about_text" />
</LinearLayout>
......@@ -10,12 +10,12 @@
android:fadingEdge="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_with_shadow" >
android:background="@drawable/bg_with_shadow">
<LinearLayout
android:id="@+id/header_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:orientation="horizontal">
<TextView
android:text="@string/songs"
android:textSize="16dip"
......@@ -31,7 +31,7 @@
android:id="@+id/artists"
android:layout_width="80dip"
android:layout_height="wrap_content"
android:gravity="center_horizontal"/>
android:gravity="center_horizontal" />
<TextView
android:text="@string/albums"
android:textSize="16dip"
......@@ -39,7 +39,7 @@
android:id="@+id/albums"
android:layout_width="80dip"
android:layout_height="wrap_content"
android:gravity="center_horizontal"/>
android:gravity="center_horizontal" />
<TextView
android:text="@string/genres"
android:textSize="16dip"
......@@ -55,17 +55,17 @@
android:id="@+id/playlists"
android:layout_width="80dip"
android:layout_height="wrap_content"
android:gravity="center_horizontal"/>
android:gravity="center_horizontal" />
</LinearLayout>
</HorizontalScrollView>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="#f0f0f0"/>
android:background="#f0f0f0" />
<org.videolan.vlc.android.widget.FlingViewGroup
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent">
<ListView
android:id="@+id/songs_list"
android:layout_width="match_parent"
......
......@@ -9,12 +9,12 @@
android:layout_width="match_parent"
android:layout_height="48dip"
android:orientation="horizontal"
android:background="@drawable/header" >
android:background="@drawable/header">
<ImageView
android:src="@drawable/header_logo"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="centerInside"/>
android:scaleType="centerInside" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
......@@ -27,7 +27,7 @@
android:background="#ffffff"
android:layout_marginLeft="15dip"
android:layout_marginTop="15dip"
android:id="@+id/cover"/>
android:id="@+id/cover" />
<LinearLayout
android:layout_width="90dip"
android:layout_height="match_parent"
......@@ -43,7 +43,7 @@
android:layout_width="60dip"
android:layout_marginBottom="10dip"
android:id="@+id/shuffle"
android:onClick="onShuffleClick"/>
android:onClick="onShuffleClick" />
<ImageButton
android:src="@drawable/ic_repeat"
android:background="#00000000"
......@@ -52,7 +52,7 @@
android:layout_height="60dip"
android:layout_width="60dip"
android:id="@+id/repeat"
android:onClick="onRepeatClick"/>
android:onClick="onRepeatClick" />
</LinearLayout>
</LinearLayout>
<LinearLayout
......@@ -69,7 +69,7 @@
android:textSize="18dip"
android:text="@string/time_0"
android:textColor="#ffffff"
android:id="@+id/time"/>
android:id="@+id/time" />
<TextView
android:layout_width="0dip"
android:layout_height="wrap_content"
......@@ -78,7 +78,7 @@
android:text="@string/time_0"
android:gravity="right"
android:textColor="#ffffff"
android:id="@+id/length"/>
android:id="@+id/length" />
</LinearLayout>
<SeekBar
android:layout_width="match_parent"
......@@ -91,7 +91,7 @@
android:paddingBottom="10dip"
android:paddingLeft="15dip"
android:paddingRight="15dip"
android:id="@+id/timeline"/>
android:id="@+id/timeline" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -103,7 +103,7 @@
android:singleLine="true"
android:ellipsize="marquee"
android:layout_marginBottom="4dip"
android:id="@+id/title"/>
android:id="@+id/title" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -115,7 +115,7 @@
android:singleLine="true"
android:ellipsize="marquee"
android:layout_marginBottom="4dip"
android:id="@+id/artist"/>
android:id="@+id/artist" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -126,7 +126,7 @@
android:paddingRight="20dip"
android:singleLine="true"
android:ellipsize="marquee"
android:id="@+id/album"/>
android:id="@+id/album" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -138,7 +138,7 @@
android:layout_height="70dip"
android:layout_width="70dip"
android:id="@+id/previous"
android:onClick="onPreviousClick"/>
android:onClick="onPreviousClick" />
<ImageButton
android:background="@drawable/ic_pause"
android:layout_width="70dip"
......@@ -146,16 +146,13 @@
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"
android:id="@+id/play_pause"
android:onClick="onPlayPauseClick"/>
android:onClick="onPlayPauseClick" />
<ImageButton
android:background="@drawable/ic_forward"
android:layout_height="70dip"
android:layout_width="70dip"
android:id="@+id/next"
android:onClick="onNextClick"/>
android:onClick="onNextClick" />
</LinearLayout>
</LinearLayout>
......@@ -12,7 +12,7 @@
android:minHeight="2dip"
android:maxHeight="2dip"
android:progressDrawable="@drawable/po_seekbar"
android:thumb="@drawable/spacer"/>
android:thumb="@drawable/spacer" />
<LinearLayout
android:id="@+id/mini_player"
android:layout_width="match_parent"
......@@ -24,7 +24,7 @@
android:layout_width="50dip"
android:layout_height="50dip"
android:layout_marginLeft="10dip"
android:visibility="gone"/>
android:visibility="gone" />
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="0px"
......@@ -38,7 +38,7 @@
android:text="@string/title"
android:textSize="20dip"
android:textColor="#ffffff"
android:singleLine="true"/>
android:singleLine="true" />
<TextView
android:id="@+id/artist"
android:layout_width="wrap_content"
......@@ -46,7 +46,7 @@
android:text="@string/artist"
android:textSize="16dip"
android:textColor="#888888"
android:singleLine="true"/>
android:singleLine="true" />
</LinearLayout>
<ImageButton
android:id="@+id/play_pause"
......@@ -56,6 +56,6 @@
android:layout_width="60dip"
android:layout_height="60dip"
android:padding="10dip"
android:layout_marginRight="10dip"/>
android:layout_marginRight="10dip" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......@@ -10,7 +10,7 @@
android:id="@+id/browser_item_selected"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="false"/>
android:focusable="false" />
<TextView
android:id="@+id/browser_item_dir"
android:textSize="20dip"
......@@ -18,5 +18,5 @@
android:layout_height="wrap_content"
android:text="@string/directory"
android:paddingLeft="10dip"
android:singleLine="true"/>
android:singleLine="true" />
</LinearLayout>
......@@ -17,23 +17,23 @@
android:layout_height="32dip"
android:scaleType="centerInside"
android:src="@drawable/icon"
android:layout_marginRight="5dip"/>
android:layout_marginRight="5dip" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/info_title"/>
android:text="@string/info_title" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/beta_warning"
android:padding="10dip"/>
android:padding="10dip" />
<View
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"/>
android:layout_weight="1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -44,14 +44,14 @@
android:id="@+id/not_show_again"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="4dip"/>
android:layout_marginRight="4dip" />
<TextView
android:id="@+id/hide"
android:singleLine="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/not_show_again"/>
android:text="@string/not_show_again" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
......@@ -64,6 +64,6 @@
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:text="@android:string/ok"/>
android:text="@android:string/ok" />
</LinearLayout>
</LinearLayout>
......@@ -11,9 +11,9 @@
android:layout_width="match_parent"
android:layout_marginLeft="18dip"
android:textSize="16dip"
android:textColor="#ffffff"/>
android:textColor="#ffffff" />
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="#f0f0f0"/>
android:background="#f0f0f0" />
</LinearLayout>
\ No newline at end of file
......@@ -8,22 +8,22 @@
android:layout_width="match_parent"
android:layout_height="48dip"
android:orientation="horizontal"
android:background="@drawable/header" >
android:background="@drawable/header">
<ImageView
android:src="@drawable/header_logo"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="centerInside"/>
android:scaleType="centerInside" />
<View
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"/>
android:layout_weight="1" />
<ProgressBar
android:id="@+id/ml_progress_bar"
android:layout_width="22dip"
android:layout_height="22dip"
android:layout_margin="13dip"
android:visibility="invisible"/>
android:visibility="invisible" />
<ImageButton
android:id="@+id/change_tab"
android:background="@drawable/header_button"
......@@ -32,7 +32,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="10dip"
android:onClick="changeTabClick"/>
android:onClick="changeTabClick" />
<ImageButton
android:layout_width="48dip"
android:layout_height="48dip"
......@@ -40,13 +40,13 @@
android:src="@drawable/header_icon_loupe"
android:scaleType="fitXY"
android:padding="10dip"
android:onClick="searchClick"/>
android:onClick="searchClick" />
</LinearLayout>
<TextView
android:id="@+id/text_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"/>
android:visibility="gone" />
<TabHost
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
......@@ -60,16 +60,16 @@
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="gone"/>
android:visibility="gone" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
android:layout_height="fill_parent" />
</LinearLayout>
</TabHost>
<org.videolan.vlc.android.widget.AudioMiniPlayer
android:id="@+id/audio_mini_player"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:visibility="gone"/>
android:visibility="gone" />
</LinearLayout>
......@@ -16,7 +16,7 @@
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?android:attr/progressBarStyleLarge"/>
style="?android:attr/progressBarStyleLarge" />
</LinearLayout>
<ImageView
......@@ -24,7 +24,7 @@
android:layout_height="210dip"
android:id="@+id/image"
android:scaleType="centerCrop"
android:visibility="invisible"/>
android:visibility="invisible" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -40,53 +40,51 @@
android:textAppearance="?android:attr/textAppearanceLarge"
android:id="@+id/title"
android:singleLine="true"
android:layout_marginLeft="10dip"/>
android:layout_marginLeft="10dip" />
<TextView
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:gravity="right"
android:id="@+id/length"
android:layout_marginRight="10dip"
android:textAppearance="?android:attr/textAppearanceMedium"/>
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginTop="10dip"
android:layout_marginLeft="5dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/stream_0"/>
android:text="@string/stream_0" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginLeft="20dip"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginTop="10dip"
android:layout_marginLeft="5dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/stream_1"/>
android:text="@string/stream_1" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginLeft="20dip"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginTop="10dip"
android:layout_marginLeft="5dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/stream_2"/>
android:text="@string/stream_2" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginLeft="20dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_marginBottom="30dip"/>
android:layout_marginBottom="30dip" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
......
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
......@@ -7,7 +8,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:id="@+id/player_surface"/>
android:id="@+id/player_surface" />
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
......@@ -21,11 +22,11 @@
android:textSize="42dip"
android:visibility="invisible"
android:textColor="#ffffff"
android:gravity="center"/>
android:gravity="center" />
<View
android:layout_width="wrap_content"
android:layout_height="0dip"
android:layout_weight="1"/>
android:layout_weight="1" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
......@@ -15,7 +16,7 @@
android:textSize="15dip"
android:text="@string/time_0"
android:textColor="#ffffff"
android:paddingLeft="10dip"/>
android:paddingLeft="10dip" />
<TextView
android:id="@+id/player_overlay_length"
android:layout_width="0dip"
......@@ -25,7 +26,7 @@
android:text="@string/time_0"
android:gravity="right"
android:textColor="#ffffff"
android:paddingRight="10dip"/>
android:paddingRight="10dip" />
</LinearLayout>
<SeekBar
android:layout_width="match_parent"
......@@ -38,7 +39,7 @@
android:paddingTop="5dip"
android:paddingBottom="5dip"
android:paddingLeft="10dip"
android:paddingRight="10dip"/>
android:paddingRight="10dip" />
<LinearLayout
android:orientation="horizontal"
android:layout_height="wrap_content"
......@@ -48,7 +49,7 @@
android:background="@drawable/ic_size"
android:layout_height="50dip"
android:layout_width="50dip"
android:paddingRight="10dip"/>
android:paddingRight="10dip" />
<LinearLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
......@@ -58,13 +59,13 @@
android:id="@+id/player_overlay_play"
android:background="@drawable/ic_pause"
android:layout_width="50dip"
android:layout_height="50dip"/>
android:layout_height="50dip" />
</LinearLayout>
<ImageButton
android:id="@+id/player_overlay_lock"
android:background="@drawable/ic_lock"
android:layout_height="50dip"
android:layout_width="50dip"
android:paddingRight="10dip"/>
android:paddingRight="10dip" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......@@ -28,11 +28,11 @@
android:layout_height="42dp"
android:hint="@string/searchable_hint"
android:inputType="textNoSuggestions"
android:imeOptions="actionSearch"/>
android:imeOptions="actionSearch" />
</LinearLayout>
<ListView
android:id="@id/android:list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fastScrollEnabled="true"/>
android:fastScrollEnabled="true" />
</LinearLayout>
......@@ -7,7 +7,7 @@
android:id="@id/android:list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fastScrollEnabled="true"/>
android:fastScrollEnabled="true" />
<FrameLayout
android:id="@id/android:empty"
android:layout_width="match_parent"
......@@ -20,12 +20,12 @@
<ProgressBar
android:layout_width="20dip"
android:layout_height="20dip"
android:layout_margin="11dip"/>
android:layout_margin="11dip" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/loading"
android:textSize="20dip"/>
android:textSize="20dip" />
</LinearLayout>
<LinearLayout
android:id="@+id/video_list_empty_nofile"
......@@ -37,7 +37,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nomedia"
android:textSize="20dip"/>
android:textSize="20dip" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
......@@ -7,12 +7,12 @@
android:gravity="center_vertical">
<FrameLayout
android:layout_width="90dip"
android:layout_height="70dip" >
android:layout_height="70dip">
<ImageView
android:id="@+id/ml_item_thumbnail"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="centerCrop"/>
android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
......@@ -36,7 +36,7 @@
android:maxLines="2"
android:textSize="17dip"
android:textColor="@color/video_list_title"