Loading core/java/com/tmobile/widget/ListItemHeaderTwinLabelSecondaryText.java +0 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ public class ListItemHeaderTwinLabelSecondaryText extends LinearLayout { private TextView mItemText; private TextView mItem2Text; public ListItemHeaderTwinLabelSecondaryText(Context context) { this(context, null); } Loading core/java/com/tmobile/widget/ListItemTwinLabelSecondaryText.java +9 −3 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ public class ListItemTwinLabelSecondaryText extends LinearLayout { private TextView mItemText; private TextView mItem2Text; public ListItemTwinLabelSecondaryText(Context context) { this(context, null); } Loading @@ -34,8 +33,10 @@ public class ListItemTwinLabelSecondaryText extends LinearLayout { mItemLabel = (TextView)findViewById(R.id.itemLabelText); String text = a.getString(R.styleable.ListItemLayout_itemLabelText); if (text != null) { if (text != null && !"".equals(text)) { mItemLabel.setText(text); } else { mItemLabel.setVisibility(GONE); } mItemText = (TextView)findViewById(R.id.itemText); Loading Loading @@ -64,7 +65,12 @@ public class ListItemTwinLabelSecondaryText extends LinearLayout { } public void setItemLabelText(CharSequence text) { if(text != null && !"".equals(text)) { mItemLabel.setText(text); mItemLabel.setVisibility(VISIBLE); } else { mItemLabel.setVisibility(GONE); } } public CharSequence getItemText() { Loading core/res/res/layout/tmobile_list_item_twin_label_secondary_text.xml +4 −4 Original line number Diff line number Diff line Loading @@ -14,14 +14,14 @@ android:gravity="center|left" android:layout_weight="1.0" android:paddingRight="10dp" android:id="@+id/itemLabelText" /> android:id="@+id/itemText" /> <TextView android:layout_width="85dp" android:layout_height="wrap_content" android:gravity="center|right" android:textAppearance="?android:attr/textAppearanceLabelListItemText" android:singleLine="true" android:id="@+id/itemText" /> android:id="@+id/itemLabelText" /> </LinearLayout> <LinearLayout Loading @@ -36,13 +36,13 @@ android:gravity="center|left" android:layout_weight="1.0" android:paddingRight="10dp" android:id="@+id/itemLabel2Text" /> android:id="@+id/item2Text" /> <TextView android:layout_width="85dp" android:layout_height="wrap_content" android:gravity="center|right" android:textAppearance="?android:attr/textAppearanceLabelListItemText" android:singleLine="true" android:id="@+id/item2Text" /> android:id="@+id/itemLabel2Text" /> </LinearLayout> </merge> Loading
core/java/com/tmobile/widget/ListItemHeaderTwinLabelSecondaryText.java +0 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ public class ListItemHeaderTwinLabelSecondaryText extends LinearLayout { private TextView mItemText; private TextView mItem2Text; public ListItemHeaderTwinLabelSecondaryText(Context context) { this(context, null); } Loading
core/java/com/tmobile/widget/ListItemTwinLabelSecondaryText.java +9 −3 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ public class ListItemTwinLabelSecondaryText extends LinearLayout { private TextView mItemText; private TextView mItem2Text; public ListItemTwinLabelSecondaryText(Context context) { this(context, null); } Loading @@ -34,8 +33,10 @@ public class ListItemTwinLabelSecondaryText extends LinearLayout { mItemLabel = (TextView)findViewById(R.id.itemLabelText); String text = a.getString(R.styleable.ListItemLayout_itemLabelText); if (text != null) { if (text != null && !"".equals(text)) { mItemLabel.setText(text); } else { mItemLabel.setVisibility(GONE); } mItemText = (TextView)findViewById(R.id.itemText); Loading Loading @@ -64,7 +65,12 @@ public class ListItemTwinLabelSecondaryText extends LinearLayout { } public void setItemLabelText(CharSequence text) { if(text != null && !"".equals(text)) { mItemLabel.setText(text); mItemLabel.setVisibility(VISIBLE); } else { mItemLabel.setVisibility(GONE); } } public CharSequence getItemText() { Loading
core/res/res/layout/tmobile_list_item_twin_label_secondary_text.xml +4 −4 Original line number Diff line number Diff line Loading @@ -14,14 +14,14 @@ android:gravity="center|left" android:layout_weight="1.0" android:paddingRight="10dp" android:id="@+id/itemLabelText" /> android:id="@+id/itemText" /> <TextView android:layout_width="85dp" android:layout_height="wrap_content" android:gravity="center|right" android:textAppearance="?android:attr/textAppearanceLabelListItemText" android:singleLine="true" android:id="@+id/itemText" /> android:id="@+id/itemLabelText" /> </LinearLayout> <LinearLayout Loading @@ -36,13 +36,13 @@ android:gravity="center|left" android:layout_weight="1.0" android:paddingRight="10dp" android:id="@+id/itemLabel2Text" /> android:id="@+id/item2Text" /> <TextView android:layout_width="85dp" android:layout_height="wrap_content" android:gravity="center|right" android:textAppearance="?android:attr/textAppearanceLabelListItemText" android:singleLine="true" android:id="@+id/item2Text" /> android:id="@+id/itemLabel2Text" /> </LinearLayout> </merge>