This commit is contained in:
tateisu 2017-10-08 11:02:01 +09:00
parent a06a7db55e
commit 62441c0f60

View File

@ -103,45 +103,45 @@ class ColumnViewHolder
} }
flColumnBackground = root.findViewById( R.id.flColumnBackground ); flColumnBackground = root.findViewById( R.id.flColumnBackground );
ivColumnBackgroundImage = (ImageView) root.findViewById( R.id.ivColumnBackgroundImage ); ivColumnBackgroundImage = root.findViewById( R.id.ivColumnBackgroundImage );
llColumnHeader = root.findViewById( R.id.llColumnHeader ); llColumnHeader = root.findViewById( R.id.llColumnHeader );
tvColumnIndex = (TextView) root.findViewById( R.id.tvColumnIndex ); tvColumnIndex = root.findViewById( R.id.tvColumnIndex );
tvColumnName = (TextView) root.findViewById( R.id.tvColumnName ); tvColumnName = root.findViewById( R.id.tvColumnName );
tvColumnContext = (TextView) root.findViewById( R.id.tvColumnContext ); tvColumnContext = root.findViewById( R.id.tvColumnContext );
ivColumnIcon = (ImageView) root.findViewById( R.id.ivColumnIcon ); ivColumnIcon = root.findViewById( R.id.ivColumnIcon );
btnColumnSetting = (ImageButton) root.findViewById( R.id.btnColumnSetting ); btnColumnSetting = root.findViewById( R.id.btnColumnSetting );
btnColumnReload = (ImageButton) root.findViewById( R.id.btnColumnReload ); btnColumnReload = root.findViewById( R.id.btnColumnReload );
btnColumnClose = (ImageButton) root.findViewById( R.id.btnColumnClose ); btnColumnClose = root.findViewById( R.id.btnColumnClose );
tvLoading = (TextView) root.findViewById( R.id.tvLoading ); tvLoading = root.findViewById( R.id.tvLoading );
listView = (MyListView) root.findViewById( R.id.listView ); listView = root.findViewById( R.id.listView );
btnSearch = root.findViewById( R.id.btnSearch ); btnSearch = root.findViewById( R.id.btnSearch );
etSearch = (EditText) root.findViewById( R.id.etSearch ); etSearch = root.findViewById( R.id.etSearch );
cbResolve = (CheckBox) root.findViewById( R.id.cbResolve ); cbResolve = root.findViewById( R.id.cbResolve );
llSearch = root.findViewById( R.id.llSearch ); llSearch = root.findViewById( R.id.llSearch );
llColumnSetting = root.findViewById( R.id.llColumnSetting ); llColumnSetting = root.findViewById( R.id.llColumnSetting );
cbDontCloseColumn = (CheckBox) root.findViewById( R.id.cbDontCloseColumn ); cbDontCloseColumn = root.findViewById( R.id.cbDontCloseColumn );
cbWithAttachment = (CheckBox) root.findViewById( R.id.cbWithAttachment ); cbWithAttachment = root.findViewById( R.id.cbWithAttachment );
cbDontShowBoost = (CheckBox) root.findViewById( R.id.cbDontShowBoost ); cbDontShowBoost = root.findViewById( R.id.cbDontShowBoost );
cbDontShowFollow = (CheckBox) root.findViewById( R.id.cbDontShowFollow ); cbDontShowFollow = root.findViewById( R.id.cbDontShowFollow );
cbDontShowFavourite = (CheckBox) root.findViewById( R.id.cbDontShowFavourite ); cbDontShowFavourite = root.findViewById( R.id.cbDontShowFavourite );
cbDontShowReply = (CheckBox) root.findViewById( R.id.cbDontShowReply ); cbDontShowReply = root.findViewById( R.id.cbDontShowReply );
cbDontStreaming = (CheckBox) root.findViewById( R.id.cbDontStreaming ); cbDontStreaming = root.findViewById( R.id.cbDontStreaming );
cbDontAutoRefresh = (CheckBox) root.findViewById( R.id.cbDontAutoRefresh ); cbDontAutoRefresh = root.findViewById( R.id.cbDontAutoRefresh );
cbHideMediaDefault = (CheckBox) root.findViewById( R.id.cbHideMediaDefault ); cbHideMediaDefault = root.findViewById( R.id.cbHideMediaDefault );
cbEnableSpeech = (CheckBox) root.findViewById( R.id.cbEnableSpeech ); cbEnableSpeech = root.findViewById( R.id.cbEnableSpeech );
etRegexFilter = (EditText) root.findViewById( R.id.etRegexFilter ); etRegexFilter = root.findViewById( R.id.etRegexFilter );
llRegexFilter = root.findViewById( R.id.llRegexFilter ); llRegexFilter = root.findViewById( R.id.llRegexFilter );
tvRegexFilterError = (TextView) root.findViewById( R.id.tvRegexFilterError ); tvRegexFilterError = root.findViewById( R.id.tvRegexFilterError );
btnDeleteNotification = (Button) root.findViewById( R.id.btnDeleteNotification ); btnDeleteNotification = root.findViewById( R.id.btnDeleteNotification );
llColumnHeader.setOnClickListener( this ); llColumnHeader.setOnClickListener( this );
btnColumnSetting.setOnClickListener( this ); btnColumnSetting.setOnClickListener( this );
@ -151,7 +151,7 @@ class ColumnViewHolder
root.findViewById( R.id.btnColor ).setOnClickListener( this ); root.findViewById( R.id.btnColor ).setOnClickListener( this );
this.swipyRefreshLayout = (SwipyRefreshLayout) root.findViewById( R.id.swipyRefreshLayout ); this.swipyRefreshLayout = root.findViewById( R.id.swipyRefreshLayout );
swipyRefreshLayout.setOnRefreshListener( this ); swipyRefreshLayout.setOnRefreshListener( this );
swipyRefreshLayout.setDistanceToTriggerSync( (int) ( 0.5f + 20f * activity.density ) ); swipyRefreshLayout.setDistanceToTriggerSync( (int) ( 0.5f + 20f * activity.density ) );