aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/ui/sidepanel/CheckBoxItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/tv/ui/sidepanel/CheckBoxItem.java')
-rw-r--r--src/com/android/tv/ui/sidepanel/CheckBoxItem.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/android/tv/ui/sidepanel/CheckBoxItem.java b/src/com/android/tv/ui/sidepanel/CheckBoxItem.java
index 79c2b0a7..ef828945 100644
--- a/src/com/android/tv/ui/sidepanel/CheckBoxItem.java
+++ b/src/com/android/tv/ui/sidepanel/CheckBoxItem.java
@@ -22,7 +22,6 @@ import android.view.View;
import android.widget.CompoundButton;
import android.widget.LinearLayout;
import android.widget.TextView;
-
import com.android.tv.R;
public class CheckBoxItem extends CompoundButtonItem {
@@ -46,16 +45,17 @@ public class CheckBoxItem extends CompoundButtonItem {
super.onBind(view);
if (mLayoutForLargeDescription) {
CompoundButton checkBox = (CompoundButton) view.findViewById(getCompoundButtonId());
- LinearLayout.LayoutParams lp =
- (LinearLayout.LayoutParams) checkBox.getLayoutParams();
+ LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) checkBox.getLayoutParams();
lp.gravity = Gravity.TOP | Gravity.CENTER_HORIZONTAL;
- lp.topMargin = view.getResources().getDimensionPixelOffset(
- R.dimen.option_item_check_box_margin_top);
+ lp.topMargin =
+ view.getResources()
+ .getDimensionPixelOffset(R.dimen.option_item_check_box_margin_top);
checkBox.setLayoutParams(lp);
TypedValue outValue = new TypedValue();
- view.getResources().getValue(R.dimen.option_item_check_box_line_spacing_multiplier,
- outValue, true);
+ view.getResources()
+ .getValue(
+ R.dimen.option_item_check_box_line_spacing_multiplier, outValue, true);
TextView descriptionTextView = (TextView) view.findViewById(getDescriptionViewId());
descriptionTextView.setMaxLines(Integer.MAX_VALUE);
@@ -77,4 +77,4 @@ public class CheckBoxItem extends CompoundButtonItem {
protected void onSelected() {
setChecked(!isChecked());
}
-} \ No newline at end of file
+}