Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一旦完成 #38

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
b7680ab
add scheduler class
taxio Jun 16, 2018
52f4ec2
Merge pull request #4 from StudioAquatan/ui_schedule
taxio Jun 16, 2018
aeb6b96
最終画面の追加
lanqiugit Jun 16, 2018
50cd82a
Merge pull request #5 from StudioAquatan/ui_finish
lanqiugit Jun 16, 2018
bc61e48
設定画面の追加とツールバーの配色
lanqiugit Jun 16, 2018
0506765
Merge pull request #6 from StudioAquatan/ui_setting
lanqiugit Jun 16, 2018
4239eca
バグ修正
lanqiugit Jun 16, 2018
13547cd
Merge pull request #7 from StudioAquatan/bug_fix
lanqiugit Jun 16, 2018
1295652
Optimization process
taxio Jun 16, 2018
6666159
アラーム停止画面と全画面の遷移を追加
lanqiugit Jun 16, 2018
ad47ed5
Merge pull request #8 from StudioAquatan/ui_alarm
lanqiugit Jun 16, 2018
9de03d7
Categorize
taxio Jun 16, 2018
9d48c9e
ListViewのアイテムxml追加
lanqiugit Jun 16, 2018
f99861b
Merge pull request #9 from StudioAquatan/listview_items
lanqiugit Jun 16, 2018
1ffb319
add mock data
taxio Jun 16, 2018
5b09151
mockデータを本番用に
taxio Jun 16, 2018
5604786
bug fix
taxio Jun 16, 2018
4d4ba59
リストでアイテムを表示・追加できるようにした
pddg Jun 16, 2018
9446663
refactor
taxio Jun 16, 2018
11617fd
bug fix
taxio Jun 16, 2018
73e4c9f
データの更新が出来るようにした
pddg Jun 16, 2018
eb8bef2
データの削除が出来るようにした
pddg Jun 16, 2018
5c0884a
Merge pull request #11 from StudioAquatan/feature/scheduler
pddg Jun 16, 2018
1ba025f
Merge pull request #10 from StudioAquatan/feature/database
taxio Jun 16, 2018
dd77f19
フェーズごとの音楽再生を追加
chez-shanpu Jun 16, 2018
6644309
マイグレーションを導入
pddg Jun 16, 2018
c7371bf
アラーム音とその再生を追加
chez-shanpu Jun 16, 2018
d5c0b78
変数名を修正
chez-shanpu Jun 16, 2018
44bfb86
スケジュールの最適化処理をrealmに対応
taxio Jun 16, 2018
ee4c6ef
Merge pull request #13 from StudioAquatan/embed-music
pddg Jun 16, 2018
e74c85c
デモで使うデータをプリセットとして登録
taxio Jun 16, 2018
dd54bf1
Merge branch 'dev' into fix/scheduler
pddg Jun 16, 2018
f1f5dbb
Merge pull request #12 from StudioAquatan/fix/scheduler
pddg Jun 16, 2018
b27f6e6
Merge pull request #14 from StudioAquatan/fix/preset_db
pddg Jun 16, 2018
a380029
Todoリストの修正
lanqiugit Jun 16, 2018
d39d6bd
Merge pull request #16 from StudioAquatan/ui_design
taxio Jun 16, 2018
134b0cc
isDeletedカラムを追加
pddg Jun 16, 2018
aa6fc43
Merge pull request #17 from StudioAquatan/feature/migration
taxio Jun 16, 2018
0aa90e5
isDeletedに対応
taxio Jun 16, 2018
b73ed03
Merge pull request #18 from StudioAquatan/fix/scheduler
pddg Jun 16, 2018
3eba87f
DBのタスクから各カテゴリの演奏時間を算出
taxio Jun 16, 2018
ee4206b
Merge pull request #19 from StudioAquatan/feature/integrate_sch_music
pddg Jun 16, 2018
f7692b1
カテゴリ表示を左側にカラーバーを表示することで実現
pddg Jun 16, 2018
deec294
Merge branch 'dev' into feature/category_design
pddg Jun 16, 2018
9a855d5
デザインの修正
lanqiugit Jun 16, 2018
053d253
Merge pull request #22 from StudioAquatan/feature/category_design
pddg Jun 16, 2018
00901e4
Merge pull request #23 from StudioAquatan/ui_design
lanqiugit Jun 16, 2018
a3400fb
マージミスを修正
pddg Jun 16, 2018
2f931a9
Merge pull request #26 from StudioAquatan/fix/import_error
taxio Jun 16, 2018
6c1b206
たぶんこれで直る
pddg Jun 16, 2018
f6456cd
アプリ起動時にカテゴライズ
taxio Jun 16, 2018
4c0832e
Merge pull request #28 from StudioAquatan/feature/pre_categorize
pddg Jun 16, 2018
e9790a5
遅刻時の時間変更決め打ち
lanqiugit Jun 16, 2018
5fc13f5
Merge pull request #27 from StudioAquatan/fix/play_error
chez-shanpu Jun 16, 2018
44d2a93
クリアの音を追加、最後に再生
chez-shanpu Jun 16, 2018
70aff6f
Merge pull request #29 from StudioAquatan/late_time
taxio Jun 16, 2018
be09acc
Merge pull request #30 from StudioAquatan/finish-se
taxio Jun 16, 2018
8b0cf8d
マージミス修正
taxio Jun 16, 2018
a0f59ad
Merge pull request #31 from StudioAquatan/fix/variable_declaration
taxio Jun 16, 2018
52de732
遅刻したときの設定とデザインの修正
lanqiugit Jun 17, 2018
94edf77
Merge pull request #32 from StudioAquatan/late_time
lanqiugit Jun 17, 2018
bc09d02
寝坊時は中盤,終盤のみのカテゴリになるように
taxio Jun 17, 2018
372af36
Merge pull request #33 from StudioAquatan/feature/overslept_category
pddg Jun 17, 2018
61bb7df
戻るを押しても音楽が鳴り続けるバグを修正
pddg Jun 17, 2018
7418fd6
デザインを修正
pddg Jun 17, 2018
b9df3d2
フラグを反転
pddg Jun 17, 2018
d80d35e
Merge pull request #34 from StudioAquatan/fix/design
taxio Jun 17, 2018
61145f2
アラームの画面でクラッシュするのを修正
pddg Jun 17, 2018
3780b4b
Merge pull request #35 from StudioAquatan/fix/crash_alert_activity
taxio Jun 17, 2018
71ac871
文言を修正
pddg Jun 17, 2018
e24637d
デザインの最終調整
lanqiugit Jun 17, 2018
168e37a
Merge pull request #37 from StudioAquatan/ui_design
pddg Jun 17, 2018
fca8a39
Merge pull request #36 from StudioAquatan/fix/language
pddg Jun 17, 2018
e7560b4
レイアウトを修正して優先度を表示するように
pddg Jun 17, 2018
babbd99
Merge pull request #39 from StudioAquatan/feature/show_priority
pddg Jun 17, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
設定画面の追加とツールバーの配色
  • Loading branch information
