android.widget.TwoLineListItem Java Examples

The following examples show how to use android.widget.TwoLineListItem. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ViewStackTest.java    From Pancakes with MIT License 4 votes vote down vote up
private void assertTopViewIsCorrectType() {
    assertTrue(container.getChildAt(1) instanceof TwoLineListItem);
}
 
Example #2
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static BaseDSL.ViewClassResult twoLineListItem() {
  return BaseDSL.v(TwoLineListItem.class);
}
 
Example #3
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void twoLineListItem(Anvil.Renderable r) {
  return BaseDSL.v(TwoLineListItem.class, r);
}
 
Example #4
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static BaseDSL.ViewClassResult twoLineListItem() {
  return BaseDSL.v(TwoLineListItem.class);
}
 
Example #5
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void twoLineListItem(Anvil.Renderable r) {
  return BaseDSL.v(TwoLineListItem.class, r);
}
 
Example #6
Source File: ViewStackTest.java    From Pancakes with MIT License 3 votes vote down vote up
@Test
public void peek() {
    viewStack.push(BOTTOM_LAYOUT_RES);

    viewStack.push(TOP_LAYOUT_RES);

    View view = viewStack.peek();

    assertTrue(view instanceof TwoLineListItem);
}
 
Example #7
Source File: Edict.java    From aedict with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Prints itself to a ListView item.
 * 
 * @param e
 *            the entry to print, not null.
 * @param item
 *            the item.
 * @param romanize
 *            if non-null then katakana/hiragana will be shown as romaji
 */
public static void print(final DictEntry e, final TwoLineListItem item, final RomanizationEnum romanize) {
	print(e, item.getText1(), item.getText2(), romanize);
}