Skip to content

Commit

Permalink
Change how the log play date click is wired up. Hopefully this will f…
Browse files Browse the repository at this point in the history
…ix the problem where it does nothing for some people.
  • Loading branch information
ccomeaux committed Apr 17, 2015
1 parent 571e47b commit f738e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ public void onClick(DialogInterface dialog, int which) {
}

@DebugLog
@OnClick(R.id.log_play_date)
public void onDateClick(View v) {
if (mDatePickerFragment == null) {
mDatePickerFragment = new DatePickerDialogFragment();
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/header_logplay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@

<TextView
android:id="@+id/log_play_date"
android:clickable="true"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/selectableItemBackground"
android:gravity="left|center_vertical"
android:onClick="onDateClick"
android:textAppearance="@style/Text.Big"
tools:text="January 1, 1970"/>
</LinearLayout>
Expand Down

0 comments on commit f738e26

Please sign in to comment.