lanqiugit committed Jun 16, 2018
commit bc61e488976546ff25f2c8f3cf48d7147561cee8
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
</intent-filter>
</activity>
<activity android:name=".ScheduleActivity" />
<activity android:name=".FinishActivity"></activity>
<activity android:name=".FinishActivity" />
<activity android:name=".SettingActivity"></activity>
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class FinishActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_finish)
setSupportActionBar(toolbar)
setSupportActionBar(finish_toolbar)
}
}
12 changes: 12 additions & 0 deletions app/src/main/java/com/example/koshiro/rushmash/SettingActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.example.koshiro.rushmash

import android.support.v7.app.AppCompatActivity
import android.os.Bundle

class SettingActivity : AppCompatActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_setting)
}
}
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_finish.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
tools:context=".FinishActivity">

<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:id="@+id/finish_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:background="#ed7d31"
android:minHeight="?attr/actionBarSize"
android:theme="?attr/actionBarTheme"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
android:id="@+id/main_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:background="#ed7d31"
android:minHeight="?attr/actionBarSize"
android:theme="?attr/actionBarTheme"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:layout_editor_absoluteY="0dp"
tools:ignore="MissingConstraints" />
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="0dp" />
</android.support.constraint.ConstraintLayout>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_schedule.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:id="@+id/schedule_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:background="#ed7d31"
android:minHeight="?attr/actionBarSize"
android:theme="?attr/actionBarTheme"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
144 changes: 144 additions & 0 deletions app/src/main/res/layout/activity_setting.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SettingActivity">

