Skip to content

Commit 864a33f

Browse files
committed
refactor files
1 parent b747519 commit 864a33f

File tree

95 files changed

+5776
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+5776
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ apk downlaod from the [releases page](https://github.com/sleepchild/aupod/releas
77

88
#### screenshots
99

10-
<img src="https://github.com/sleepchild/aupod/releases/download/20220113/screen2.jpg" alt="screenshot main app" style="width:480px; height:853px;"/>
10+
<img src="https://github.com/sleepchild/aupod/blob/master/screenshot1mainapp.jpg" alt="screenshot main app" style="width:480px; height:853px;"/>
1111

12-
<img src="https://github.com/sleepchild/aupod/releases/download/20220113/sceen1.jpg" alt="screenshot full player" style="float:left; width:480; height:853px;" />
12+
<img src="https://github.com/sleepchild/aupod/blob/master/screenshot2fullplayer.jpg" alt="screenshot full player" style="float:left; width:480; height:853px;" />
1313

1414
## What's not Working
1515
Alot of things.
1616
- artist tab
1717
- album tab
1818
- playlist
19-
- alot of buttons don't even work.
20-
- no listener for Audio becoming noisy (when you plug out the headphones)
21-
- no Audio focus
22-
- And then some. Need to say this is a **very incomplete** app.
19+
- play queue
2320

2421
I will fix these one by one in due time. (I mean, we still got time don't we?)
2522

aupod/AndroidManifest.xml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="sleepchild.aupod22"
4+
android:versionCode="20220317"
5+
android:versionName="20220317">
6+
7+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
8+
<uses-permission android:name="android.permission.WAKE_LOCK"/>
9+
10+
<uses-sdk
11+
android:minSdkVersion="14"
12+
android:targetSdkVersion="21" />
13+
14+
<application
15+
android:name=".XApp"
16+
android:allowBackup="true"
17+
android:icon="@drawable/ic_launcher"
18+
android:label="@string/app_name"
19+
android:supportsRtl="true"
20+
android:theme="@style/AppTheme"
21+
android:launchMode="singleTop">
22+
<activity android:name=".activity.MainActivity"
23+
android:launchMode="singleTop">
24+
<intent-filter>
25+
<action android:name="android.intent.action.MAIN" />
26+
<category android:name="android.intent.category.LAUNCHER" />
27+
</intent-filter>
28+
</activity>
29+
<activity
30+
android:name=".activity.PlayerActivity"
31+
android:launchMode="singleTop"></activity>
32+
<activity
33+
android:name=".activity.SettingsActivity"
34+
android:launchMode="singleTop"/>
35+
<activity
36+
android:name=".activity.IntentActivity"
37+
android:theme="@style/ClearBack"
38+
android:launchMode="singleTop"
39+
android:excludeFromRecents="true">
40+
<intent-filter>
41+
<action android:name="android.intent.action.VIEW" />
42+
<category android:name="android.intent.category.DEFAULT" />
43+
<category android:name="android.intent.category.BROWSABLE" />
44+
<data android:mimeType="audio/*" />
45+
</intent-filter>
46+
</activity>
47+
<activity
48+
android:name=".activity.TagEditorActivity"
49+
android:launchMode="singleTop"></activity>
50+
51+
<service android:name=".service.AudioService"/>
52+
53+
<receiver
54+
android:name=".recievers.ButtonReciever">
55+
<intent-filter>
56+
<action android:name="android.intent.action.MEDIA_BUTTON" />
57+
</intent-filter>
58+
</receiver>
59+
</application>
60+
61+
</manifest>

aupod/libs/mp3agic-0.8.1.jar

76.8 KB
Binary file not shown.

aupod/res/drawable/fallback_cover.png

178 Bytes
Loading
187 Bytes
Loading
201 Bytes
Loading
545 Bytes
Loading
Loading

aupod/res/drawable/ic_launcher.png

2.92 KB
Loading
239 Bytes
Loading

aupod/res/drawable/ic_next.png

1.5 KB
Loading

aupod/res/drawable/ic_next_24px.png

652 Bytes
Loading

aupod/res/drawable/ic_pause.png

2.08 KB
Loading

aupod/res/drawable/ic_pause_24px.png

417 Bytes
Loading

aupod/res/drawable/ic_play.png

2.25 KB
Loading

aupod/res/drawable/ic_play_24px.png

524 Bytes
Loading

aupod/res/drawable/ic_prev.png

1.29 KB
Loading

aupod/res/drawable/ic_prev_24px.png

646 Bytes
Loading
359 Bytes
Loading
576 Bytes
Loading
325 Bytes
Loading

aupod/res/drawable/ic_settings.png

737 Bytes
Loading
691 Bytes
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
3+
<gradient
4+
android:angle="0"
5+
android:endColor="#FF6600"
6+
android:startColor="#FF6600" />
7+
8+
<corners android:radius="4dp"/>
9+
10+
11+
</shape>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
3+
<gradient
4+
android:angle="0"
5+
android:endColor="#FFFFFF"
6+
android:startColor="#FFFFFF" />
7+
<corners android:radius="4dp" />
8+
</shape>
Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<sleepchild.view.ContainerLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:layout_width="match_parent"
5+
android:layout_height="match_parent"
6+
android:background="@color/pluto">
7+
8+
<LinearLayout
9+
android:orientation="vertical"
10+
android:layout_width="match_parent"
11+
android:layout_height="match_parent">
12+
13+
<RelativeLayout
14+
android:layout_width="match_parent"
15+
android:layout_height="40dp">
16+
17+
<LinearLayout
18+
android:id="@+id/auplayer_btn_back"
19+
android:onClick="onButton"
20+
android:orientation="vertical"
21+
android:layout_width="40dp"
22+
android:layout_height="match_parent"
23+
android:gravity="center">
24+
25+
<sleepchild.view.TintedImageView
26+
android:clickable="false"
27+
android:layout_width="26dp"
28+
android:layout_height="26dp"
29+
android:background="@drawable/ic_keyboard_arrow_left_black_24dp"/>
30+
31+
</LinearLayout>
32+
33+
<LinearLayout
34+
android:id="@+id/auplayer_btn_options"
35+
android:onClick="onButton"
36+
android:orientation="vertical"
37+
android:layout_width="40dp"
38+
android:layout_height="match_parent"
39+
android:layout_alignParentRight="true"
40+
android:gravity="center">
41+
42+
<sleepchild.view.TintedImageView
43+
android:clickable="false"
44+
android:layout_width="22dp"
45+
android:layout_height="22dp"
46+
android:background="@drawable/ic_more_vert_black_24dp"/>
47+
48+
</LinearLayout>
49+
50+
</RelativeLayout>
51+
52+
<RelativeLayout
53+
android:tag="artback"
54+
android:layout_width="match_parent"
55+
android:layout_height="wrap_content"
56+
android:layout_margin="5dp"
57+
android:layout_weight="1.0">
58+
59+
<LinearLayout
60+
android:id="@+id/aupalyer_iv_art2_background"
61+
android:orientation="vertical"
62+
android:layout_width="match_parent"
63+
android:layout_height="match_parent"/>
64+
65+
<LinearLayout
66+
android:orientation="vertical"
67+
android:layout_width="match_parent"
68+
android:layout_height="match_parent"
69+
android:background="#00000000"
70+
android:alpha="0.3"/>
71+
72+
<LinearLayout
73+
android:orientation="vertical"
74+
android:layout_width="match_parent"
75+
android:layout_height="match_parent"
76+
android:id="@+id/layout3LinearLayout1">
77+
78+
<LinearLayout
79+
android:orientation="vertical"
80+
android:layout_width="match_parent"
81+
android:layout_height="wrap_content"
82+
android:layout_weight="1.0"
83+
android:padding="20dp">
84+
85+
<ImageView
86+
android:id="@+id/auplayer_iv_art"
87+
android:src="@drawable/fallback_cover"
88+
android:layout_width="match_parent"
89+
android:layout_height="match_parent"/>
90+
91+
</LinearLayout>
92+
93+
<LinearLayout
94+
android:orientation="vertical"
95+
android:layout_width="match_parent"
96+
android:layout_height="wrap_content"
97+
android:layout_margin="4dp">
98+
99+
<TextView
100+
android:id="@+id/auplayer_tv_title"
101+
android:layout_width="wrap_content"
102+
android:layout_height="wrap_content"
103+
android:text="If I Were You"
104+
android:background="@color/pluto"
105+
android:textColor="@color/text"
106+
android:textSize="20sp"
107+
android:layout_marginBottom="4dp"
108+
android:ellipsize="end"
109+
android:singleLine="true"/>
110+
111+
<TextView
112+
android:id="@+id/auplayer_tv_artist"
113+
android:layout_width="wrap_content"
114+
android:layout_height="wrap_content"
115+
android:text="Sirens"
116+
android:textColor="@color/text"
117+
android:textSize="16sp"
118+
android:background="@color/pluto"
119+
android:ellipsize="end"
120+
android:singleLine="true"/>
121+
122+
</LinearLayout>
123+
124+
</LinearLayout>
125+
126+
</RelativeLayout>
127+
128+
<LinearLayout
129+
android:orientation="vertical"
130+
android:layout_width="match_parent"
131+
android:layout_height="wrap_content"
132+
android:padding="10dp">
133+
134+
<SeekBar
135+
android:id="@+id/aupalyer_seeker"
136+
android:layout_width="match_parent"
137+
android:layout_height="18dp"/>
138+
139+
<RelativeLayout
140+
android:layout_width="match_parent"
141+
android:layout_height="wrap_content">
142+
143+
<TextView
144+
android:id="@+id/auplayer_currentpos"
145+
android:layout_width="wrap_content"
146+
android:layout_height="wrap_content"
147+
android:text="00:00"
148+
android:textColor="@color/text"
149+
android:textSize="14sp"/>
150+
151+
<TextView
152+
android:id="@+id/auplayer_duration"
153+
android:layout_width="wrap_content"
154+
android:layout_height="wrap_content"
155+
android:text="00:00"
156+
android:layout_alignParentRight="true"
157+
android:textColor="@color/text"
158+
android:textSize="14sp"/>
159+
160+
</RelativeLayout>
161+
162+
<LinearLayout
163+
android:orientation="horizontal"
164+
android:layout_width="match_parent"
165+
android:layout_height="wrap_content"
166+
android:gravity="center">
167+
168+
<LinearLayout
169+
android:id="@+id/auplayer_btn_prev"
170+
android:onClick="onButton"
171+
android:orientation="vertical"
172+
android:layout_width="wrap_content"
173+
android:layout_height="wrap_content"
174+
android:padding="15dp">
175+
176+
<sleepchild.view.TintedImageView
177+
android:clickable="false"
178+
android:layout_width="34dp"
179+
android:layout_height="34dp"
180+
android:background="@drawable/ic_prev"/>
181+
182+
</LinearLayout>
183+
184+
<sleepchild.view.TintedImageView
185+
android:id="@+id/auplayer_btn_playpause"
186+
android:onClick="onButton"
187+
android:layout_width="80dp"
188+
android:layout_height="80dp"
189+
android:background="@drawable/ic_play"
190+
android:layout_marginRight="30dp"
191+
android:layout_marginLeft="30dp"/>
192+
193+
<LinearLayout
194+
android:id="@+id/auplayer_btn_next"
195+
android:onClick="onButton"
196+
android:orientation="vertical"
197+
android:layout_width="wrap_content"
198+
android:layout_height="wrap_content"
199+
android:padding="15dp">
200+
201+
<sleepchild.view.TintedImageView
202+
android:clickable="false"
203+
android:layout_width="34dp"
204+
android:layout_height="34dp"
205+
android:background="@drawable/ic_next"/>
206+
207+
</LinearLayout>
208+
209+
</LinearLayout>
210+
211+
</LinearLayout>
212+
213+
</LinearLayout>
214+
215+
</sleepchild.view.ContainerLayout>

0 commit comments

Comments
 (0)