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

Some modified #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 21 additions & 3 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

147 changes: 0 additions & 147 deletions app/app.iml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
public class AddToDoActivity extends AppDefaultActivity {
@SuppressWarnings("deprecation")
@Override

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,16 +318,21 @@ public void onClick(View v) {
int day = calendar.get(Calendar.DAY_OF_MONTH);



DatePickerDialog datePickerDialog = DatePickerDialog.newInstance(AddToDoFragment.this, year, month, day);
if (theme.equals(MainFragment.DARKTHEME)) {
datePickerDialog.setThemeDark(true);
}


datePickerDialog.show(getActivity().getFragmentManager(), "DateFragment");

}
});




mTimeEditText.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
setContentView(contentViewLayoutRes());
setUpInitialFragment(savedInstanceState);


}


private void setUpInitialFragment(@Nullable Bundle savedInstanceState) {
if (savedInstanceState == null) {
getSupportFragmentManager()
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/about_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:gravity="center|top"
android:layout_height="match_parent">

<include layout="@layout/base_toolbar"/>
<include layout="@layout/base_toolbar" />

<include layout="@layout/layout_fragment_container"/>
</LinearLayout>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_todo_test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight=".5"
android:background="?attr/colorPrimary"
android:background="@color/amber"
android:gravity="center"
android:orientation="vertical">

Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/layout/fragment_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

<TextView
android:id="@+id/textView"
android:layout_width="205dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="Modified by Alaa Al-Abbas" />


</LinearLayout>
Loading