Commits

Anonymous committed 4b410b1

add few files that werw missing

Comments (0)

Files changed (7)

project.properties

 # Project target.
 target=android-19
 android.library.reference.1=../appcompat_v7
-android.library.reference.2=../../../Downloads/JakeWharton-NineOldAndroids-9f20fd7/library

res/layout-v11/song_dialog_popup.xml

+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:gravity="center"
+    android:orientation="vertical"
+    android:paddingBottom="@dimen/activity_vertical_margin"
+    android:paddingLeft="@dimen/activity_horizontal_margin"
+    android:paddingRight="@dimen/activity_horizontal_margin"
+    android:paddingTop="@dimen/activity_vertical_margin" >
+
+    <LinearLayout
+        android:id="@+id/linearLayout1"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginLeft="5dp"
+        android:background="@drawable/rectangle_border_2"
+        android:orientation="horizontal" >
+
+        <ImageView
+            android:id="@+id/alert_dialog_heading_icon"
+            android:layout_width="50dp"
+            android:layout_height="50dp"
+            android:layout_gravity="center_vertical"
+            android:layout_margin="2dp"
+            android:background="@drawable/dummy_album_art"
+            android:contentDescription="@string/image_content_desc"
+            android:gravity="center_vertical"
+            android:scaleType="centerCrop" />
+
+        <com.w4rlock.backpapermusic.views.TextViewPlus
+            android:id="@+id/alert_dialog_heading"
+            android:layout_width="match_parent"
+            android:layout_height="50dp"
+            android:layout_gravity="center_vertical"
+            android:layout_marginLeft="10dp"
+            android:gravity="center_vertical"
+            android:textSize="20sp" />
+    </LinearLayout>
+
+    <ListView
+        android:id="@+id/alert_dialog_list"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_above="@+id/alert_dialog_cancel_ll"
+        android:layout_alignParentLeft="true"
+        android:layout_below="@+id/linearLayout1"
+        android:choiceMode="singleChoice"
+        android:dividerHeight="0dp" >
+    </ListView>
+
+    <LinearLayout
+        android:id="@+id/alert_dialog_cancel_ll"
+        android:layout_width="match_parent"
+        android:layout_height="50dp"
+        android:layout_alignParentBottom="true"
+        android:layout_alignParentLeft="true"
+        android:gravity="center_vertical|center_horizontal"
+        android:orientation="horizontal" >
+
+        <com.w4rlock.backpapermusic.views.ButtonPlus
+            android:id="@+id/alert_dialog_cancel"
+            style="@style/Widget.AppCompat.ActionButton"
+            android:layout_width="0dp"
+            android:layout_height="50dp"
+            android:layout_weight="1"
+            android:text="@string/cancel"
+            android:textSize="20sp" />
+
+        <com.w4rlock.backpapermusic.views.ButtonPlus
+            android:id="@+id/alert_dialog_add"
+            style="@style/Widget.AppCompat.ActionButton"
+            android:layout_width="0dp"
+            android:layout_height="50dp"
+            android:layout_weight="1"
+            android:text="@string/add"
+            android:textSize="20sp" />
+    </LinearLayout>
+
+</RelativeLayout>

res/layout/each_album.xml

     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:orientation="horizontal" >
-    
+
     <ImageView
         android:id="@+id/album_icon"
         android:layout_width="50dp"
         android:layout_marginLeft="25dp"
         android:scaleType="centerCrop" />
 
-	<com.w4rlock.backpapermusic.views.TextViewPlus
-	    android:id="@+id/album_label"
-	    android:layout_width="match_parent"
-	    android:layout_height="match_parent"
-	    android:paddingLeft="15dp"
-	    android:textStyle="bold"
-	    android:singleLine="true"
-	    android:layout_gravity="center_vertical"
-	    android:gravity="center_vertical" />
+    <com.w4rlock.backpapermusic.views.TextViewPlus
+        android:id="@+id/album_label"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:layout_gravity="center_vertical"
+        android:gravity="center_vertical"
+        android:paddingLeft="15dp"
+        android:singleLine="true"
+        android:textStyle="bold" />
 
-</LinearLayout>
+</LinearLayout>

res/layout/grid_view_each_album.xml

+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:orientation="vertical" >
+
+    <ImageView
+        android:id="@+id/album_icon"
+        android:layout_width="100dp"
+        android:layout_height="100dp"
+        android:scaleType="centerCrop" />
+
+    <com.w4rlock.backpapermusic.views.TextViewPlus
+        android:id="@+id/album_label"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:layout_gravity="center_vertical"
+        android:gravity="center_vertical"
+        android:singleLine="true"
+        android:textStyle="bold" />
+
+</LinearLayout>

res/layout/playlist_each_song.xml

+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:orientation="horizontal" >
+
+    <ImageView
+        android:id="@+id/song_icon"
+        android:layout_width="50dp"
+        android:layout_height="50dp"
+        android:layout_marginLeft="25dp"
+        android:scaleType="centerCrop" />
+
+    <com.w4rlock.backpapermusic.views.TextViewPlus
+        android:id="@+id/song_label"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:layout_gravity="center_vertical"
+        android:gravity="center_vertical"
+        android:paddingLeft="15dp"
+        android:singleLine="true"
+        android:textStyle="bold" />
+
+</LinearLayout>

res/layout/song_dialog_popup.xml

     android:layout_height="match_parent"
     android:gravity="center"
     android:orientation="vertical"
+    android:background="@color/WhiteSmoke"
     android:paddingBottom="@dimen/activity_vertical_margin"
     android:paddingLeft="@dimen/activity_horizontal_margin"
     android:paddingRight="@dimen/activity_horizontal_margin"
 
         <com.w4rlock.backpapermusic.views.TextViewPlus
             android:id="@+id/alert_dialog_heading"
+            android:textColor="@color/Black"
             android:layout_width="match_parent"
             android:layout_height="50dp"
             android:layout_gravity="center_vertical"
         android:layout_alignParentLeft="true"
         android:layout_below="@+id/linearLayout1"
         android:choiceMode="singleChoice"
-        android:dividerHeight="0dp" >
+        android:divider="#FFDDDDDD"
+        android:dividerHeight="1dp" >
     </ListView>
 
     <LinearLayout
         android:layout_alignParentBottom="true"
         android:layout_alignParentLeft="true"
         android:gravity="center_vertical|center_horizontal"
+        android:background="@drawable/rectangle_border_2"
         android:orientation="horizontal" >
 
         <com.w4rlock.backpapermusic.views.ButtonPlus

res/values/styles.xml

         <!-- All customizations that are NOT specific to a particular API-level can go here. -->
     </style>
 
-</resources>
+    <style name="MyAppCompatDialogTheme" parent="AppBaseTheme">
+        <item name="android:windowIsFloating">false</item>
+        <item name="android:windowContentOverlay">@null</item>
+        <item name="android:windowSoftInputMode">stateAlwaysHidden</item>
+        <item name="android:windowIsTranslucent">true</item>
+    </style>
+
+</resources>