<android.support.v7.widget.Toolbar
android:id="@+id/setting_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="#ed7d31"
android:minHeight="?attr/actionBarSize"
android:theme="?attr/actionBarTheme"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="0dp" />

<Spinner
android:id="@+id/plan_spinner"
android:layout_width="222dp"
android:layout_height="55dp"
android:layout_marginTop="64dp"
android:entries="@array/todolist"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.901"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/setting_toolbar" />

<EditText
android:id="@+id/time_editView"
android:layout_width="102dp"
android:layout_height="48dp"
android:layout_marginEnd="140dp"
android:ems="10"
android:gravity="right"
android:hint="分"
android:inputType="textPersonName"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.412" />

<TextView
android:id="@+id/todo_textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:text="やること"
android:textAppearance="@android:style/TextAppearance.Material.Large"
app:layout_constraintEnd_toStartOf="@+id/plan_spinner"
app:layout_constraintHorizontal_bias="0.32"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="136dp" />

<TextView
android:id="@+id/time_textView"
android:layout_width="63dp"
android:layout_height="33dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:text="時間"
android:textAppearance="@android:style/TextAppearance.Material.Large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/time_editView"
app:layout_constraintHorizontal_bias="0.587"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.404" />

<Spinner
android:id="@+id/priority_spinner"
android:layout_width="143dp"
android:layout_height="45dp"
android:entries="@array/prioritylist"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.605"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="285dp" />

<TextView
android:id="@+id/priority_textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:text="優先度"
android:textAppearance="@android:style/TextAppearance.Material.Large"
app:layout_constraintEnd_toStartOf="@+id/priority_spinner"
app:layout_constraintHorizontal_bias="0.468"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="294dp" />

<CheckBox
android:id="@+id/candelete_checkbox"
android:layout_width="40dp"
android:layout_height="39dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="369dp" />

<TextView
android:id="@+id/candelete_textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:text="省略可"
android:textAppearance="@android:style/TextAppearance.Material.Large"
app:layout_constraintEnd_toStartOf="@+id/candelete_checkbox"
app:layout_constraintHorizontal_bias="0.444"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteY="369dp" />

<ImageView
android:id="@+id/imageView"
android:layout_width="55dp"
android:layout_height="55dp"
android:layout_marginBottom="16dp"
android:layout_marginEnd="56dp"
android:background=""
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:srcCompat="@android:drawable/ic_menu_save"
tools:ignore="MissingConstraints" />

<ImageView
android:id="@+id/imageView2"
android:layout_width="55dp"
android:layout_height="55dp"
android:layout_marginBottom="16dp"
android:layout_marginStart="56dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:srcCompat="@android:drawable/ic_delete" />
</android.support.constraint.ConstraintLayout>
19 changes: 19 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
<resources>
<string name="app_name">RushMash</string>
<string name="action_settings">Settings</string>

<string-array name="todolist">
<item>歯磨き</item>
<item>洗顔</item>
<item>シャワー</item>
<item>朝食</item>
<item>掃除</item>
<item>洗濯</item>
<item>着替え</item>
<item>メイク</item>
<item>髪セット</item>
<item>トイレ</item>
</string-array>

<string-array name="prioritylist">
<item>高</item>
<item>中</item>
<item>低</item>
</string-array>
</resources>