fixed issues from prevoius merge
This commit is contained in:
parent
0ba6f8b39f
commit
ba0be665ae
3 changed files with 4 additions and 9 deletions
|
@ -547,16 +547,11 @@ public class VideoDetailFragment extends BaseStateFragment<StreamInfo> implement
|
|||
|
||||
private View.OnTouchListener getOnControlsTouchListener() {
|
||||
return (View view, MotionEvent motionEvent) -> {
|
||||
view.performClick();
|
||||
if (!PreferenceManager.getDefaultSharedPreferences(activity).getBoolean(getString(R.string.show_hold_to_append_key), true)) return false;
|
||||
|
||||
if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) {
|
||||
animateView(appendControlsDetail, true, 250, 0, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
animateView(appendControlsDetail, false, 1500, 1000);
|
||||
}
|
||||
});
|
||||
animateView(appendControlsDetail, true, 250, 0, () ->
|
||||
animateView(appendControlsDetail, false, 1500, 1000));
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
|
|
@ -364,7 +364,7 @@
|
|||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:contentDescription="@string/controls_download_desg"
|
||||
android:contentDescription="@string/controls_download_desc"
|
||||
android:drawableTop="?attr/download"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="6dp"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<string name="open_in_popup_mode">Open in popup mode</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="download">Download</string>
|
||||
<string name="controls_download_desg">Download stream file.</string>
|
||||
<string name="controls_download_desc">Download stream file.</string>
|
||||
<string name="search">Search</string>
|
||||
<string name="settings">Settings</string>
|
||||
<string name="did_you_mean">Did you mean: %1$s ?</string>
|
||||
|
|
Loading…
Reference in a new issue