created main_lite.xml to be used for the lite
This commit is contained in:
@@ -9,4 +9,4 @@
|
||||
|
||||
# Project target.
|
||||
target=android-9
|
||||
android.library=false
|
||||
android.library=true
|
||||
|
||||
@@ -40,21 +40,11 @@
|
||||
android:textStyle="bold"
|
||||
android:textSize="20dip"
|
||||
/>
|
||||
|
||||
<com.admob.android.ads.AdView
|
||||
android:id="@+id/ad"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
myapp:backgroundColor="#000000"
|
||||
myapp:primaryTextColor="#FFFFFF"
|
||||
myapp:secondaryTextColor="#CCCCCC"/>
|
||||
|
||||
<SeekBar
|
||||
android:max="100"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/ad"
|
||||
android:layout_marginBottom="40dip"
|
||||
android:layout_marginRight="20dip"
|
||||
android:layout_marginLeft="20dip"
|
||||
@@ -64,7 +54,6 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/volume"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="Volume"
|
||||
android:textColor="#000000"
|
||||
@@ -72,4 +61,4 @@
|
||||
android:textSize="20dip"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
75
SweetDreamsLib/res/layout/main_lite.xml
Normal file
75
SweetDreamsLib/res/layout/main_lite.xml
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:myapp="com.TwentyCodes.android.SweetSoundsLite"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#ffffff"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_title"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="30dip"
|
||||
android:textColor="#000000"
|
||||
android:textStyle="bold"
|
||||
android:textSize="20dip"
|
||||
/>
|
||||
|
||||
<ImageButton
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_below="@id/track_title"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/play_pause_button"
|
||||
android:background="@drawable/play_button"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time_left"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_below="@id/play_pause_button"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="10dip"
|
||||
android:textColor="#000000"
|
||||
android:textStyle="bold"
|
||||
android:textSize="20dip"
|
||||
/>
|
||||
|
||||
<com.admob.android.ads.AdView
|
||||
android:id="@+id/ad"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
myapp:backgroundColor="#000000"
|
||||
myapp:primaryTextColor="#FFFFFF"
|
||||
myapp:secondaryTextColor="#CCCCCC"/>
|
||||
|
||||
<SeekBar
|
||||
android:max="100"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/ad"
|
||||
android:layout_marginBottom="40dip"
|
||||
android:layout_marginRight="20dip"
|
||||
android:layout_marginLeft="20dip"
|
||||
android:id="@+id/volume"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/volume"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="Volume"
|
||||
android:textColor="#000000"
|
||||
android:textStyle="bold"
|
||||
android:textSize="20dip"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user